Closed (fixed)
Project:
Advanced Forum
Version:
6.x-1.x-dev
Component:
Theming
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2008 at 01:55 UTC
Updated:
29 Aug 2008 at 04:42 UTC
THe documentation indicates that there advance forum can be used to theme comments on other node types, but doesn't really say how. The admin panel has an option to use advanced forum to theme all comments, but when I choose that option, nothing changes. Forum comments are themed correctly but poll, recipe and other node type comments are not.
Can anyone point me in the right direction?
Comments
Comment #1
michelleThat's all you need to do on the advforum end of things. Perhaps something in your theme is overriding? Or something is getting cached?
Michelle
Comment #2
swirtThanks. Must be in the theme (I'm using a zen subtheme) because it is not a cache issue.
Here's an example if this helps at all
This is a forum topic http://www.innspiring.com/node/141
this is a poll topic http://www.innspiring.com/node/107
Comment #3
swirtI'm using a zen subtheme. I have verified that the non forum pages are getting the right stylesheets, but the page itself is not getting structured using the adv forum structure. It just keeps using the default comment structure. Is there an Advanced Forum tpl file I have to move or a Zen tpl file I have to remove/replace?
Comment #4
michelleNo... You shouldn't need to copy anything in 6.x. It should be able to find everything right in the module directory. I don't see how subthemes would affect this, but I can ask.
Michelle
Comment #5
michelleGave this a bit more thought and I realized I was accepting what you wrote in your initial issue without thinking about it. But, actually, that's not the issue at all. This is a poll that is in the forum and neither the node nor the comments are getting the advforum theme. So that has nothing to do with the option to theme non forum comments. I just tested on my dev site and it works fine with poll, so there's nothing specific to that causing the problem. One possibility is if you have a node-poll.tpl.php somewhere in your theme it may be grabbing control. If that's not it, I'm going to need you to put in some debug code to figure out where it's getting confused.
Michelle
Comment #6
swirtThanks Michelle,
I appreciate your time on this.
There is no node-poll.tpl or recipe tpl of any kind in either my Zen subtheme or in the main Zen theme.
The only poll related tpl files I can find are in the poll module. The same is true for the recipe module, there is no tpl for recipe. I am also getting the same un-adv forum theme comments on two other content types created with cck.
I am also using Forum Access if that info helps at all.
Let me know what I need to do to put in the debug code to give you more info.
cheers,
-Steve
Comment #7
michelleSorry I never got back to this... Is it still a problem?
Michelle
Comment #8
swirtThe latest release seemed to solve the problem. Installed that and the all look like they should now. Thanks again.
Comment #9
michelleGreat, one less on the list. :)
Michelle
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.