List Manager Support

List Manager support
Public write access is disabled. Please login

User Name for the Records and Custom Fields 06.12.2012 13:51

Where does User Name for a particular record created in the component stored? I am developing a form and wanted to access the TABLES to get the records associated for a user? How to do this?

Also, i wanted 2 custom fields which i know i can create and NOT exhibit in the form. But these custom fields should be populated by my logic which will be stored in my SESSION variable. How do i do this?

Thanks for your quick response and support.


Re: User Name for the Records and Custom Fields 06.12.2012 14:18

in order to store user data attached to each record, you must add a field typed 'user' to your list. This field will be filled automatically with every save with the user ID, and you'll see the user name at backend (and front-end, if marked as visible). But we don't store the user name, that value is recovered joining listmanager db table


with the joomla user table


when showing the information.

About custom fields, if you want to fill on your own some columns you will need some coding skills. We suggest to create a couple of text fields, and mark them as not visible for the user, but configuring some default values for them, like 'custom1' or 'custom2'. Then, at the model code, you could check if some field contains the value 'custom1', to replace it for the logic needed.

If you check the file

about line 235 you'll see:


here you can change the default values for your own:
$tmp_value="Coded value";

Hope this helps
Moonsoft Team
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback