[TYPO3-english] HMENU as if on other page

Tyler Kraft tyler.kraft at netefficiency.co.uk
Wed Jul 22 10:17:23 CEST 2009


Hi Jonathan

That's what we've done, decided to show the detail on the same page 
using a getvar as a trigger to switch views. But as I said in another 
post this still doesn't solve the actual problem and I'd still like to 
see the feature request introduced.

Thanks


Jonathan Hartshorn wrote:
> 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