Put a link to user's profil in a Form

Kiwang

New Member
Hi,

I use Joomla 2.5 and Fabrik 3.0.I created a form.

Actually when user1 create a record, the other users can see user1's record.

But I want that the other users can clic on the user1 ID in the detail form and go to the user1 Profil.

Any idea?

Thank you
 
You'll need a user element to store the user's id.
In you list set access
edit = superadmin
or use field = user element

Then all users can see all records in details view, but only the owner (and superadmin) can edit a record.
 
Thank you about that detail, but I already do that.
In fact , I want to put a link inside the records in details view.
Something like a element.
This link must go to the owner profile.

Do you know how to do it?

something like
get user's ID
<a href= index.php/profile=ID>...</a>

But where can I put PHP code?Or is there something like that in Fabrik or joomla
 
You can add a custom link to the user element (element's "List view settings")
index.php/profile={full_user_element_name}
or {full_user_element_name_raw}
depending on the URL you need.
 
Hi,
Thank for your help.
I create an element in this form. I choose "DISPLAY" as pluggin.
I put:
forum/profil/{db___UserID}
It display the right link, but when I click on the link, it goes to
forum/profil/
It doesn't take {db___UserID}
Do you know how to do it? To go to the good link?
Like
http://......./forum/profil/82

Thank you
 
I found it!Thank you troester

I create an element in a form.
This element contain an ID user plugin.

I create an other element with a "display" plugin.
In this element's "List view settings",
I put
forum/profil/{DB___User}

I don't know why it doesn't work before.

Thank you a lot Troester
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top