I'm having trouble hiding the Advanced Forum page title. Obviously I'm just missing something, but I tried hiding all node->type ('page') title in template.php, and while it hid every other title on my site, it did not hide Advanced Forum.
I think this might be because Advanced Forum is set up through Menu Item, and I'm not sure what to tell the php to hide in that case. To be more specific, in order to activate/view my forum on the site, I had to set it up as a menu item and specify a title that is displayed in the header and at the top of the page.
I want to hide the title so I can use an img at the top of the page instead. Thanks everyone, I really appreciate it!
Comments
Comment #1
kristin-2 commentedOh, I should also mentioned that I deleted the title in page.php and nothing happened on my forum. I'm guessing the forum root "page" doesn't technically qualify as a page, so in that case what is it?
Comment #2
kristin-2 commentedA little more info, hopefully it helps someone find a solution, but my forum root title/menu title is "AmigoBoard" and the url is /forum.
Comment #3
michelleForums aren't nodes, so that code isn't going to work. You could use something like
if (arg(0) == 'forum) {}to test if you're on any /forum* page.This doesn't have anything to do with AF. Page titles are printed in page.tpl.php, which is outside of AF's scope.
Michelle
Comment #4
kristin-2 commentedThanks for your reply Michelle, I'll post this as a "forum" question. Thanks again!
Comment #5
michelleWell, I didn't just shoo you away... I gave you the answer. :) (forgot the closing quote, though, so if it didn't work that may be why)
Michelle