Keyword

Subtemplates > itemform.php ist not working

  • Electronic Beatz Network
  • Electronic Beatz Network's Avatar Topic Author
  • Offline
  • New Member
More
3 years 1 week ago #178680 by Electronic Beatz Network
Subtemplates > itemform.php ist not working was created by Electronic Beatz Network
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.

More
3 years 1 week ago #178693 by JoomlaWorks
Replied by JoomlaWorks on topic Subtemplates > itemform.php ist not working
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).

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

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

More
3 years 1 week 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.

  • Electronic Beatz Network
  • Electronic Beatz Network's Avatar Topic Author
  • Offline
  • New Member
More
3 years 1 week ago #178730 by Electronic Beatz Network
Replied by Electronic Beatz Network on topic Subtemplates > itemform.php ist not working
Thanx a lot, it worked.

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

More
3 years 4 days ago #178760 by JoomlaWorks
Replied by JoomlaWorks on topic Subtemplates > itemform.php ist not working
Great :)

Fotis / 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