Keyword

Frontend Add Item in component section instead of popup

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 2 months ago #151283 by Carlos
Hello.

How can the add new item form in frontend be in <jdoc:include type="component" /> inside the template instead of opening in a modal popup?

(Joomla 3.4.8/K2 2.6.9).

Thanks!

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

More
9 years 2 months ago #151313 by Lefteris
Hi,

You have to create a menu link to K2 item form.

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

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 2 months ago #151318 by Carlos
I've created a k2 Item edit form menu item type but it opens the edit form in a popup.

What I ended up doing is to create a wrapper to item/add?tmpl=component. I was wondering if there's a better way of doing it.

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

More
9 years 2 months ago #151335 by Lefteris
An alternative way doing this could be to just remove the class "modal" from the add and edit links in your overrides.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 months ago #151342 by Krikor Boghossian
Replied by Krikor Boghossian on topic Frontend Add Item in component section instead of popup
Remember to use overrides ( getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates ) instead of editing core files.

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


Powered by Kunena Forum