[TYPO3] overrideId can this be applied in someway to a menu item?

Christopher Torgalson bedlamhotel at gmail.com
Tue Nov 6 15:14:38 CET 2007


Hi,

On Nov 6, 2007 2:56 PM, Stephen Bungert <s.bungert at metrinomics.de> wrote:
> I have as shortcut to the home page, the first item in a menu, so that
> when you not on the homepage you can get back to it. It works fine, but
> the link is still active which I don't want. and the pid is 14 and not 1.
>
> There are two things I could do, that I can think of:
>
> 1: on page load run a javascript function that checks what the pageid is
> and if it's the shortcuts id hides the LI tag link to home page (or
> remove the A tag)
>
> 2: Find away of altering the pid that the link sets when clicked on.
> overrideId seems to allow this, but from the documentation it seems to
> apply to all objects. Is there something similar for individual menu
> items? This is what I would prefer to do, does anyone know how it can be
> done?



Simpler solution: make the root page the shortcut page and the home
page its first child.


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


More information about the TYPO3-english mailing list