
Re: How Can I Make The Location Header Wider?
You have to edit each body template file for that... but if you have site-wide left menu activated, then it can't be done.
The reason is the integration of forum/global headers (menus), which will interfere with that, due to the nature of how the system works.
The "sidebar" is a consequence of an addition in overall_header.tpl which adds the side bar and optional center blocks via {PORTAL_HEADERLEFT} and {PORTAL_HEADERCENTER}. These are initial columns that get parsed before the nav_links table, so will always occupy that space to the left. The main body template file gets parsed after overall_header.tpl, where the horizontal navlinks is contained, and thus will appear to the right of the site-wide sidebar on the left ("headerleft").
On the otherhand, if you don't want to have a site-wide left sidebar, and wanted to change the nav links layout on the forum page, then you simply need to disable site-wide header block (navlinks) in CMS (confusion can arise here because in
phpBBXS navlinks used to be called navquicklinks, and in fact the template file is still called that, whereas the horizontal block used to be called navlinks, and is still specified as that in the <div> tags). If you still want to see the nav_quick_links menu on the left, but below the horizontal links bar, (as on index.php page) then you need to edit index_body.tpl after the nav links section (after </div> ), and just above:
- <!-- BEGIN switch_show_news -->
- <div align="center">{XS_NEWS}</div>
- <!-- END switch_show_news -->
- {BOARD_INDEX}
You need to add something like <!-- INCLUDE nav_quick_links.tpl -->
However, it won't be as straight forward as in
phpBBXS because of missing table and td tags. You'll need to experiment in that file until the layout looks right. To get an idea, I suggest you look at the
phpBBXS templates, in particular nav_box.tpl, which has a line to include nav_quick_links.tpl (and index_body.tpl a line to include nav_box.tpl) to reverse the changes
MG made for icyphoenix. You'll notice nav_box starts off with <table><tr><td>, but doesn't close the opening ones in that file. Instead, those tags are closed a the bottom of index_body.tpl. These tags are important to help control the positioning of the nav box and the forum.