Needs review
Project:
Advanced Forum
Version:
6.x-2.0-alpha4
Component:
Styles
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2011 at 16:01 UTC
Updated:
3 Apr 2012 at 04:46 UTC
Hi,
it seems, that there is no theming function for "node comments" is called, if you reply on a comment. On
path /node/add/comment/9/18
Could you tell me, what function theme the node comments on a "reply" page?
Is it _advanced_forum_preprocess_comment or is it _advanced_forum_preprocess_node for "node-comments", too?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| Bild 15.png | 32.49 KB | Apfel007 |
Comments
Comment #1
Apfel007 commentedanyone out there, who knows where the template is passed to the page in this case? is it a node comments issue?
In case of node comments the _advanced_forum_preprocess_node should used?
Comment #2
Apfel007 commentedHi,
it seems I found the function cause this problem.. it's "function advanced_forum_is_styled" in style.inc 139
The problem is the "static $master_topic_id;", if it have no value the node isn't styled.
It isn't created if you have node comments! for now I add this - now it's working. Please have a look on it.
Comment #3
mcdruid commentedThanks Apfel007 - I'll have a look at this as soon as I can.