[TYPO3-english] hide(and make it not reachable) page depending the domain you're on

Rob De Vries spam_this at pandora.be
Wed Nov 19 11:46:32 CET 2008

David Vandemaele wrote:
> Hello,
> depending on the domain you're on, I want some pages to be shown or 
> hidden in the menu. I use the 'excludeUidList' param in the template 
> setup to do this. However, when you type in the url to that page, it is 
> still reachable.
> How can I fix this?
> I thought of setting the 'hide page' flag of that page to 1 depending 
> the domain, but untill know, I was only able to hide that field in the 
> BE, but not to change the value of that checkbox.
> Best regards,
> David

add {$myexcludeUidList} instead of a list of numbers in your TS
add the pagenumbers in your constants and place it in a condition.

[globalString = HTTP_HOST=www.typo3.com]
	myexcludeUidList = 1,2,3

now, for each domain you can choose the pages you like to exlude.


web : http://www.rob-ot.be
skype : rob-ot
[O_o] -- Don't feed the rob-ot

More information about the TYPO3-english mailing list