Overriding node display and URL

Events happening in the community are now at Drupal community events on www.drupal.org.
edulterado's picture

Hi,

I would like to know whether it´s possible to use an URL like "/example/%arg/%node" in Panels for overriding nodes.

The thing is that I´d like to organize the pictures of a gallery as follows:
- the node "photo" has a reference to node "category" via node reference.
- I use "Custom Pagers" module to navigate within the "photo" nodes.
- I want the navigation to be organized in two ways:

1= navigation by category with the URL "/gallery/%category/%node-photo". In this case, the pager will hold the navigation through all the pictures included in the same category.

2= navigation by terms with the URL "/gallery/%terms/%node-photo". In this case, the pager provides the navigation through all pictures filed under a certain term.

The ideal structure for the URL would be "/gallery/%nav/%node" where "%nav" stands for the category or term name in each case, but it seems impossible to implement with Panels. Is there a possible workaround for that?

I don´t know if this is a topic that has been put before, if so, sorry for the repetition. Any information on how to handle this will be very much appreciated.

Comments

Hey I've encountered the same

chriscalip's picture

Hey I've encountered the same problem like you. If your a developer you can solve this problem by adding a page manager task and a panel content type. I did this with the emailpanels module in drupal.org/project/panels_extras ... well its kinda like the same problem: email/%node/%field_name

I am trying to make it easy for us in the panels site building community. I think this could be a good plugin for panels_extras let me know what module you are basing this function.. so i can look at the module's code and integrate with panels.

Panels

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: