Link to userid - Community Builder

Caught that one up - really interesting!
What i do not understand is, how can you get a users ID into a text field.

I dont know how well devoloped fabrik was in 2008. Right now I use a hidden field that autofills with the User ID nad i want to link it with the users profile.

So where can i enter that format string?
 
Hi zottl,

i'm not too grand at this but what I done was to add the following to my custom template in the form details view:

Code:
         <A HREF='index.php?option=com_comprofiler&task=userProfile&user=      
              <?php
               $this->element =& $this->elements['item_userid'];
               echo $this->loadTemplate('element');
             ?>'>View Profile</A>
item_userid is my user element, so with this I can get to the profile of the user who added the entry.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top