Hello...

I try to create a new site using drupal 4.6. After great enthusiasm in the beginning, I now encounter the problem, that it does not seem to be possible right away to display kind of an introductory text and below the "teasers" or even only links to the corresponding Articles/Blog/other contents. Ideal would be a page something like this by using the functionalities of taxonomy:

++++++++++++++++++++++++++++++++++++++++++
+ Links to Parent Terms in Taxonomy*
+ Links to "Children"-Groups/Subterms in Taxonomy
++++++++++++++++++++++++++++++++++++++++++
+ Intro-Text
+ or Description... of the grouped content
+
++++++++++++++++++++++++++++++++++++++++++
+ Possibility to Display only Links or/and Teasers to the 
+ Articles (or any other type of Content) that are 
+ corresponded to this Taxonomy-Term.
++++++++++++++++++++++++++++++++++++++++++

Best would be, naturally, if one could move around the sections individually. Is there maybe already a similar solution to this or even a module for that? I tried already the modules taxonomy_context and taxonomy_menu, but both of them would'nt fit my needs entirely.

* taxonomy_context would be something what I'm looking for (shows a block with links which point to a page that displays the term-corresponding Contents (Teasers)) , but I didn't find the possibility to

  • add an introductory text at all
  • show the block on all pages, not just if I am viewing an article that belongs to term X
  • and especially I couldn't make it possible so far to display in the block all terms of a vocabulary:

e.g. I have a vocabulary "Hobbies" with Terms structured as follows:

- Photography
--- Landscapes
--- Portraits
--- ...
- Creative Writing
--- Poems
--- Thoughts
--- My novel
--- current Project
- Hobby 3
--- Subcategory 1
--- ...

...and so on. I wanted actually to have a page too, that leads then to those particular Hobbies and their subcategories. taxonomy_context only displays the subcategories of the "root terms" in the vocabulary "Hobbies"

Well, I hope I could get it a little to the point and my english wasn't too confusing.
Thanks for help in advance...

hQuadrat

PS.: Unfortunately I am not very good in PHP yet. HTML is no problem though...

Comments

thinkinkless’s picture

try the
taxonomy block (block with teasers)
http://drupal.org/node/15192
and taxonomy dhtml (for your page with root terms)
http://drupal.org/project/taxonomy_dhtml
modules

gollyg’s picture

Doesn't taxonomy allow you to write a description of the category? This can function as the page contents - enter all your text here for the page. I think taxonomy context then allows you to display this description through show term info. This also allows you to hide and show teasers for subterms.

If you are using phptemplate you can modify the appearance of your terms and whether or not they show up as a list by modifying the theme file, or creating a new one specifically for the content - then just call that theme when theming the content.

You may need to add some custom code to get the exact page you want - this would involve some php snippets that can be found in the handbook.
The process might involve

  1. create the page using a php input format
  2. add the snippet code to create the page content you are after.
  3. create an alias to the page for the taxonomy term it relates to (this should help your breadcrumbs stay true)

Alternatively, a module such as the proposed "category" could be what you are after? http://drupal.org/node/39692

hquadrat’s picture

Hi again,

and thanks for the quick replies...
I doubt that the taxonomy_block module and taxonomy_dhtml really help me much further, maybe for navigation purposes.
I had a look at the category-project, which is, the description to follow, quite interesting and probably is exactly the thing I'm looking for.
Unfortunately it is still in development for cvs resp. the new 4.7. version of drupal and I don't know if it would work on my 4.6 installation yet. So probably I have to wait a little or find another solution:

As I browsed through the category-project I got attentious to the taxonomy_association module which allows to associate a single node to a term, so if I link to a specific term, it displays the node and below the normal post listing. I hope I can find a way to combine some of the block-orientated modules with taxonomy_assoc for now.

Or would it make sense, for me as a bloody beginner ;), to upgrade to the current cvs-distribution? (As I understood it, cvs is the development of drupal 4.7)

hQuadrat

gollyg’s picture

dont upgrade unless you are not planning on going live sometime soon - there are still bugs to be ironed out, and the category module is under development. I would stick with 4.6.4 for any time critical projects and play around with 4.7

venkat-rk’s picture

You are right about the taxonomy_assoc module. It offers the best option for displaying intro text, IMHO. Just one caveat- it doesn't work when you alias the node.

So, I use the taxonomy_context module with the 'enable sub term info' turned off. But, to get the taxonomy description to display nicely, I am forced to manually insert HTML tags to get them to break nicely etc etc. It may be easier if you install something like TinyMCE to have rich text editing for the taxonomy description text area. But, all this is a bit of a hassle.

Recently, in trying to remove the link from the title of a sticky post, I stumbled on to a way of having a nice intro paragraph for a taxonomy term page, thanks to Geoff. Read this forum posting and the ones below that to see how. I think you will be surprised at how much more efficient this method is for having an intro paragraph, especially if you are using taxonomy a lot.

Edit: This works on 4.6