Home k2 module subtemplate doesn't pick up changes after editing - joomla 3.8.0
Reply: 2

k2 module subtemplate doesn't pick up changes after editing - joomla 3.8.0

kalu
1#
kalu Published in 2017-12-07 14:31:32Z

I hope some of you joomla enthusiast can help a beginner with a problem.

So I created a subtemplate for a k2 module in the folder templates/my_template/html/mod_k2_content. This folder contains the two subfolders Default (contains the default.php) and Team (contains the team.php). The team.php file is the default.php file with minor changes. Everything worked fine and i could select the "Team" subtemplates in the joomla backend and it also showed the changes. Now I tried to edit the team.php in templates/my_template/html/mod_k2_content/Team again and it just doesn't pick up the changes anymore. When I edit the default.php in templates/my_template/html/mod_k2_content/Default it works just fine on the modules that work with the default subtemplate.

But the modules that have the Team subtemplate selected just stay the same, the way they were when i first selected this subtemplate for the modules.

Anybody that already enountered that problem and knows what I'm doing wrong? I already reselected the team subtemplate several times and made sure I'm connected to the server. I also encluded a bunch of characters in the code to make the changes more visible, to make sure I'd truly notice them if the would be picked up. But nothing.

I'm really grateful if someone can help.

Thank you a lot!

Paul van Haren
2#
Paul van Haren Reply to 2017-12-08 07:36:27Z

Just to be sure: did you disable the caching on the website as well as the caching on your browser?

kalu
3#
kalu Reply to 2017-12-08 16:14:13Z

Okay i figured it out myself - The problem is that i can have different folders with different names in my templates/my_template/html/mod_k2_content folder, but each folder needs to contain a default.php. I renamed the team.php in my templates/my_template/html/mod_k2_content/Team folder to default.php and now the changes are being picked up !

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.301648 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO