[TYPO3] two questions concerning CoolURI

Jan Bednarik info at bednarik.org
Sat May 10 14:51:15 CEST 2008


Hi,

> 1) I have the newloginbox an every page, right below my menu.
> If I use CoolURI, the "Forgot password"-Link is rewritten differently an 
> everypage. How Do I setup CoolURI in a way, that the link always points 
> to the same path?

I'm afraid not, as the link is created 
$this->pi_linkTP_keepPIvars_url(array('forgot'=>1)), so as you can see, 
all paramters are preserved (including page ID). You'd need to rewrite 
the newloginbox extension.

> 2) I'm using cal on the same page. Is ist possible, to rewrite the path 
> using some conditions?

You rewrite parameters to some value. If you have parameters in URL, you 
can rewrite them to better form. You cannot make up new.

Regards

-- 
Jan Bednarik
www.bednarik.org - web about Typo3 in czech


More information about the TYPO3-english mailing list