test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • nsak Friend
    #191635

    Hi,

    I have “registered” users at my site and want them to be able to add content is several categories.

    I have created a menu item of a type “K2, Item edit form” made it accessible to registered users. However, when I register and get access to the menu item, and click on it, I get 403- you are not autohrised to view this resource.

    In Global Config/ permissions i have allowed Registered users to “Create” and “Edit own”

    any clue?

    Nikos

    Saguaros Moderator
    #510074

    Hi Nikos,

    K2 also has its own user so if it’s menu item for K2 category, please try to sync that Joomla user into K2 user. And you can set permission for that K2 user then.

    nsak Friend
    #510087

    ok Saguaros thanks a lot !

    <em>@Saguaros 395032 wrote:</em><blockquote>Hi Nikos,

    K2 also has its own user so if it’s menu item for K2 category, please try to sync that Joomla user into K2 user. And you can set permission for that K2 user then.</blockquote>

    nsak Friend
    #510127

    My registered users can now create K2 arctiles. However I prefer not to allow them to go into all the felds of the “K2 Add Item” form. For example I dont want them to change the category where the article will be sent to. And so on.

    Is there any way do customise this form or do I need to change it manually?

    <em>@Saguaros 395032 wrote:</em><blockquote>Hi Nikos,

    K2 also has its own user so if it’s menu item for K2 category, please try to sync that Joomla user into K2 user. And you can set permission for that K2 user then.</blockquote>

    phong nam Friend
    #510354

    Hi nask,

    There is no option in K2 parameters to hide the fields of K2 Add Item form when editing the K2 item on front-end. But, you can backup and open templatesja_argohtmlcom_k2ja_argoitemform.php file, find and remove lines (88-95th) (i.e):

    <tr>
    <td class="adminK2LeftCol">
    <label><?php echo JText::_('K2_CATEGORY'); ?></label>
    </td>
    <td class="adminK2RightCol">
    <?php echo $this->lists['categories']; ?>
    </td>
    </tr>

    By that way, the registered users can’t change the K2 category selection of K2 item. In addition, you can hide other K2 edit admin fields in this itemform.php file if needed.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 3 voices, and was last updated by  phong nam 11 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum