[TYPO3-english] Condition for specific URL?

JoH asenau info at cybercraft.de
Fri Jun 19 13:48:35 CEST 2009

> I need to configure a condition for a specific URL.
> I can't just go with the Pid since the page is displaying tt_news
> singleview and listview on the same page. And I only need the
> condition for a few of the generated URLs.
> I am looking for something like this:
> [globalVar = URL=http://domain.com/page/]
> [global]
> But it does not work.

Since there is no global var named URL, this can't be working.
[globalString = IENV:TYPO3_REQUEST_URL = http://domain.com/page/]
[globalString = IENV:TYPO3_REQUEST_DIR = http://domain.com/page/]

Should be working according to the manual.
Check phpinfo in your install tool for more variables used within the
getIndpEnv() function of TYPO3.



Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
TYPO3 workshops: http://workshops.eqony.com

More information about the TYPO3-english mailing list