Hello,

I just installed the module submenutree that is supposed to do exactly what I am looking for.

Now I wanted to display e.g. all the nodes of taxonomy/term/1 as "Teasers with links" to see the function of the module. How do I have to configure it. I marked "Enable submenu trees for this node" in every node that belongs to taxonomy/term/1.

The documentation is in my opinion a little too short in this point.

Comments

bengtan’s picture

Assigned: Unassigned » bengtan
Status: Active » Closed (works as designed)

Hi,

Submenutree works on top of the menu hierarchy. It will only have an effect if the nodes are part of a menu. That is by design.

You can try putting your nodes into your primary links (or some other menu) and see what you get.

Submenutree does not do anything related to taxonomy.

c.adam’s picture

Hi,

ok now I understood it and got it working. Perhaps I could give others a little more detailed explanation:

You have to create a menu in which every node that you want to be shown by the submenutree module is a menu item. This menu has to be activated in the blocks and in every node the option "Enable submenu trees for this node" has to be enabled. Then it will work.

But now another question: The demo page http://www.caignwebs.com.au/services also uses the template "Teasers with links". But how do they integrate the teaser images? Does there exist a possibility for Drupal 6?

mark matuschka’s picture

But now another question: The demo page http://www.caignwebs.com.au/services also uses the template "Teasers with links". But how do they integrate the teaser images? Does there exist a possibility for Drupal 6?

Teaser images for "Designing your website", "Building your website" etc. use CCK, imagefield and imagecache. You can tell by looking at the image path in the HTML. This is nothing to do with submenutree but very easy to accomplish. Just add an imagefield to your node type (page in this case) using CCK, then select the desired imagecache display size under Administer > Content management > Content types > Page > Display fields. Style to taste using CSS. And don't forget to upload the image to the node.

Note the blue image titled "Drupal specialists" under the top teaser titled "Drupal" is not an imagefield, just an image embedded into the content. This node doesn't have an imagecache image uploaded.

So in summary, submenutree displays the teasers for all submenu items, but it's up to Drupal's normal mechanisms to decide what each teaser looks like.

---

Cheers,
caign
www.caignwebs.com.au

bengtan’s picture

@caign: Thanks for your thoughts on the matter. You beat me to it.

@c.adam: Yes, displaying images with teasers is done via other drupal methods, and is separate from submenutree.

Also, "Enable submenu trees for this node" does not have to be enabled for every node. You only need to enable it for those nodes which you want the submenu tree to appear. Usually this will be those nodes which are section headings. You can usually leave the leaf nodes unchanged.

c.adam’s picture

Hello you two,

First of all thank you for your very good support!

@bengtan: That would have been my next question ;-)

Also, "Enable submenu trees for this node" does not have to be enabled for every node. You only need to enable it for those nodes which you want the submenu tree to appear. Usually this will be those nodes which are section headings. You can usually leave the leaf nodes unchanged.

@caign: I already assumed that the teasers are CCK image fields. But since I am building a Drupal 6 page I unfortunately have to wait for the version 6 of the image field module which is still in development.