I feel like a dope, and I'm sure it's just the lack of coffee, but I keep stumbling on this.

I have a D6.14 installation, running 6.2.x -dev (problem same on 6.x-2.0-alpha2) of Advanced Forum, and 6.1.1 Author Pane.

I want to fiddle with the author pane data that appears in the forum. My efforts have failed despite clearing the cache a lot! The only places my changes seem to take effect is if I modify the .tpl file in the Author Pane module itself! But this is just a forum thing.

What is the proper place for advf-author-pane.tpl.php?

Is it in the theme folder (e.g. Garland) as the documentation says? I am using the Giordani theme of Marinelli, if that matters.

Or is it the Advanced Forum Style Folder (naked or cloudless day, which I am using)

Or am I just too dense to be allowed to play with computers?

Thanks

Comments

michelle’s picture

Status: Active » Fixed

You can't use the old 1.x style files on 2.x. You need to copy advanced_forum.naked.author-pane.tpl.php to your theme and modify it there.

Michelle

cayenne’s picture

Thank you Michelle! I shall act accordingly. I got misled by the old advice floating around.

michelle’s picture

2.x is still in alpha and not very documented, yet. http://drupal.org/node/512106 is where the 2.x docs are going.

Michelle

cayenne’s picture

Thanks for that, too! You and your modules rock! I had seen that page but not realized the depth of the differences, thinking it just a restatement of what was out there...

(edit) It still seems not to function as planned, even with the file as named in the style directory. Don't worry about it for now. Not critical. If you'd like to point me to where in the module it determines what author pane tpl file it uses, I'd be happy to try to run it down. Otherwise, do not worry or let it affect your priorities.

michelle’s picture

I just tried it on my own site because I have some mods I need to make as well and it worked fine. All I did was copy advanced_forum.naked_stacked.author-pane.tpl.php to the root of my theme and it picked it up right away without even clearing the cache. This template overriding is in core, not in AF, and it's been so long since I dug through the core template discovery code that I don't remember enough to direct you, sorry. :(

Michelle

cayenne’s picture

Okay. I'll fiddle around with it! Thanks very much for trying. It's still not changing for me, but I have a workable site and will try it out on a plain vanilla site. There may be other issues leading to the problem....

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.