I'm not sure the best way to do this, but it seems really really simple...something that others before me must have done so any info will make my day....

I have seen numerous posts on how to create a block with arguments using taxonomy. What I was wondering is if it is possible to create a menu out of a series of path alias's (without node id or taxonomy). For example, say I have a base path alias

base/rootitem

and a series of items below this like:

base/rootitem/about
base/rootitem/news
base/rootitem/widgets
base/rootitem/blah

You get the idea...so say I have many rootitems and each have that series of pages..how can I create a dynamic set of links to display as a menu on a page?

Maybe this isn't possible this way, if so I'm open to any other options.

Thanks in advance

Comments

dawehner’s picture

Why should this do views?

The menu items, are not dynamic, so you have to use menu_link_save for yourself.

jmather’s picture

I suppose I had thought that there might be a relatively simplistic way to do this with views using rootitem as an argument to the view...?

peterjmag’s picture

If I understand what you're trying to create, I recommend a combination of the following modules:

http://drupal.org/project/taxonomy_menu
http://drupal.org/project/taxonomy_redirect
http://drupal.org/project/menu_block

EDIT: Ah, I reread your post, and realized that you're trying to build from a list of existing path aliases, not taxonomy. In that case, try just creating a block view, filter out the nodes you want to use, output only the Node: Title field, and select the "Link this field to the node" option. However, I still think it's better to use taxonomy in this situation.

esmerel’s picture

Status: Active » Closed (fixed)

Suggested solution given, no response.