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!

CommentFileSizeAuthor
Picture 7.png37.71 KBkristin-2

Comments

kristin-2’s picture

Oh, 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?

kristin-2’s picture

A little more info, hopefully it helps someone find a solution, but my forum root title/menu title is "AmigoBoard" and the url is /forum.

michelle’s picture

Status: Active » Fixed

Forums 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

kristin-2’s picture

Thanks for your reply Michelle, I'll post this as a "forum" question. Thanks again!

michelle’s picture

Well, 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

Status: Fixed » Closed (fixed)
Issue tags: -advanced forum, -Hide title

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