[TYPO3] CoolUri Configuration

Andreas Becker ab.becker at web.de
Thu Jun 28 16:34:27 CEST 2007


THE XML looks good Daniel

Jan will try to fix it!

I saw in your language settings cn - are you working with Chinese
Interesting as I am in Thailand and just converted a complete TYPo3 to utf8
and experiment with it
Are you using utf-8 too?


Andi



2007/6/28, Daniel Selinger <typo3 at dselinger.info>:
>
> Hi,
>
> here's the complete config:
>
> <?xml version="1.0" encoding="utf-8"?>
> <cooluri>
>
>   <cooluris>1</cooluris>
>
>   <urlsuffix>.html</urlsuffix>
>
>   <removeparts>
>     <part>startseite</part>
>   </removeparts>
>
>   <cache>
>     <usecache>1</usecache>
>     <params2cool>
>       <checkforchangeevery>1</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>
>     <title>title,alias,subtitle</title>
>     <saveto>id</saveto>
>     <default>0</default>
>     <userfunc>tx_cooluri->getPageTitle</userfunc>
>     <urlize>1</urlize>
>   </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>
>   </uriparts>
>
>   <predefinedparts>
>     <part>
>       <parameter>cHash</parameter>
>     </part>
>     <part>
>       <parameter>no_cache</parameter>
>     </part>
>   </predefinedparts>
>
>   <valuemaps>
>     <valuemap>
>       <parameter>L</parameter>
>       <value key="de">0</value>
>       <value key="en">1</value>
>       <value key="fr">2</value>
>       <value key="cn">3</value>
>     </valuemap>
>   </valuemaps>
>
>   <paramorder>
>     <param>L</param>
>   </paramorder>
>
>   <removetrailingslash>1</removetrailingslash>
>
> </cooluri>
>
>
>
>
> 2007/6/28, Jan Bednarik <info at bednarik.org>:
> >
> > Hi,
> >
> > > <urlsuffix>.html</urlsuffix>
> >
> > the problem is definitely with the suffix. It's not cached well. I'll
> > fix it. Until then use URIs without suffix.
> >
> > --
> > Jan Bednarik
> > www.bednarik.org - web about Typo3 in czech
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list