https://www.icyphoenix.com/viewtopic.php?f=41&t=9649&p=60887#p60887
-----------------------------------
MWE_001
Sun 11 Sep, 2016 04:19

Re: New Style In The Works
-----------------------------------
Ok fellas , here is the skinny on this little project of mine.

I am satisfied with results thus far. Images have been cleaned up but can use a tad more scrubbing to lessen the file size. Easily fixed.

I have a fresh Icy Phoenix installed that is pure vanilla, no plugins no nothing. I downloaded my zip file of Integra2 from Git and for some strange reason, my images folder was out of sorts and I had to fix it. Then I uploaded the folder to my templates folder and it will not show up in my install panel of extreme styles. I had it working once and I think I might have committed a bad commit and screwed up my cfg and now I can't get it to work. Here is my theme_info.cfg just for the info. Any ideas what I need to do? I amnot running it in the icy_phoenix folder. I have this template in it's own directory like the mobile style.

[spoiler][code linenumbers=false]<?php
/**
*
* @package Icy Phoenix
* @version $Id$
* @copyright (c) 2008 Icy Phoenix
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

$tc = 0;

$styles_array = array(
	'integra2' => array('template_name' => 'integra2', 'style_name' => 'Integra2'),
);

foreach ($styles_array as $k => $v)
{
	if (file_exists('../templates/' . $styles_array[$k]['template_name'] . '/images/' . $k))
	{
		$integra2[$tc]['template_name'] = $styles_array[$k]['template_name'];
		$integra2[$tc]['style_name'] = $styles_array[$k]['style_name'];
		$integra2[$tc]['head_stylesheet'] = 'style_' . $k . '.css';
		$integra2[$tc]['body_background'] = $k;
		$integra2[$tc]['body_bgcolor'] = '';
		$integra2[$tc]['tr_class1'] = 'row1';
		$integra2[$tc]['tr_class2'] = 'row2';
		$integra2[$tc]['tr_class3'] = 'row3';
		$integra2[$tc]['td_class1'] = 'row1';
		$integra2[$tc]['td_class2'] = 'row2';
		$integra2[$tc]['td_class3'] = 'row3';
		$tc++;
	}
}

?>[/code][/spoiler]

**EDIT**

Sorry guys never mind the cfg. It loads up real nice now. The answer to my issue was in the .cfg [code linenumbers=false] . '/images/'[/code] I went back and looked at my fix for the images path and my fix needed fixed lol.  :oops:  I reuploaded everything to git again and it totally destroyed my image folder again. I'll figure it out. But at least the template works!

I'll hopefully talk to the remainder of the Integra team Helterskelter here soon and get his ok on the theme and images.


