Keyword

Subtemplates > itemform.php ist not working

  • Florian Martin
  • Florian Martin's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 4 days ago #178680 by Florian Martin
Subtemplates > itemform.php ist not working was created by Florian Martin
Hi.

I followed these steps and the creating of subtemplates for different categories works.
getk2.org/documentation/tutorials/templating-with-k2-and-the-concepts-of-sub-templates

The files "category.php", "category_item.php", "item.php" and "tag.php" are sellected correct (via category-options in the backend).

But... the frondend-editing ("itemform.php") is always using the file from "components\com_k2\templates\default\" and not (for example) from "templates\ebn\html\com_k2\artists\".

Is that a bug or - when not - how can I make it work like the other files?

Thanx, Florian

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 3 days ago #178693 by Fotis
If there is no menu item, then the default layout will always be loaded.

Create a menu item to an edit form and assign your template (as shown here: jmp.sh/a5TER5P).

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.

More
3 weeks 1 day ago #178715 by Goble002
Replied by Goble002 on topic Subtemplates > itemform.php ist not working
You can as well load k2 user module to add new item. It should pick up your override...

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

  • Florian Martin
  • Florian Martin's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 6 hours ago #178730 by Florian Martin
Replied by Florian Martin on topic Subtemplates > itemform.php ist not working
Thanx a lot, it worked.

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 #178760 by Fotis
Great :)

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.


Powered by Kunena Forum