[TYPO3] how to test for condition of URL link

Christopher Torgalson bedlamhotel at gmail.com
Fri Mar 9 19:11:38 CET 2007


Hi,

On 3/9/07, David Banning <david at skytracker.ca> wrote:
> I wonder how to test for the condition that a specific menu link
> is a URL type.
>
> I have a routine that replaces the usual menu link-to-a-URL with
> the actual URL, but it only works if all menu items are URL menu
> items so I need to test first for that condition.


What /exactly/ do you want to do? You can use the value of 'doktype'
to figure out what kind of page the menu item points to (in, for
example, a Typoscript CASE object...)



-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list