- Posts: 2
COMMUNITY FORUM
Create K2 item front-end (Hide specific extra field)
- Edge
-
Topic Author
- Offline
- New Member
Less
More
8 years 5 months ago #158956
by Edge
Create K2 item front-end (Hide specific extra field) was created by Edge
Hello,
I created a menu item on my website where user can create k2 items.
I have a few questions about some parameters :
- I have several categories :"Cars", "Music", "Books". I would like to create a "create menu item" for each of this category. Is it possible ?
- I want user who add items only choose values in extra field and don't write any content. It works but when I saved an item where there is no content, it doesn't display : "Message Item Saved" where as the item is indeed saved.
Where there is content, the message displays.
- I would like to hide some specific extra field in the creation front-end. How can I do that ?
Thanks a lot for your help.
I created a menu item on my website where user can create k2 items.
I have a few questions about some parameters :
- I have several categories :"Cars", "Music", "Books". I would like to create a "create menu item" for each of this category. Is it possible ?
- I want user who add items only choose values in extra field and don't write any content. It works but when I saved an item where there is no content, it doesn't display : "Message Item Saved" where as the item is indeed saved.
Where there is content, the message displays.
- I would like to hide some specific extra field in the creation front-end. How can I do that ?
Thanks a lot for your help.
Please Log in or Create an account to join the conversation.
- Joe Campbell
-
- Offline
- Platinum Member
Less
More
- Posts: 438
8 years 5 months ago #158958
by Joe Campbell
Replied by Joe Campbell on topic Create K2 item front-end (Hide specific extra field)
Perhaps this post from @JoomReem may help you:
www.joomreem.com/joomla-resources/k2-frontend-submit-items#.WB5ZHrT3ahA
If not, I would recommend reaching out to him directly - he is a very friendly guy :)
www.joomreem.com/joomla-resources/k2-frontend-submit-items#.WB5ZHrT3ahA
If not, I would recommend reaching out to him directly - he is a very friendly guy :)
Please Log in or Create an account to join the conversation.
- Edge
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 2
8 years 5 months ago #158960
by Edge
Replied by Edge on topic Create K2 item front-end (Hide specific extra field)
Thanks for your answer.
However I don't have any trouble to make creation from front-end works.
It's more about the other specific points.
However I don't have any trouble to make creation from front-end works.
It's more about the other specific points.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #159004
by Krikor Boghossian
Replied by Krikor Boghossian on topic Create K2 item front-end (Hide specific extra field)
Hello,
In the menu item you can specify on which category(ies) the user can enter items.
The item can saved without content, but you need to specify a title and select a category.
Finally you need to override the itemform.php file - getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates - and manually not render any specific extrafields, or use CSS to hide it.
In the menu item you can specify on which category(ies) the user can enter items.
The item can saved without content, but you need to specify a title and select a category.
Finally you need to override the itemform.php file - getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates - and manually not render any specific extrafields, or use CSS to hide it.
Please Log in or Create an account to join the conversation.