I am using drupal 5 (since 4.x or so) and while it's easy to install and setup as well as add various content types I am still struggling with trying to figure out how to do the overall site layout.
Let's say I want to have a generic news/blog (that works out of the box) but I also want distinct (example) sections for Music (my audio files etc.), computers/linux (setup, progamming projects etc.), Sports etc.
When I say distinct I mean at least obviously distinct in navigation menu, possibly distinct themes/styles/modules enabled etc.
I know I can simply create a book and add the top page to the menu but I'd like to hear about something better - how do other people do it? It seems taxonomy might do it - do I want a separate vocabulary for each section?
Related: I see that drupal.org has location line displayed at the top of the page, e.g.:
Home » Image galleries » Drupal
Where does that come from? That kinda looks like what I think of as sections (i.e. Image galleries section within Drupal).
TIA,
erik
Thoes are called breadcrubs. You print it from the theme file. (something like <?php print $breadcrumbs ?>)
s
On Wed, 16 May 2007 00:12:50 -0700 Erik Steffl steffl@bigfoot.com wrote:
Related: I see that drupal.org has location line displayed at the top of the page, e.g.:
Home » Image galleries » Drupal
Where does that come from? That kinda looks like what I think of as sections (i.e. Image galleries section within Drupal).
Quoting Erik Steffl steffl@bigfoot.com:
It seems taxonomy might do it - do I want a separate vocabulary for each section?
Yes, probably. The Forum module uses taxonomy for the forum. You might need to hire help.
Related: I see that drupal.org has location line displayed at the top of the page, e.g.:
Home » Image galleries » Drupal
Where does that come from? That kinda looks like what I think of as sections (i.e. Image galleries section within Drupal).
The Drupal code refers to it as breadcrumbs.
Earnie -- http://for-my-kids.com
On 16/05/07, Erik Steffl steffl@bigfoot.com wrote:
I am using drupal 5 (since 4.x or so) and while it's easy to install and setup as well as add various content types I am still struggling with trying to figure out how to do the overall site layout.
Let's say I want to have a generic news/blog (that works out of the box) but I also want distinct (example) sections for Music (my audio files etc.), computers/linux (setup, progamming projects etc.), Sports etc.
When I say distinct I mean at least obviously distinct in navigation menu, possibly distinct themes/styles/modules enabled etc.
I find the menu trim module very helpful here.
For instance on my own website (geekgothgrrl.co.uk) there are a number of different sections, with menu trim I can remove sections from the menu tree when people navigate it, so it only contains links to relevant content. Works quite well I find.
There is a taxonomy-theme module too, that'd allow you to specifiy a different theme by term.
Kelly
I would think you could do what you want with taxonomy - read up on it first, you will need to plan out your categories. You'll need it even if you end up doing some of it other ways as well.
On 5/16/07, Kelly Harding kelly.harding@gmail.com wrote:
On 16/05/07, Erik Steffl steffl@bigfoot.com wrote:
I am using drupal 5 (since 4.x or so) and while it's easy to install and setup as well as add various content types I am still struggling with trying to figure out how to do the overall site layout.
Let's say I want to have a generic news/blog (that works out of the box)
but I also want distinct (example) sections for Music (my audio files etc.), computers/linux (setup, progamming projects etc.), Sports etc.
When I say distinct I mean at least obviously distinct in navigation menu, possibly distinct themes/styles/modules enabled etc.
I find the menu trim module very helpful here.
For instance on my own website (geekgothgrrl.co.uk ) there are a number of different sections, with menu trim I can remove sections from the menu tree when people navigate it, so it only contains links to relevant content. Works quite well I find.
There is a taxonomy-theme module too, that'd allow you to specifiy a different theme by term.
Kelly
-- [ Drupal support list | http://lists.drupal.org/ ]
Kelly Harding wrote:
On 16/05/07, *Erik Steffl* <steffl@bigfoot.com mailto:steffl@bigfoot.com> wrote:
I am using drupal 5 (since 4.x or so) and while it's easy to install and setup as well as add various content types I am still struggling with trying to figure out how to do the overall site layout. Let's say I want to have a generic news/blog (that works out of the box) but I also want distinct (example) sections for Music (my audio files etc.), computers/linux (setup, progamming projects etc.), Sports etc. When I say distinct I mean at least obviously distinct in navigation menu, possibly distinct themes/styles/modules enabled etc.I find the menu trim module very helpful here.
For instance on my own website (geekgothgrrl.co.uk http://geekgothgrrl.co.uk) there are a number of different sections, with menu trim I can remove sections from the menu tree when people navigate it, so it only contains links to relevant content. Works quite well I find.
There is a taxonomy-theme module too, that'd allow you to specifiy a different theme by term.
you have the top/main/primary menu (Kelly, Computing, Classic Cars, Old Stuff ...) - is that a manually created menu that points to specific nodes? (from source I see it points to specific nodes but how is that generated?) How do you make other nodes to be part of the e.g. Kelly tree (like Cats, Interests etc.)? Is it a book or?
each of your sections (or whatever you call what the primary menu points to) has a different navigation menu (top left block) - is that the menu trim module? (drupal.org seems to be down so can't check menu trim module)
thanks,
erik
I find the menu trim module very helpful here.
For instance on my own website (geekgothgrrl.co.uk http://geekgothgrrl.co.uk) there are a number of different sections, with menu trim I can remove sections from the menu tree when people navigate it, so it only contains links to relevant content. Works quite well I find.
There is a taxonomy-theme module too, that'd allow you to specifiy a different theme by term.
you have the top/main/primary menu (Kelly, Computing, Classic Cars, Old Stuff ...) - is that a manually created menu that points to specific nodes? (from source I see it points to specific nodes but how is that generated?) How do you make other nodes to be part of the e.g. Kelly tree (like Cats, Interests etc.)? Is it a book or?
What I did was I created a new menu (I also created new menus for admin tasks, but thats a different matter really). Then under admin -> build -> menu I went to settings and selected the new menu instead of primary links. Voila navigation menu at top where primary links should be.
I should mention a gotcha with this however. You need to check compatibility with themes, as not all themes provide enough room for a menu instead of primary links. I did previously have a seconday menu instead of secondary links, but theme issues prevented it from working correctly.
You then need the Menu Trim module. Select the menu you wish to trim, trim it (should be self-explanitary really) and then edit the menu items. you'll now get a couple of options. The most important being 'trim parent items'.
That is how the 'non-relevant' items in my menu 'dissapear' when a user browses through the menu tree, reducing clutter.
Hope this helps?
The Menu Trim module can also create blocks, which is what the navigation menu on the left is. Rather than enabling the block 'Navigation' for instance, you'd enabled the block 'Navigation (Menu Trim)' and it'll all work as it should do.
I've done the same on the right hand side for various admin tasks, breaking them off into sectioned menus of their own, and making the blocks only visible to administrators (ie me), and use a different administration theme.
Kelly
Kelly Harding wrote:
> > I find the menu trim module very helpful here. > > For instance on my own website ( geekgothgrrl.co.uk <http://geekgothgrrl.co.uk> > <http://geekgothgrrl.co.uk>) there are a number of different sections, > with menu trim I can remove sections from the menu tree when people > navigate it, so it only contains links to relevant content. Works quite > well I find. > > There is a taxonomy-theme module too, that'd allow you to specifiy a > different theme by term. you have the top/main/primary menu (Kelly, Computing, Classic Cars, Old Stuff ...) - is that a manually created menu that points to specific nodes? (from source I see it points to specific nodes but how is that generated?) How do you make other nodes to be part of the e.g. Kelly tree (like Cats, Interests etc.)? Is it a book or?What I did was I created a new menu (I also created new menus for admin
is this the menu you later trim? or is this just top level menu?
tasks, but thats a different matter really). Then under admin -> build -> menu I went to settings and selected the new menu instead of primary links. Voila navigation menu at top where primary links should be.
I should mention a gotcha with this however. You need to check compatibility with themes, as not all themes provide enough room for a menu instead of primary links. I did previously have a seconday menu instead of secondary links, but theme issues prevented it from working correctly.
You then need the Menu Trim module. Select the menu you wish to trim, trim it (should be self-explanitary really) and then edit the menu
ok, almost self explanatory except of: what menu do you trim? Is it automatically generated from taxonomy or from relationship of nodes or do you create the whole thing manually?
thanks for the info, I'll look into menu trim module,
erik
What I did was I created a new menu (I also created new menus for admin
is this the menu you later trim? or is this just top level menu?
Yes.
tasks, but thats a different matter really). Then under admin -> build
-> menu I went to settings and selected the new menu instead of primary links. Voila navigation menu at top where primary links should be.
I should mention a gotcha with this however. You need to check compatibility with themes, as not all themes provide enough room for a menu instead of primary links. I did previously have a seconday menu instead of secondary links, but theme issues prevented it from working correctly.
You then need the Menu Trim module. Select the menu you wish to trim, trim it (should be self-explanitary really) and then edit the menu
ok, almost self explanatory except of: what menu do you trim? Is it automatically generated from taxonomy or from relationship of nodes or do you create the whole thing manually?
thanks for the info, I'll look into menu trim module,
You create the menu manually (well I did). there may be a taxonomy module that can generate it automagically for you, but i don't know.
I already had all the site content in place when i put MenuTrim in place, so it was more a case of editing all the menu items and moving their parent Menu from 'Navigation' to 'Home'.
MenuTrim took care of the rest.
Kelly
On Wednesday May 16 2007 12:12 am, Erik Steffl wrote:
I am using drupal 5 (since 4.x or so) and while it's easy to install and setup as well as add various content types I am still struggling with trying to figure out how to do the overall site layout.
Let's say I want to have a generic news/blog (that works out of the box) but I also want distinct (example) sections for Music (my audio files etc.), computers/linux (setup, progamming projects etc.), Sports etc.
When I say distinct I mean at least obviously distinct in navigation menu, possibly distinct themes/styles/modules enabled etc.
I know I can simply create a book and add the top page to the menu but I'd like to hear about something better - how do other people do it? It seems taxonomy might do it - do I want a separate vocabulary for each section?
Based on what I think you are trying to accomplish, I would have to say no. The reason is that when you create multiple vocabularies, you have to associate each one with your node type (story, page, some custom node, etc.) and then for each node you create, you'll have to go through a list of vocabularies, find the one that is relevant and select the correct term in it. Try it with just three vocabularies, each with three terms, and you'll see what I mean.
If you are going that route, I think a single vocabulary with all the relevant terms in it would be best option. Then you could use something like the Views [1] and/or Panels [2] modules to create your layout, and something in the Views [3] and/or Taxonomy [4] [5] categories or documentation [6] for menus and theming.
[1] http://drupal.org/project/views [2] http://drupal.org/project/panels [3] http://drupal.org/project/Modules/category/89 [4] http://drupal.org/project/Modules/category/71 [5] http://drupal.org/project/taxonomy_menu [6] http://drupal.org/handbook/modules/views