[TYPO3] RealURL and links in templates

Cyprian Kowalczyk cyprian at pi2.pl
Sun Apr 30 18:48:57 CEST 2006


Hello,

I'm experimenting with RealURLs and I have problems with links inside  
templates.

I have a local test site: http://localhost/mycms/

Because I'm using templateautoparser I have template's links looking like:  
/mycms/somelink/
(if I use only 'somelink/' the templateautoparser would add the  
'filedamin/template/' etc prefix to it and that's no good).

I'm using RealURL and I want, for instance, to have the link to work also  
with language and/or admin prefix, like:  
http://localhost/mycms/en/admin/somelink

The solution, I think, would be to add the RealURL's preVars to links.
How could I do it? Are there any native template parsing/replacing methods  
I could use to achieve this?

Thanks in advance.
_________________
regards, Cyprian
http://pi2.pl ~ π^2 design project

TYPO3 4.0 @ MAMP1.1 [Apache/2.0.54 (Unix) + PHP/5.0.4 DAV/2  
+ MySQL/4.1.12] @ MacOS X 10.4



More information about the TYPO3-english mailing list