10 years ago
1
Topic
Hello all,
I'm wanted that all visitors was allowed submit from frontend with some new user registration's fields, i have got it, but than there is some problem with article's autor was happends, always superadmin become the new entry's autor... how to do that the new user become own article's autor?
Thanks to all!
Get a VIP membership
175 Posts
webcastor
10 years ago
0
Level 1
Actually, what you ask for IS the default behavior. However, default permissions for Joomla are such that new users are assigned to Registered user group, which in turn is not allowed to submit content (from front-end or otherwise).
You have 2 options.
  1. Create a new user group and grant it a Create and Edit Own rights, and set that new users are assigned to that group during registration (in Global Configuration). Also assign existing users to that group. As a variant, you can just use one of the existing groups - Author, Editor, Publisher, which means you have to assign all users to that group (in Global Configuration for the new users, and in User Manager for the existing once). I Hope you understand the rights and privileges those groups have.
  2. You can change the rights and privileges of the Registered group, by I highly recommend: DO NOT MESS WITH DEFAULT REGISTERED GROUP RIGHTS AND PRIVILEGES.
As for your form submission, it looks like you hard-coded user Admin in you article submission form (Site Form layout for the content type).
Get a Book for SEBLOD