When posting a comment on a (non-forum-related) node that whose theme is controlled by taxonomy_theme (including following up to a comment on a node that is themed), the comment-posting page use the default site-wide theme. Expected behavior is that it should use that node's customized theme. The included patch implements this change by treating paths of the form /comment/reply/([0-9]+).* the same as paths of the form /node/([0-9]+).* , where the matched expression in both cases is the node id. It does duplicate several lines of code which could probably benefit from being refactored.

CommentFileSizeAuthor
taxonomy_theme_taxonomy.inc_.patch2.23 KBMapache
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

godo’s picture

Component: Code » Code / API

Hi.

I have patched the file "taxonomy_theme_taxonomy.inc" included in "taxonomy_theme-5.x-1.1.tar.gz" with the patch file "taxonomy_theme_taxonomy.inc_.patch", doing (I am using Debian GNU/Linux):

> patch taxonomy_theme_taxonomy.inc taxonomy_theme_taxonomy.inc_.patch
patching file taxonomy_theme_taxonomy.inc
>

And... everything is working fine now! The comment-posting page use the correct theme now. I think that the patch file is OK. Why not is it included to the next release?

Alert! If you try to do the same but using file in "taxonomy_theme-5.x-1.x-dev.tar.gz" to be patched, the patch process goes on, but the resulting file doesn't work fine.

Thanks, Mapache.

mkalkbrenner’s picture

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.

mkalkbrenner’s picture

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.