Hi,

If I want to create a tree-like menu, do I have to create a new block for it? Or can I use an existing block like "categories"? I created a vocabulary "products" and added multiple terms which in turn have different parents. That way I wanted to create a tree-like menu. Can get it to work. All termd are shown in a normal list in the categories section. Am I missing something?

Ferid

Comments

taxonomy_context

http://drupal.org/project/taxonomy_context is probably the extension you are searching for.

create new menu

I created a new menu with a couple menu items. I now have a tree-like menu. Now looking to add products (with images) to this menu. I've seen there are several ways to create a product:
-create a page and make it a product
-create an image and make it a product
What is the best way to add images to your site? I now installed the img_assist module.
What I want to accomplish is to create a page with a couple of products. People would have to click on a product to get more info or to order it.
I have the e-commerce module installed.
Any help would be apreciated.

update

Was trying to create collapsible menu based on the taxonomy terms by using taxonomy_dhtml. It creates a menu but the terms arn't collapsible. It just shows terms structure (partent/child). Are there any special settings I have to do to get the menu collapsible? Or is there a better way to create a collapsible menu?
Any help would be great..
Ferid

onload

make sure your page includes the javascript and css for taxonomy_dhtml. also make sure that the onload attribute of is getting set. otherwise, your menu wont expand/collapse. see taxonomy_dhtml_onload()

noob

I'm sorry but how do I do this? Only thing I did is copy the module (taxonomy_dhtml dir) to the modules dir. How would I include the js and css for the module? How can I check if the onload attribute is getting set?

This has been my greatest

This has been my greatest frustration with taxonomy_dhtml as well. One would expect the collapsible list to work automatically, but it doesn't.

Has this been explained in the handbook?

update 2

I mannaged to create a collapsible list by using taxonomy_menu. Problem is that it creates the menu in the navigation section. Can't figur out how to get this menu outside the navigation menu :( I would like to have this menu in the catagories section or in a new block.
If anyone knows more about this..

Menu module

Get and use the menu module to change your menu to it's own block. Also use the block module to create a new block.

Mateo

menu

I'm able to create a menu by using the menu module. Problem is that you would have to do this by hand. I would like to be able to create content, assign it a term and based on the taxonomy creating my menu. It has to be dynamic. Hope that's not to much to ask..
Ferid

You can assign a taxonomy to

You can assign a taxonomy to a menu item.

-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

I actually used

I actually used phplayersmenu and created a small module to replace my navigation menu.

see www.heydon.com.au for an example.
--
Gordon Heydon
Heydon Consulting

--
Gordon Heydon

A brief 'how to' ?

Gordon, I really like the menu system you have, and am vaguely familiar the the phplayersmenu...my question is how did you make a module of it, and how did you get it to display at the top (header?) of the page.

As you can see, I'm quite new to Drupal, and somewhat overwhelmed.

Thanks

Mark

The module can be downloaded

The module can be downloaded from my site, but I have now changed this from being a module to being a part of the theme, using the standard navigation.

You can use the drupal_set_html_head() to insert additional data into the head.
--
Gordon Heydon
Heydon Consulting

--
Gordon Heydon

taxonomy compatible ?

Gordon looking at your downloads doesn't indicate 4.6 compatibility or the use of taxonomy. Has your module been updated for 4.6 ?

thanks

Use custom block with Javascript

Well, you can get the collapsible menu of your dreams by creating a custom block and using Javascript. You can read about this (js in a block) here:
http://support.bryght.com/adminguide/javascript-block

Strangely, that page (or the one before, http://support.bryght.com/adminguide) gives you exactly the kind of collapsible menu you are looking for. Just click on the + sign next to "How-tos" in the right navigation bar. I am not sure if it is using taxonomy, though.

But, then, that was specially designed for Bryght. Wish we could have one of the Drupal themes implementing that out of the box. Sigh...

You're welcome to write one

You're welcome to write one :)

-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

No javascript magic

The side block in the adminguide (and other pages) is just the plain standard book navigation block -- notice the page load on clicking how-tos.

Indeed. I hadn't noticed

Indeed. Thanks for pointing that out. This seems to solve my problem too.

Is it possible to remove the 'previous' and 'next' links at the bottom of a book page? I would be thankful for some help on where and how to go about doing this.

That part of book nodes is

That part of book nodes is not easy to theme at the moment. However, in your CSS, you can set that section to display: none, and it will disappear.

I forget what the class is, but do a view source, and you shouldn't have any problems.

Making parts of the book navigation disappear

After looking at the file, it looks like there is a next class and a prev class.

However, I went a little further and set .book {display: none} and .links {display: none} since I was using the book module to get the menus to come out nicely.

There was one thing worth mentioning: the book navigation and links can be made to disappear mostly in css, but not completely. I was playing with lynx (a text only browser), and when it ignored the css, the book navigation came back (reasonably so).

FriendsElectric

FriendsElectric has a similar menu style. But as has already been said, there is nothing special about this, it is just styling the plain Drupal menus.

--
If you have a problem, please search before posting a question.

--
If you have a problem, please search before posting a question.

taxonomy_menu.module

This module implements an expandable navigation menu (I think it just reloads the page to show an expanded menu), complete with the ability to disallow child terms or enable them (with the patches found in the support discussions for the module).

It's a good module, in my estimation, but I need the menu terms to point to an index of the taxonomy terms, not the taxonomy's paginated node grouping-- or I may turn to the book navigation block for a more structured approach to my site.

Hi!

Hi!
Could you post a link to the implementation you have made?

I would like a kind of

I would like a kind of expandable tree menu, but that only shows
the categories the current user is allowed to see, is this too difficult to have working?, I am using taxonomy access for access control.

BTW checkout the left side menu of this web site
http://www.howtoforge.com/