[TYPO3-english] cooluri and language tag - /de
Rupali
rupali.ffm at googlemail.com
Tue Apr 7 17:53:54 CEST 2009
Hi Andreas,
thanks for links!
I read them, even in http://docs.google.com/View?docid=dd33gg45_3f8j96p
found exactly what i need.
but somehow it is not working, here posting cooluriconf.xml, if I am
forgetting anything, pls help.
anyways cleared cache, also deleted all links in cooluri module but still
links for default language are without /de, although when i go to english
language, they are working perfect and coming back to german also shows
language tags. But the problem is only when no language is manually selected
and clicking on navigation gives links without language tags.
<?xml version="1.0" encoding="utf-8"?>
<cooluri>
<urlsuffix></urlsuffix>
<removetrailingslash>1</removetrailingslash>
<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="redirect"><![CDATA[/]]></behavior>
</pagenotfound>
</cache>
<pagepath>
<title>tx_realurl_pathsegment,alias,subtitle,title</title>
<saveto>id</saveto>
<default>1</default>
<userfunc>tx_cooluri->getPageTitle</userfunc>
<t3conv>1</t3conv>
</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>
<t3conv>1</t3conv>
</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>
<t3conv>1</t3conv>
</lookindb>
</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="en"></value>
<value key="en">0</value>
<value key="de">2</value>
</valuemap>
</valuemaps>
<partorder>
<part>valuemaps</part>
<part>pagepath</part>
<part>uriparts</part>
<part>predefinedparts</part>
</partorder>
<paramorder>
<param>L</param>
</paramorder>
</cooluri>
Regards,
Rupali
2009/4/7 Andreas Burg <typo3 at andreasburg.de>
> Rupali,
>
> > -what is replacement for 'valueDefault' => 'en' of realurl in
> cooluri?
>
> as you can see in my first post, I try it with <value key="en"></value> and
> hope it will work.
>
> > - i read the column How to mix pagepath with other parameters in cooluri,
> > but couldn't make it work.
>
> I hope you've read this http://docs.google.com/View?docid=dd33gg45_3f8j96pand
> http://download.bednarik.org/URITransformer.pdf from page 19, like Jan
> recommends.
>
> --
> Andreas
>
> Mailing list rules & guidelines (Mailing list Regeln & Leitfaden):
> http://typo3.org/community/mailing-lists/
> http://typo3.org/community/mailing-lists/mailing-list-rules-guidelines/
> _______________________________________________
> 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