- Posts: 7
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Template overrides not being picked up by K2 categories
Template overrides not being picked up by K2 categories
- PufferMedia
- Topic Author
- Offline
- New Member
Less
More
15 years 2 months ago #72037
by PufferMedia
Template overrides not being picked up by K2 categories was created by PufferMedia
I've followed the instructions here: k2community.joomlaworks.gr/notes/Templating_in_K2
And it seems straight-forward enough, however it isn't working for me.
I've doubled checked all my paths and made sure everything is where it should. But if I make a template for, say, /blog by coping the /default folder in /templates/YOURJOOMLATEMPLATE/html/com_k2/ - it does not show up in the K2 category editor. If I perform the same action in directly in /components/com_k2/templates/ (make a sub-template /blog) it will show up in the Template dropdown.
Also, what's the quickest way to completely over-ride the the theme css?
And it seems straight-forward enough, however it isn't working for me.
I've doubled checked all my paths and made sure everything is where it should. But if I make a template for, say, /blog by coping the /default folder in /templates/YOURJOOMLATEMPLATE/html/com_k2/ - it does not show up in the K2 category editor. If I perform the same action in directly in /components/com_k2/templates/ (make a sub-template /blog) it will show up in the Template dropdown.
Also, what's the quickest way to completely over-ride the the theme css?
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
15 years 2 months ago #72038
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Template overrides not being picked up by K2 categories
Hi. You have to put your template in the folder /templates/YOURJOOMLATEMPLATE/html/com_k2/templates/.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- PufferMedia
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
15 years 2 months ago #72039
by PufferMedia
Replied by PufferMedia on topic Template overrides not being picked up by K2 categories
Ah. There we go. Thanks.
That would be a bug in the template override instructions then, no?
I wonder if that means that the standard overrides (generic.php, profile.php...etc) need to go in that /templates folder as well.
Anyone want to weigh in on the best way to setup CSS overrides?
Again, thanks for the clarification.
That would be a bug in the template override instructions then, no?
I wonder if that means that the standard overrides (generic.php, profile.php...etc) need to go in that /templates folder as well.
Anyone want to weigh in on the best way to setup CSS overrides?
Again, thanks for the clarification.
Please Log in or Create an account to join the conversation.
- PufferMedia
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
15 years 2 months ago #72040
by PufferMedia
Replied by PufferMedia on topic Template overrides not being picked up by K2 categories
Okay... can someone explain to me why the overrides I need to use differ from the stated procedure for running template overrides.
Sure, its working, but having to use an extra folder in the path (/templates/YOURJOOMLATEMPLATE/html/com_k2/templates/ as opposed to the instructions stated path of /templates/YOURJOOMLATEMPLATE/html/com_k2/) is a pretty significant difference from the 'documentation'.
Also, I cannot get over-rides to work for mod_K2_content. My changes don't seem to pick up in the same with as other modules.
Sure, its working, but having to use an extra folder in the path (/templates/YOURJOOMLATEMPLATE/html/com_k2/templates/ as opposed to the instructions stated path of /templates/YOURJOOMLATEMPLATE/html/com_k2/) is a pretty significant difference from the 'documentation'.
Also, I cannot get over-rides to work for mod_K2_content. My changes don't seem to pick up in the same with as other modules.
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Template overrides not being picked up by K2 categories