Changing The Template's Name At Icy


Subject: 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!

Profile PM  
Subject: 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'));
}

Profile PM  
Subject: 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!!

Profile PM  
Subject: Re: Changing The Template's Name At Icy
You are welcome :mricy:

Profile PM  

Page 1 of 1


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1184s (PHP: 14% SQL: 86%)
SQL queries: 10 - Debug Off - GZIP Enabled