By Hitby on
Hi,
I have a site with multiple sections based on taxonomy terms. ie. Biology, Chemistry, Maths etc.
Is it possible to have a different node page for each one so that, for example, when I click on a link in the biology section, it is directed to the biology/node page?
many thanks in advance
Comments
The way I do this...
... is a combination of comtemplate to theme the nodes that will show and a view to control what will show. Once you get a URL for the view then you can also create blocks and assign them to only show on that page.
So yes, it's perfectly possible (and there's probably more than one way of doing it), but will take a little setting up and tinkering to get it exactly how you need it.
Gareth
Thanks for the reply Gareth.
Thanks for the reply Gareth. My problem stems from resources (nodes) being available in more than one section. At the moment I have views setup with urls such as $arg/images where the $arg is the taxonomy term such as biology.
This works perfectly for displaying the list of nodes, please see http://www.whatdandidnext.co.uk/toolkit/biology/images .
When you click on a node title in that list the url is no longer at biology/ it just returns to /node/nid so the styles and menus don't remain. I need it to link through to a node page that keeps the biology style?
I can't use pathauto to assign a url at biology/ for the node because it could also appear in the chemistry section.
I've spent 20+ hours trying to figure this out so I'd really appreciate any help
See what you mean now...
and it is different from how I originally interpreted the question. (I was going from lists of objects with multiple taxonomies to a single one - the reverse case of what you are doing)
The only thing I can think of is trying to some how track the referrer object or the last page visited; but that's way beyond my level of Drupal knowledge as to how you would not only do this, but isolate the relevent information. Can't offer any further insight here....
I did my bachelors degree in chemistry at Newcastle, loved the city; it's changed a lot since I was there though.....
Gareth
ok thanks Gareth, it's
ok thanks Gareth, it's beginning to look like Drupal won't be a usable solution for this website and I'm back to building it by hand :(
Thanks for your input though
Dan
This issue was solved.
With the help of rizqi this issue has been solved.
Solution at http://drupal.org/node/241267