Keyword

Override the index.php file from joomla template

More
11 years 9 months ago #108236 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 !

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #108237 by BBC
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.

More
11 years 9 months ago #108238 by piotr
oh, that makes me a very sad panda.

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #108239 by BBC
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.

More
11 years 9 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.

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #108241 by piotr
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.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum