[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drupal-development
Subject:    [development] Change menu structure at runtime
From:       news () unleashedmind ! com (Daniel F !  Kudwien)
Date:       2008-11-06 16:50:41
Message-ID: 02a001c9402f$cdfcff00$0200a8c0 () structworks ! com
[Download RAW message or body]

http://drupal.org/project/menutrails 

> -----Original Message-----
> From: development-bounces at drupal.org 
> [mailto:development-bounces at drupal.org] On Behalf Of Fernando Silva
> Sent: Thursday, November 06, 2008 5:36 PM
> To: development at drupal.org
> Subject: [development] Change menu structure at runtime
> 
> Hi,
> 
> I want to do a "strange" thing with the (Drupal 6) menu system.
> 
> After defining a menu structure, let's assume that it is a 
> "primary navigation", when viewing a node page I want that 
> page to be under a specific menu item in the menu "primary links".
> 
> See this:
> - primary navigation
> -- menu 1
> -- menu 2
> -- menu 3
> ---- node/80 (this will be changed at runtime)
> 
> That "node/80" path will be the child of a menu item, 
> according to some conditionals that I have in hook_nodeapi. 
> So the question is: can I alter the menu structure at 
> runtime, while not changing database or persisting those changes?
> 
> Or perhaps there is another solution...
> 
> Thanks,
>   Fernando
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic