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

David Vandemaele vd2m at hotmail.com
Thu Nov 20 13:17:19 CET 2008


Rob,

yes, you're correct. But what with preventing people from reaching those 
page by typing in the url manually. Or am I missing the point here?

David

Rob De Vries schreef:
> 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
> [end]
> 
> 
> now, for each domain you can choose the pages you like to exlude.
> 
> Rob
> 
> 
> 


More information about the TYPO3-english mailing list