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!
1 Theme, Multiple Styles
Subject: Re: 1 Theme, Multiple Styles
ok I will try and explain this and hopefully you will understand what I mean... :LOL:
in you prosilver folder you have a file called theme_info.cfg open this file and you should see something similar to this..
$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
$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
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..
:mrgreen: :mrgreen:
in you prosilver folder you have a file called theme_info.cfg open this file and you should see something similar to this..
$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
$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..
:mrgreen: :mrgreen:
Subject: Re: 1 Theme, Multiple Styles
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!
DWho wrote: [View Post]
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!
Subject: 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...
:mrgreen: :mrgreen:
I have not tried using the same image folder but might have a play a around to see if it can be done...
:mrgreen: :mrgreen:
Subject: 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!
I think other users could benefit.
Thanks!
Subject: Re: 1 Theme, Multiple Styles
No problem will sort it out sometime this week...
:mrgreen: :mrgreen:
Mighty Gorgon wrote: [View Post]
No problem will sort it out sometime this week...
:mrgreen: :mrgreen:
Page 1 of 1
You cannot post new topicsYou 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.2422s (PHP: 8% SQL: 92%)
SQL queries: 13 - Debug Off - GZIP Enabled