Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Can someone help me get Advanced Forum working with Garland. I saw that the demo site is running garland. Can I see the template.php file please.
Comment | File | Size | Author |
---|---|---|---|
#2 | Screenshot.png | 108.12 KB | AlexJTanner |
Comments
Comment #1
MichelleSigh.
I had included garland's template.php file pre-modified but then I got 3 issues filed about how it was messing up the breadcrumbs even though I didn't touch the breadcrumb function. So I gave up and took it out and, instead, put detailed instructions in the readme. I guess I can't win.
Here is the file:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/advanced_fo...
Please don't file an issue that the breadcrumbs are messed up. I haven't the foggiest idea how to fix that.
Michelle
Comment #2
AlexJTanner CreditAttribution: AlexJTanner commentedstill having weird error of the forums just not showing up. I attached a screenshot
Comment #3
MichelleDid you copy the advforum directory to your theme?
Michelle
Comment #4
AlexJTanner CreditAttribution: AlexJTanner commentedwhere can I find this directory, I copied the advanced_forum directory but I don't see a advforum directory
Comment #5
MichelleIt's in the project tarball.
Michelle
Comment #6
AlexJTanner CreditAttribution: AlexJTanner commentedhmm... I see it, it seems that it doesn't seem to extract when I do it via command line
Comment #7
AlexJTanner CreditAttribution: AlexJTanner commentedI tarballed the directory and put it on my webserver and it worked. I think the tarball may not be completly done right. Anyways I got it working. Woot!
Comment #8
MichelleI just tried it and the tarball worked fine for me. Glad you got it working.
Michelle
Comment #9
skizzo CreditAttribution: skizzo commentedWhile the advanced_forum distribution was out of sync with CVS I downloaded directly from CVS with folllowing command:
cvs -d ":pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib" checkout -r HEAD contributions/modules/advanced_forum
copied advforum into themes/garland as indicated in readme, and the breadcrumb separator problem was gone.
In previous versions (which included dir for_theme instead of advforum) I had to manually fix the separator in template.php,
replacing
>
with entity>
" inreturn '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>';
Comment #10
MichelleWell, it would make sense that the problem was gone as I had stopped including template-garland.tpl due to all the problems with it. That breadcrumb line is what comes with Garland. I didn't touch that function at all.
Michelle
Comment #11
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.