[TYPO3-english] HMENU as if on other page

Christopher Torgalson bedlamhotel at gmail.com
Mon Jul 20 18:33:35 CEST 2009


Hi,

On Mon, Jul 20, 2009 at 9:16 AM, Tyler
Kraft<tyler.kraft at netefficiency.co.uk> wrote:
> 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?


Yes, I think so. Can you store the parent for a given event at the
right level of the rootline using the extension and then generate your
menu using levelfield to get the correct value for special =
directory?

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


More information about the TYPO3-english mailing list