[support] Menus
Greg Knaddison - GVS
Greg at GrowingVentureSolutions.com
Thu Jun 15 13:22:44 UTC 2006
On 6/15/06, Kobus Myburgh <ITBJDM at puknet.puk.ac.za> wrote:
> > ...I have the main header with the primary links
> > which never changes regardless of the section... on the menubar on
> the left
> > or right of the page I will have a submenu which will change whenever
> I go
> > to a different section......
> >
> > Can this be achieved using drupal...? If so how....?
>
> You can use a custom block with php if-then conditions or switches. Not
> sure if there is an easier way.
>
> If you don't know how to code, it is perhaps better to make separate
> blocks with the menu links in them and only set their visibility in
> block admin pages, otherwise you can make one block with different PHP
> conditions to display the links as they should be per page.
>
If you use pathauto to create your paths for you then you could set up
a system that splits your "different sections" into different URLs on
the site such as:
forum/
blog/
news/
And then create blocks appropriate for those sections and in the block
visibility settings set the blocks to only show on forum/* pages or
blog/* pages as appropriate.
With pathauto it's possible to separate by either node type (as shown
above) or by the lowest weighted taxonomy term in the lowest weighted
taxonomy.
Regards,
Greg
--
Greg Knaddison | Growing Venture Solutions
Denver, CO | http://growingventuresolutions.com
Technology Solutions for Communities, Individuals, and Small Businesses
More information about the support
mailing list