This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand

This tutorial shows you how to make the option's in a Select Dynamic field to be only the content created by the currently logged in user.

The Select Dynamic field allows you to create a Select field where the option's are populated based on your query (that you set up in the field settings). When setting up your field, you can use standard SQL in the "WHERE" field, but you can also use $user->id in order to get the user ID of the currently logged in user. So, by entering "created_by = $user->id", with the #__content table selected you can get a select field with the options set as the articles created by the currently logged in user. 

Field Setup:

The result:

Here is the list of articles created by the user that was logged in at the time of taking the screenshot!