By clown10 on
I would like to use the terms that are printed at the bottom of my nodes to construct a link in a block. The terms that are displayed are exactly what I have to insert into a url to call a view. And these Url's I would like to show in a block.
My question now is:
Where do these terms come from ( which function?)?
Can I reuse them somehow?
How can I get them printed ( displayed ) in a block?
I think if I can display them in a block, it should be easy to construct a url.
Any ideas?
Comments
Does nobody has an idea?
Does nobody has an idea?
Try searching for 'taxonomy
Try searching for 'taxonomy block'.
There may well be a module that does this.
Thanks for the answer, but
Thanks for the answer, but unfortunately this not available for D6.
I found this code:
But it seems to work only with D5. Does anybody know what I have to change here?
Your looking at output from hook_links
This fragment may be what your looking for:
Alan Davison
www.caignwebs.com.au
Alan Davison
YES! YES! YES! Thank you
YES! YES! YES!
Thank you very much!
If it would be possible to
If it would be possible to sort the terms by vocabulary now, I would have everything I want. Any ideas?
Without trying it ...
An array sort would be what you want: http://au.php.net/manual/en/function.uasort.php
eg: something like,
It may require a bit of debugging, but should sort based on the title attribute.
Enjoy :)
Alan Davison
www.caignwebs.com.au
Alan Davison
Cool, thank you so much!
Cool,
thank you so much!