[TYPO3-english] hide(and make it not reachable) page depending the domain you're on
David Vandemaele
vd2m at hotmail.com
Thu Nov 20 16:14:56 CET 2008
Hmz,
ok, as that page contains 20 subpages, does this mean I have to this for
each subpage, and also for each language?
David
Tyler Kraft schreef:
> God lord - has anyone other than me read TSref!?
>
> Sorry for sounding snippy but really this isn't a hard solution. Simply
> use conditions and then a simple php header to redirect them out to a
> different page.
>
> [globalVar = TSFE:id=7]&&[globalString = HTTP_HOST=www.typo3.com]
> config.additionalHeaders = Location: www.typo3.com/index.php?id=19
> [global]
>
> Hth
>
> David Vandemaele wrote:
>> 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