Project:Taxonomy Theme
Version:5.x-1.1
Component:Code / API
Category:feature request
Priority:normal
Assigned:krishnap
Status:closed (won't fix)

Issue Summary

The following snippet switches the theme layout for both ADMIN and when a user is editing or creating new content.

Look base http://drupal.org/node/154091.

SVN
/**
* function _taxonomy_theme_select_nodetype().
* (nodetype-based theme selection)
*/
function _taxonomy_theme_select_nodetype(&$theme_method, &$custom_theme, $default_theme, $uri) {
if ((arg(0) == 'node') && is_numeric(arg(1)) {
$nid = arg(1);

CHANGE TO

/**
* function _taxonomy_theme_select_nodetype().
* (nodetype-based theme selection)
*/
function _taxonomy_theme_select_nodetype(&$theme_method, &$custom_theme, $default_theme, $uri) {
if ((arg(0) == 'node') && is_numeric(arg(1)) && !((arg(1) == 'add') || (arg(2) == 'edit')) ) {
$nid = arg(1);

Comments

#1

Component:- Taxonomy» Code / API
Status:needs review» postponed

Taxonomy Theme 5.x is unmaintained. As you can see at the project description page we're looking for a co-maintainer espacially for th 5.x version.

#2

Status:postponed» closed (won't fix)

Taxonomy Theme 5.x is unmaintained. Due to the fact that Drupal 5 itself is not maintained anymore, we close this issue to get the issue queue clean for Taxonomy Theme 6.x and 7.x.