3367 Posts in 946 Topics by 846 members
|Go to End|
17 February 2009 at 6:49pm Last edited: 17 February 2009 6:52pm
I want to remove the sidebar for just the forum pages. I managed to do this for the actual forum pages using the InSection() property:
<% if InSection(forums) %>
However, for the ForumMemberProfile pages nothing that I do seems to work, I've tried using InSection and ClassName and neither will recognize that it's in the ForumMemberProfile section. I'm guessing that the problem is caused by ForumMemberProfile being a child-class of Page_Controller instead of Page, and there is no associated Page child-class.
Any ideas on how to perform an if/else in a template that detects when it's on a ForumMemberProfile page?
|Go to Top|