use path module to render url

mikshimonster - July 23, 2009 - 23:32
Project:Drupal
Version:6.13
Component:node system
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

when viewing a revision, it uses URL such as /node/3/revisions/5. This prevents themekey (or other theme by path tools) from rendering the revision correctly. If node URL for the revision uses the actual path such as /section-one/menu-one/node/3/revisions/5, the themekey will pick up /section-one and render the page correctly while viewing the revision. This is especially useful when viewing a revision for the sites that use many different themes per section.

#1

mikshimonster - July 26, 2009 - 04:08
Status:active» closed

It seems that above is actually possible using url_alter and subpath_alias modules. however, somehow virtual sites (or condition) module does pick up the menupath from pathauto to render the theme. themekey works tho.

 
 

Drupal is a registered trademark of Dries Buytaert.