MyBB Community Forums
Add Stuff To Header For ONE Page Only - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Add Stuff To Header For ONE Page Only (/thread-173420.html)



Add Stuff To Header For ONE Page Only - Kolisnyk - 07-22-2015

I am new to MyBB (got it yesterday), but it's pretty straight forward so far.
Although, I hit a speed bump.

How would I go about adding more content (images) to the header (see outline one), thus moving the whole content box down (see outline two).

Is this possible to do with only selected pages?
I am using an addon called OUGC Pages for my pages.

Thanks for the help!


RE: Add Stuff To Header For ONE Page Only - Destroy666 - 07-24-2015

Download and activate Template Conditionals: http://mybbhacks.zingaburga.com/showthread.php?tid=464 Then in the header template add something like:
<if THIS_SCRIPT == 'pages.php' && $mybb->input['page'] == 'yourpagename' then>
your code for the specific page..
</if>
It will work if you're using the default URL format.