Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post How Can I Make The Location Header Wider? 
 
Hi there,

I wanted to make the header/table where these links appear:  Home » Forum » Icy Phoenix Support » General Support

I had a look at index_body.tpl but cannot figure out how?

Any ideas?
 



 
jzSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
That it's inside every section template i think
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
I only use aphrodite, but not sure where that  bit of code is...
 



 
jzSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
For ex. For changing

 Home » Forum » Icy Phoenix Support » General Support » How Can I Make The Location Header Wider?

you have to edit viewtopic_body.tpl for example

Post a screenshot of what u want to change and 'll told u where it's in the template
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
Zuker wrote: [View Post]

you have to edit viewtopic_body.tpl for example


It is also in  viewforum_body.tpl
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
Artie wrote: [View Post]
Zuker wrote: [View Post]

you have to edit viewtopic_body.tpl for example


It is also in  viewforum_body.tpl


What i sayd it's in viewtopic.

The rest (Home » Forum » Icy Phoenix Support » General Support) it's where u sayd
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
It is in overall_header.tpl. Isn't it?
 




____________
Webmaster: EliteMoviles
Server: Sotem.es
Version: Icy Phoenix 1.2.0.27
 
AexoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
That's where I thought it was, I might be blind...

basicly I wanted to change it the way it was in XS,,, with the nav_quick_links box shwing under the Home » Forum » Icy Phoenix Support table.

I see in MG themes is still like that..  
 



 
jzSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
I still do not understand what u whant to change
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
See the pick,

I want to make the Quick Nav table to appear below the table see pick2.
snap1_1181833554_613876
snap2
 



 
jzSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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:
Code: [Download] [Hide]
  1. <!-- BEGIN switch_show_news -->  
  2. <div align="center">{XS_NEWS}</div>  
  3. <!-- END switch_show_news -->  
  4. {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.
 



 
moreteavicarSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
moreteavicar,

thank you for the clear explanation...
I still want the quick links menu to show, but wanted to have it like XS. I tried correcting the code but I'm no coder so will leave it.
 



 
jzSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
Probably a wise choice, on the basis of amount of effort for not much visual change! I forgot to explain the reason that the horizontal navlinks is coded in each body template file, rather than one simple file like for nav_quick_links.tpl, and that is because it is page sensitive - for example you'll notice it provides options for viewing posts in the forum, and for viewing slideshows in the album.

A while back I had been working on creating a single file equivalent, which determined what page was being viewed and created the navigation options accordingly - basically lumping all the nav links sections from all body files into a single file, with a case selection process. It'd be a while before I go back to toying with that, but the main motivation for that was to make it easier for creating new templates (I wanted mouse hover effects for nav links in my theme, which meant editing too many files). And now, this thread suggests another use for a single file nav_links, i.e. you could put it wherever you wanted, and hence a better CMS!
 



 
moreteavicarSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Make The Location Header Wider? 
 
moreteavicar wrote: [View Post]
Probably a wise choice, on the basis of amount of effort for not much visual change! I forgot to explain the reason that the horizontal navlinks is coded in each body template file, rather than one simple file like for nav_quick_links.tpl, and that is because it is page sensitive - for example you'll notice it provides options for viewing posts in the forum, and for viewing slideshows in the album.

A while back I had been working on creating a single file equivalent, which determined what page was being viewed and created the navigation options accordingly - basically lumping all the nav links sections from all body files into a single file, with a case selection process. It'd be a while before I go back to toying with that, but the main motivation for that was to make it easier for creating new templates (I wanted mouse hover effects for nav links in my theme, which meant editing too many files). And now, this thread suggests another use for a single file nav_links, i.e. you could put it wherever you wanted, and hence a better CMS!

I raised this may months ago in hidden section...

It's not difficult to create a common header in the overall_header, but it requires time and extra coding in PHP to enable/disable switches.

I'll do it sooner or later because I would like to change this as well.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events