- Posts: 13
COMMUNITY FORUM
Override the index.php file from joomla template
- piotr
-
Topic Author
- Offline
- New Member
Less
More
12 years 3 months ago #108236
by piotr
Override the index.php file from joomla template was created by piotr
Hi
I'd like to know how to override the index.php file from the joomla template folder when using the template system in k2. The site will have 3 different structures with custom module position codes here and there.
thank you !
I'd like to know how to override the index.php file from the joomla template folder when using the template system in k2. The site will have 3 different structures with custom module position codes here and there.
thank you !
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
Less
More
- Posts: 663
12 years 3 months ago #108237
by BBC
Replied by BBC on topic Re: Override the index.php file from joomla template
You cannot do this without heavy complications. K2 templating is different philosophy then Joomla templating.
Please Log in or Create an account to join the conversation.
- piotr
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 13
12 years 3 months ago #108238
by piotr
Replied by piotr on topic Re: Override the index.php file from joomla template
oh, that makes me a very sad panda.
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
Less
More
- Posts: 663
12 years 3 months ago #108239
by BBC
Replied by BBC on topic Re: Override the index.php file from joomla template
There are no shortcuts for good looking website. Style everything manually to be prefect. :cheer:
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 3 months ago #108240
by william white
Replied by william white on topic Re: Override the index.php file from joomla template
You can create a copy of your template file in your templates directory (entire file) with a different name say beez4.
Edit the templatedetails.xml file - change the name and description tags to the new name
If there is a language directory rename the beez3 to beez4
Goto extension manager - discover - and tick the new template - then install
Make changes to the new templates item.php
Assign the template to the menu choices you want it to work with
K2 overriding will remain the same.
Edit the templatedetails.xml file - change the name and description tags to the new name
If there is a language directory rename the beez3 to beez4
Goto extension manager - discover - and tick the new template - then install
Make changes to the new templates item.php
Assign the template to the menu choices you want it to work with
K2 overriding will remain the same.
Please Log in or Create an account to join the conversation.
- piotr
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 13
12 years 3 months ago #108241
by piotr
Replied by piotr on topic Re: Override the index.php file from joomla template
BBC If the complications you were referring to manually styling and css then this is no problem for me as I edit about everything I can see with the .php and .css files. The problem was with understanding some global idea how far k2 is integrated into the joomla system as I've never had occasion to try the method William wrote.
Thanks I'll give it a try.
Thanks I'll give it a try.
Please Log in or Create an account to join the conversation.