Closed (fixed)
Project:
Advanced Forum
Version:
6.x-1.0-rc3
Component:
Styles
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2009 at 20:33 UTC
Updated:
14 Mar 2009 at 02:45 UTC
The main forum table looks good. It correctly displays forum name, topics, views, and latest post with all styles. However, everything under the "What's going on?" section is ONLY displaying in the naked adv_forum theme. This includes items like active users/guests, latest members, statistics there, and even the image legend.
FYI, I'm using the Newsflash theme for my site as well as the Author Pane module. For user profiles, I'm using the Drupal core profile, not APR (http://drupal.org/project/advanced_profile).
Comments
Comment #1
michelleHmm... That's very strange. Set it to one of the styles that isn't working and open up naked/advf-forum-list.tpl.php and scroll down to this bit:
Change it to:
Then clear your cache and look and see what it prints.
Michelle
Comment #2
aztechnetworks commentedHi,
I have the exact same issue. I checked the code mentioned by Michelle above, but the code is different in the other themes. The code listed above is what is in the Naked theme (which works correctly).
This is what is in the "blue lagoon" theme, for the statistics display section:
Any assistance is appreciated.
Cheers,
Aaron
Comment #3
michelleStill waiting on an answer to my question in #1. I can't help any further until I get that.
Michelle
Comment #4
michelleIt's been 10 days and no response from the OP. Nothing more I can do here.
Michelle
Comment #5
aztechnetworks commentedMichelle,
If I apply the changes you mentioned above to naked/advf-forum-list.tpl.php, I get the following results:
1. Naked Style: Shows "STATISTICS STATISTICS NOT EMPTY" above the "user stats area".
2. All other themes: No change.
This what I would have expected to happen. Naked style works correctly and shows stats, the other styles don't. I am not sure how changing the tpl for the naked theme would change anything in the other themes? Or do they all use the naked tpl as a source?
I guess, what I was asking in my post above is, what do I need to change in the tpl for the other themes as they aren't in the same format as the naked one in your quote?
Is there a difference in the way the other themes call the stats that my cause them to not be able to read them successfully?
Thanks for your assistance.
Cheers,
Aaron
Comment #6
aztechnetworks commentedUpdated issue settings.
Note: Issue is still happening in RC3.
Comment #7
michelleAll the other styles inherit from the naked theme, except where they have files of their own to override them.
"what do I need to change in the tpl for the other themes as they aren't in the same format as the naked one in your quote" <-- That doesn't make sense. The other styles don't have
advf-forum-list.tpl.phpin them. If they do, then you have made changes to the module, which would be why this is broken. I suggest you re-install it and make changes the proper way by copying the .tpls you want to change to your theme.Michelle
Comment #8
michelleNo further comment in a week. Closing.
Michelle