Keyword

Create K2 item front-end (Hide specific extra field)

More
7 years 10 months ago #158956 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.

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

More
7 years 10 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 :)

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

More
7 years 10 months ago #158960 by Edge
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.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 10 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.

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