- Posts: 17
COMMUNITY FORUM
Subtemplates > itemform.php ist not working
- Electronic Beatz Network
- Topic Author
- Offline
- New Member
Less
More
3 years 7 months 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
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178693
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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).
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.
- Goble002
- Offline
- Premium Member
Less
More
- Posts: 157
3 years 7 months 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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 17
3 years 7 months 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178760
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.