Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Changing The Template's Name At Icy 
 
Hi

Well, I've just finished a new template based on MG Gray, but now when I change the name of it (instead of gray), It shows the overal_header.tpl, instead of the overal_header_SQ.tpl.

That's the only troubble, every other things are ok.

Some help?

Thanks!
 



 
Lord KaraduraSend 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: Changing The Template's Name At Icy 
 
Maybe you have to change this file:

open includes/page_header.php
Code: [Download] [Hide] [Select]
// Parse and show the overall header.
if ( ($theme['template_name'] == 'mg_themes') && ( ($theme['body_background'] == 'gray') || ($theme['body_background'] == 'ice') ) )
{
    $head_foot_alt = true;
}
else
{
    $head_foot_alt = false;
}

if ( $head_foot_alt == true )
{
    $template->set_filenames(array('overall_header' => ( empty($gen_simple_header) ) ? 'overall_header_sq.tpl' : 'simple_header.tpl'));
}
else
{
    $template->set_filenames(array('overall_header' => ( empty($gen_simple_header) ) ? 'overall_header.tpl' : 'simple_header.tpl'));
}

 



 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post SOLVED: Changing The Template's Name At Icy 
 
Very Thanks!

I added my template's name next to gray and icy. Look:

Code: [Download] [Hide] [Select]
// Parse and show the overall header.
if ( ($theme['template_name'] == 'mg_themes') && ( ($theme['body_background'] == 'gray') || ($theme['body_background'] == 'ice') || ($theme['body_background'] == 'HERE THE COLOR NAME') ) )
{


It perfectly worked, thanks.

Greetings!!
 



 
Lord KaraduraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Changing The Template's Name At Icy 
 
You are welcome  
 



 
TheSteffenSend private message  
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


  

 

  cron