-
AuthorPosts
-
December 29, 2007 at 5:54 am #124684
Hello,
How could I assign 1 different style (color green and blue) to 2 sets of my web pages?:-[
My question also goes for a case where the site needs 2 different templates for different parts of it.mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
December 29, 2007 at 8:33 am #235381Make a copy of your first template and call it Ja Fagus 2 set the colours up in the template php files and assign it to the pages required, same for totally different template. 😉
December 29, 2007 at 10:45 am #235389Which php files exactely. Could you help? 😉
Thank you
December 29, 2007 at 10:58 am #235390Should I make a copy of the template right on the server using ftp or should i rename the template zip file then upload-install it using joomla admin. I tried the second option: failed
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
December 29, 2007 at 11:47 am #235391For details of which files visit the instruction page here think part 6 deals with colour
To copy a template go to your Template site manage click the circle next to Ja Fagus and click copy rename the template (in the templateDetails.xml file, where it say name) so it has an original name like Ja Fagus 2 and then assign it to where you need.
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
December 29, 2007 at 12:53 pm #235394And to make sure you gonna get this to work you also need to open up ja_vars.php on line 21 and change this:
$ja_template_name = 'ja_fagus';
to ja_fagus2.Rename the template folder to ja_fagus2, If you dont do that the template nr 2 will use settings from template nr1.January 25, 2008 at 3:27 am #237129I still do not know how to copy a template and rename it using your advise. Sorry, I can’t find the page where to rename an already installed template.:confused:
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
January 25, 2008 at 7:22 am #237157You can copy the folder called ja_fagus and call it ja_fagus2, then open the templatefolder and open up the file called templateDetails.xml, rename ja_fagus there to ja_fagus2, then open up the ja_vars.php in the templates folder and find $ja_template_name = ‘ja_fagus’; and change to $ja_template_name = ‘ja_fagus2’; then you should be able to make a zip file and install with the installer an have a template called ja_fagus2
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by Menalto 16 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum