How to show records created by the current user #
Add menu type: “Custom Tables – Catalog”
Click on the Filter tab and the parameter “Search Parameter”, set it to “user={{ user.id }}
“, where “user” is the name field in your custom table where user ID is stored.
{{ user.id }}
will be replaced by the current user id automatically.
This is equal to MySQL query example:
SELECT * FROM #__customtables_table_myfirsttable WHERE es_user=200042
“myfirsttable” is the name of the table, for example.
Leave a Reply
You must be logged in to post a comment.