-
AuthorPosts
-
Harikalar Kutusu Friend
Harikalar Kutusu
- Join date:
- July 2010
- Posts:
- 52
- Downloads:
- 481
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 4 times in 1 posts
March 5, 2011 at 1:41 pm #161063Hi,
There are two things:
- You can use classic template overrides for compatible Joomla components/modules/plugins using /templates/<templatename>/html/<com|mod|plg_name> and making changes there.
- You can use T3 “Profile Override Settings” under Global tab to show some of your pages (menu items) with a different profile (thus theme)
Question: How can one combine both?
Say, you use two JA Template themes. BLUE and RED.
And you use a non-JA module (call it “mod_abc”) which uses CSS, images and PHP for layout.If you use classic template overrides for “mod_abc” you can either change it to fit blue or red theme.
Any way to create multiple themes under T3 (which uses Profile Overrides) for any component/module/plugin which can be used simultaneously?
Thanks in advance.
Harikalar Kutusu FriendHarikalar Kutusu
- Join date:
- July 2010
- Posts:
- 52
- Downloads:
- 481
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 4 times in 1 posts
March 5, 2011 at 3:44 pm #379841After some more examination of my template JA Events, I see that under templates<my_template>corethemes<theme_name> there are css and images folder.
In the CSS folder, there is a “color.css” file.
I think these steps will solve the problem (can you please confirm):
- Copy one of the core themes to templates<my_template>localthemes , one for each theme I want, say MYTHEME1 and MYTHEME2
- Change them to fit my needs
- Add any CSS definition (not whole file) from component/module/plugin into color.css file and change them, also copy and edit images to these MYTHEMEx/images directories and let the CSS definitions point them
This would only work if this color.css file has the highest priority (higher than the component/module/plugin CSS). Also any related “!important” definitions in component/module/plugin CSS must be removed.
That would only leave PHP related changes/overrides.
Can somebody from JA please confirm if this is the way to go?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 9, 2011 at 2:41 am #380414dear bozden,
Thats good way to go, I can not suggest any better approach at the moment.
Theme css by default has higher priority than com/module/plugin/template css, therefore unless they have “important” marks, theme css should work fine. If the “important” is available somewhere, theres no other choice but removing it.1 user says Thank You to Ninja Lead for this useful post
Harikalar Kutusu FriendHarikalar Kutusu
- Join date:
- July 2010
- Posts:
- 52
- Downloads:
- 481
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 4 times in 1 posts
March 9, 2011 at 1:38 pm #380513Thank you for confirmation 🙂 I already tried this for JA related extensions and it is working perfectly. Actually I think it is designed to be used that way 😉
I did not get into other extensions yet, but I think it will work.
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Harikalar Kutusu 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum