Keyword

Override Templates

  • David Willox
  • David Willox's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 1 month ago #146418 by David Willox
Override Templates was created by David Willox
I desperately need some help!
For many years I have used K2 and the override templating but I now cannot get it to work.
I can see the templates in the back end and I assign them but they do not show up in the front end. When I look at the source code I find that they are simply not loading.
I have tried basic Joomla installs with no other extensions added and using protostar template.
I am quite willing to pay to get this sorted.

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

  • Rupert Griffiths
  • Rupert Griffiths's Avatar
  • Offline
  • Junior Member
More
9 years 1 month ago - 9 years 1 month ago #146420 by Rupert Griffiths
Replied by Rupert Griffiths on topic Override Templates
Thats strange that it has stopped working suddenly.

What is your folder structure for the over-rides.

Normally something like:

root>templates>Your template > com_k2>templates>over-ride-folder>files

If so are you sure they are in your default template directory?
Last edit: 9 years 1 month ago by Rupert Griffiths.

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
9 years 1 month ago #146424 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Override Templates
Hi David,

Have you tried to enable debugging to check whether the template override files have any issues preventing them from loading?

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

  • David Willox
  • David Willox's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 1 month ago #146438 by David Willox
Replied by David Willox on topic Override Templates
The directory tree looks as below:
Directory

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

  • David Willox
  • David Willox's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 1 month ago #146440 by David Willox
Replied by David Willox on topic Override Templates
Clearly the image link does not want to work so:
Directory

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
9 years 1 month ago #146441 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Override Templates
I'm talking about a php error, not a problem in the directory structure.

You can set Error Reporting to maximum or development and check if any error occurs, then set it back to None.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

  • David Willox
  • David Willox's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 1 month ago #146559 by David Willox
Replied by David Willox on topic Override Templates
I have finally found not one but two solutions:
  1. If you use the original method just go back to using the css4K2 plugin. You can find the plugin on GitHub.
  2. Alternatively there is a new(ish) method which I had not picked up on - and I see others haven't. You can see it on the K2 Joom site.
I would post the links but the forum thinks I am trying to spam when I do.
Finally - it would seem to make sense to include explanation more prominently on the K2 site.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month ago #146566 by Krikor Boghossian
Replied by Krikor Boghossian on topic Override Templates
Try posting the links without the http:// part. Sometimes Akismet can be overly eager.

Now as for using multiple templates this post will help you:
www.joomlaworks.net/blog/item/194-k2-inheritance-sub-templating

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum