Keyword

Add a new item in a category in frontend

  • Django
  • Django's Avatar Topic Author
  • Offline
  • Premium Member
More
11 years 2 months ago - 11 years 2 months ago #116412 by Django
Hello

In a website about food, I want that any visitor can enter a recipe.

When he registers, and before he enters his recipe, he has to enter a few personal informations (name, age, city ...).

His recipe wil be published (or not) by the administrator.

How can I do that ?

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

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
11 years 2 months ago #116413 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: Add a new item in a category in frontend
You can create a user group, and not allow them to publish items. You have to set this default user group to all registrations.

You can make the name, age and city as Extra Field and set it as required.

K2 Rocks \m/

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

  • Django
  • Django's Avatar Topic Author
  • Offline
  • Premium Member
More
11 years 2 months ago #116414 by Django
Thanks.

I did that, but when I connect as a registered, with "create" and "edit" allowed, I get and error 403.

I don't understand how to create a link in the menu, to display a form in which the registered user can enter his recipe.

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

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
11 years 2 months ago #116415 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: Add a new item in a category in frontend
You can use the module k2_user for login and add new item

K2 Rocks \m/

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

  • Django
  • Django's Avatar Topic Author
  • Offline
  • Premium Member
More
11 years 2 months ago - 11 years 2 months ago #116416 by Django
I don't see any link to add an item in frontend in this module, or anywhere else.

Is there a tutorial for that somewhere ?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 2 months ago #116417 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Add a new item in a category in frontend

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

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

  • Django
  • Django's Avatar Topic Author
  • Offline
  • Premium Member
More
11 years 2 months ago - 11 years 2 months ago #116418 by Django
I did exactly this procedure (create a K2 user group with the permission to create and modify their own items), but there is no link to create an item in the K2 login module, even after login.

Screenshot :

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 2 months ago #116419 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Add a new item in a category in frontend
Hello Django,

This is not the default K2 user module. Actually I don't think this is a K2 module at all, all its elements are not K2 links apart from the edit account.

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

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

  • Django
  • Django's Avatar Topic Author
  • Offline
  • Premium Member
More
11 years 2 months ago - 11 years 2 months ago #116420 by Django
Sorry. I found it finally.

But how can I select the parameters I want to display in this form ?

For ex, I want to hide :
- all the parameters on the right
- the alias and tag fields (the visitors don't know anything about that).

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 2 months ago #116421 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Add a new item in a category in frontend
You need to override the itemform.php or hide it with CSS.

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