[TYPO3-english] HMENU as if on other page

Jonathan Hartshorn jonaboff91 at gmail.com
Tue Jul 21 17:32:52 CEST 2009


Tyler,

Do you use realURL?

If so, could you add a postVarSet so that, for example, adding
event/<eventID> to the URL of any page sets
$_GET['showEvent']=<eventID>

eg.:

'postVarSets' => array(
    '_DEFAULT' => array(
        'event' => array(
            array(
                'GETvar' => 'showEvent',
            ),
        ),
    ),
),



Then you could add your extension to every page, shown only on the
condition that the 'showEvent' GET variable is present - perhaps use a
condition in the template to show the extension instead of the normal
page content, but leave the menus intact.

--Jonathan


More information about the TYPO3-english mailing list