Keyword

created_by reassigned to default admin user when edited

  • Ben Muschamp
  • Ben Muschamp's Avatar Topic Author
  • Offline
  • New Member
More
13 years 11 months ago #84394 by Ben Muschamp
items created in the frontend by a user with gid 18 are assigned to the first user in the list when edited in back end by an admin.This happens because registered users are not included in the authors list when editing via admin and the select list defaults for the user with the lowest id.There is an additional parameter that can be passed to list.users to include gid 18 in views/item/view.html.php. Passing zero as the final parameter will overide the default behaviour which is to exclude registered user from the user list$lists = JHTML::_('list.users', 'created_by', $active, false, NULL, 'name', 0);oops forgot to mention... this is in version 2.2

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


Powered by Kunena Forum