> Ok, so I need the pro version ?
yes you would need Pro version
- but you must not use auto-fill
because the value will not be dynamic
instead see below how to do it
> The field is not dynamic, it is recorded during the creation or the modification of an item and stay "as is" until further modification.
You can create a new (field value) --viewing-- layout for a text field (almost all field support custom layouts)
and name the new layout
/tmpl/value_itemcreator.php
- place the query inside the layout
Code:
$query = 'SELECT id, name, lastvisitDate FROM #__user WHERE id = ' . (int) $item->created_by;
- select the 'value_itemcreator' as the viewing layout in field's configuration
the above query will be executed 20 times in category view,
but you will really see no difference in page creation,
unless you are showing 500 items or more per page in category view
because the query itself is super fast as it select 1 row via a column index