[TYPO3-english] HMENU as if on other page
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Mon Jul 20 18:16:39 CEST 2009
Hi Christopher,
> I have the feeling you've already rejected what I'm about to suggest,
> but I couldn't find it in my quick skim over the thread. But since
> you've already got your GET parameter giving the uid of the page whose
> menu you need to generate, can't you just do something like this?
No that would be completely possible if I was generating a menu for sub
page to the backpid page. But what I'm trying to do is generate a menu
of parent pages (and possible sub pages).
So for instance if it was a bread crumb navigation I would get the event
title based upon other variables and then using the backpid and
php/mysql generate a rootline and and then prepend the rootline menu to
the event title. As I say that would be obviously easy to do for a
rootline. But the problem is what to do when it's not a
breadcrumb/rootline menu, but the navigation on the left hand side?
That menu needs to have all the parent, grandparent, great-grandparent
pages and then depending upon what level it sits in the page tree it
might then also have children.
Does that make sense?
More information about the TYPO3-english
mailing list