[TYPO3] CoolURI and ve_guestbook
Matthias Gottschalk
matthias at gottschalks.eu
Tue Feb 19 21:35:23 CET 2008
Jan Bednarik schrieb:
> > But Could you please help me by the Problem?
>
> Next time - it's CoolUri not Cool URI ;) The difference is, that I've
> got filter in Thunderbird, that shows me all messages with CoolURI in
> subject, but not Cool URI. That's why I couldn't replay.
>
> I suppose, that page number is preserved in URLs, then the problem is
> with caching. There's a section in the manual about it. The situation
> here is the same as with tt_news.
>
> You can
>
> 1) set ve_guestbook as USER_INT
> 2) move cHash from predefinedparts to uriparts
> 3) disable caching on the whole page
>
> Regards
>
>
Hello Jan,
thank you for your anwser!
I had this Problem with Cal Ext. too, Frank Hütter give`s me his XML
File with integration in CoolURI ;-) !
I´m not a specialist with XML an a Newbie of Typo3, I am a Programmer
for C# an C++! :'(
Can you Help me or others with the changes in my XML File?
Then i `will post this File for all other Users!
That would be great !!!
Have You Questions about C you can contact me!
Thank You
Matthias
<?xml version="1.0" encoding="utf-8"?>
<cooluri>
<cooluris>1</cooluris>
<cache>
<usecache>1</usecache>
<params2cool>
<checkforchangeevery>0</checkforchangeevery>
</params2cool>
<cool2params>
<translateifnotfound>0</translateifnotfound>
<oldlinksvalidfor>365</oldlinksvalidfor>
</cool2params>
<cacheparams>0</cacheparams>
<pagenotfound>
<status>HTTP/1.0 404 Not Found</status>
<behavior type="message"><![CDATA[ <h1>Page not found!</h1>
]]></behavior>
</pagenotfound>
</cache>
<pagepath>
<table>pages</table>
<id>uid</id>
<title>alias,subtitle,title</title>
<connection>pid</connection>
<additionalWhere><![CDATA[ AND is_siteroot<>1 ]]></additionalWhere>
<start>
<param>pid</param>
<value>0</value>
</start>
<idconstraint>
<match>^[0-9]+$</match>
</idconstraint>
<saveto>id</saveto>
<default>0</default>
<allparamconstraints> <!-- constraint -->
<type>int</type>
<compare>gt</compare>
<value>0</value>
</allparamconstraints>
<userfunc>tx_cooluri->getPageTitle</userfunc>
</pagepath>
<uriparts>
<part>
<parameter>tx_ttnews[tt_news]</parameter>
<lookindb>
<to>SELECT title FROM tt_news WHERE uid=$1</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<urlize>1</urlize>
</lookindb>
</part>
<part>
<parameter>tx_eeblog[showUid]</parameter>
<lookindb>
<to>SELECT subject FROM tx_eeblog_maintable WHERE uid=$1</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<urlize>1</urlize>
</lookindb>
</part>
<part>
<parameter>tx_cal_controller[category]</parameter>
<lookindb>
<to>SELECT title FROM tx_cal_category WHERE uid=$1</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<urlize>1</urlize>
</lookindb>
</part>
<part>
<parameter>tx_cal_controller[uid]</parameter>
<lookindb>
<to>SELECT title FROM tx_cal_event WHERE uid=$1</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<urlize>1</urlize>
</lookindb>
</part>
<part>
<parameter>tx_cal_controller[view]</parameter>
</part>
<part>
<parameter>tx_cal_controller[getdate]</parameter>
</part>
<part>
<parameter>tx_cal_controller[lastview]</parameter>
</part>
<part>
<parameter>tx_cal_controller[type]</parameter>
</part>
<part>
<parameter>tx_cal_controller[gettime]</parameter>
</part>
<part>
<parameter>tx_cal_controller[preview]</parameter>
</part>
<part>
<parameter>tx_cal_controller[page_id]</parameter>
</part>
</uriparts>
<predefinedparts>
<part>
<parameter>tx_ttnews[backPid]</parameter>
</part>
<part>
<parameter>cHash</parameter>
</part>
<part>
<parameter>tx_eeblog[pointer]</parameter>
</part>
<part>
<parameter>tx_eeblog[backPID]</parameter>
</part>
<part>
<parameter>no_cache</parameter>
</part>
</predefinedparts>
<valuemaps>
<valuemap>
<parameter>L</parameter>
<value key="">0</value>
<value key="en">1</value>
</valuemap>
</valuemaps>
<paramorder>
<param>L</param>
</paramorder>
</cooluri>
More information about the TYPO3-english
mailing list