Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 1 Theme, Multiple Styles 
 
I will tell you a bit what I want, and hope I make my point clear!
I would like to use one template, namely prosilver_ip.
But I would like to have multiple styles for this one: How can I create this the easy way?


I tried the following:
1. I installed theme prosilver_ip, deleted all other templates. This worked.
2. I use the following style: style_blue and changed whatever I wanted to change. It uses the image submap (in template file)
3. I would like to add the 3 styles: style_blue1, style_blue2 and style_blue3. The only thing that would be different is the *.css file.
Step 3 did not work for me. I tried to copy the css files and renaming them, I tried cloning the original style_blue style. All did not work. They do show up and you can choose them, but they do not use the correct style_blue1.css file I set up, but instead they use the original.

What did I do wrong? Thanks in advance!
 



 
OwnageWorldSend 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: 1 Theme, Multiple Styles 
 
ok I will try and explain this and hopefully you will understand what I mean...

in you prosilver folder you have a file called theme_info.cfg open this file and you should see something similar to this..

Code: [Download] [Hide] [Select]

$styles_array = array(
    'blue' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP Blue')
);


to make more themes using the same template.... add to this as follows

Code: [Download] [Hide] [Select]

$styles_array = array(
    'blue' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP Blue'),
    'green' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP Green'),
    'red' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP red'),
    'yellow' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP yellow')
);


Obviously change the names to the names of your themes...

then you need to make a css file for all the themes...

for example  

  • style_blue.css
  • style_green.css
  • style_red.css
  • style_yellow.css


and finally you need to make the image folders...

open images in your template ... blue should already be there...

make new folders called green, red, yellow....

now go to ACP install templates and your new templates should be there once installed you can then change anything you need to on each one.... as the files are all the same...

I hope that helps... I know it is different to what you asked but I thought I would give you the way I know as that's the only way I know LOL

if you need more info please let me know..

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: 1 Theme, Multiple Styles 
 
DWho wrote: [View Post]
ok I will try and explain this and hopefully you will understand what I mean...

in you prosilver folder you have a file called theme_info.cfg open this file and you should see something similar to this..

Code: [Download] [Hide] [Select]

$styles_array = array(
    'blue' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP Blue')
);


to make more themes using the same template.... add to this as follows

Code: [Download] [Hide] [Select]

$styles_array = array(
    'blue' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP Blue'),
    'green' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP Green'),
    'red' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP red'),
    'yellow' => array('template_name' => 'prosilver_ip', 'style_name' => 'proSilver IP yellow')
);


Obviously change the names to the names of your themes...

then you need to make a css file for all the themes...

for example  

  • style_blue.css
  • style_green.css
  • style_red.css
  • style_yellow.css


and finally you need to make the image folders...

open images in your template ... blue should already be there...

make new folders called green, red, yellow....

now go to ACP install templates and your new templates should be there once installed you can then change anything you need to on each one.... as the files are all the same...

I hope that helps... I know it is different to what you asked but I thought I would give you the way I know as that's the only way I know LOL

if you need more info please let me know..

   

Well... it seems I got it working! I could not find this (very clear!) explanation on this forum, so thanks for that!
This might help several other IP members too.

Is it also possible all styles use the same images? As for my website, I only need 1 folder with images (f.e. "blue). Maybe I will change them per style, but that is too much work for now haha!

Thanks again DWho!
 



 
OwnageWorldSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: 1 Theme, Multiple Styles 
 
No problem I hoped I explained it ok...

I have not tried using the same image folder but might have a play a around to see if it can be done...

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: 1 Theme, Multiple Styles 
 
Mike, can you duplicate these instructions (maybe with some small adjustments if needed) into the Docs section?

I think other users could benefit.

Thanks!
 




____________
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
Reply with quote Download Post 
Post Re: 1 Theme, Multiple Styles 
 
Mighty Gorgon wrote: [View Post]
Mike, can you duplicate these instructions (maybe with some small adjustments if needed) into the Docs section?

I think other users could benefit.

Thanks!


No problem will sort it out sometime this week...

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit 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