Theme for a view is ignored when view has arguments
pounard - March 14, 2008 - 08:23
| Project: | Taxonomy Theme |
| Version: | 5.x-1.1 |
| Component: | - Extended (Paths) |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
When a theme is setted for a particular view and this view is waiting for arguments, the path containing the arguments does not match with view name.
I made a quick patch, see attached file
| Attachment | Size |
|---|---|
| taxonomy_theme_paths.inc_mc-views.patch | 847 bytes |

#1
This patch may break some things: if someone apply a theme for a complex path, let's say my_view/some_page the function will match the theme my_view but won't check for the whole path. I think just replacing $alias_uri with just $uri at line 12 should be enough to work with this.