1. drjjw
  2. General
  3. Sunday, March 22 2015, 01:54 PM
Hello,

Is it possible to add more than 5 columns to the menu item > user list (table). I realize it might be hard to fit visually, but I would like to try :)

Jordan
admin Accepted Answer
Admin
Hi,
you can do this via template override, follow these steps:
- Copy /components/com_jsn/views/list/tmpl/table.php into /templates/your-template-folder/html/com_jsn/table.php (create directory if not exist)
- Copy /components/com_jsn/views/list/tmpl/table_user.php into /templates/your-template-folder/html/com_jsn/table_user.php
- Edit /templates/your-template-folder/html/com_jsn/table.php to add header of new column
Between lines 63 and 64 add this:

Screenshot 1

- Edit /templates/your-template-folder/html/com_jsn/table_user.php to add content of new column
Between lines 93 and 94 add this:

Screenshot 2

With template override if you update our component these files will not be overwritten :)

EDIT: we have added screenshot because HTML/PHP have a problem on this forum
Attachments (2)
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.