Hi,
I am currently facing a small issue and currently need your help to solve this issue.
We are currently using this plugin
extensions.joomla.org/extensions/contact...contact-details/2025
in a FC field, however the tag system of this plugin is different from other content plugins, the main function of this content plugin is to retrieve information (by field) from the Joomla default com_contact system and show it within a content, the tag is written as this:
Code:
{dgcontactinfo 5}[image]{/dgcontactinfo}
The number 5 is the contact ID of the user within the com_contact. 'Image' is what I want to show in the content, that is, the image of the user in the com_contact.
So far, everything is easy, but, I do not want to have to include the contact ID each time a user will add an item within the frontend, what I want to do is to use some kind of syntax to auto-generate the contact ID, something similar to this:
Code:
SELECT id AS value, name AS text FROM #__users WHERE id="{item->created_by}"
But, in this case, we do not want to generate the user ID but the contact ID instead, can anyone please tell me how to do this?