Keyword

Problem with front end templates after update

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
More
1 month 2 days ago - 1 month 1 day ago #170645 by Chris
Chris created the topic: Problem with front end templates after update
Hi,
I've just updated to 2.9.0 version and I face a problem:
The templates I've made for frontend inserting k2 items, are not loaded. They are visible and can be selected at menu link template, but the default tempate is loaded instead.
Pls help.

Chris

Additional info
I've tried
1. Fresh Joomla 3.9 installation, default Breez template
2. Fresh Joomla 4 (development) installation, default Breez template

The problem remains!!
Something wrong with K2 2.9 code??
Pls help!!
Last Edit: 1 month 1 day ago by Chris.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
4 weeks 1 day ago #170679 by Fotis
Fotis replied the topic: Problem with front end templates after update
For starters, K2 is not tested with Joomla 4.

Secondly, if you refer to a custom frontend editing form (the itemform.php file) there have been quite a few changes in the stock template (we basically re-use the same file from the backend). If that's the case, simply copy the contents of the file included in the default itemform.php file in K2's templates and adjust accordingly.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
More
4 weeks 17 hours ago #170691 by Chris
Chris replied the topic: Problem with front end templates after update
Fotis, the problem is that whatever template I choose, The default template is loaded.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 3 days ago #170737 by Fotis
Fotis replied the topic: Problem with front end templates after update
Does the default template at least work properly for you?


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
More
2 weeks 2 days ago #170783 by Chris
Chris replied the topic: Problem with front end templates after update
Yes, the default template is working, but I need to change it. There must be 3-4 customized templates according to front end user.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 5 days ago #170802 by Fotis
Fotis replied the topic: Problem with front end templates after update
If you already have different subtemplates per K2 category, then simply copy itemform.php inside each /template/YOUR_TEMPLATE/html/com_k2/subtemplateX/ folder, fill the contents of the file with what's in "/administrator/components/com_k2/views/item/tmpl/default.php" and modify as you wish.

When you're in the right category loading the respective subtemplate in K2 and hit to edit some item, it should load the customized itemform.php layout in that subtemplate.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white