Easy Profile WIKI
Toggle navigation
  • Home
  • System Requirements
  • Installation
  • Configuration
  • Custom Fields
    • Create Custom Field
    • Custom Fields Types
    • HTML Delimiter Field Type
    • Conditions
    • Translate Fields
  • User List/Search
  • Modules
    • Users List Module
    • Search Module
    • Users Map Module
    • SQL Custom Where Parameter
  • Content Plugin
  • Author Plugin
  • Articles Tab Plugin
  • Joomla Search Plugin
  • Ajax UserList Plugin
  • Social Connect Plugin
    • Intro
    • Setup Facebook Login
    • Setup Twitter Login
    • Setup Google+ Login
    • Setup LinkedIn Login
    • Setup Instagram Login
  • Social Network Plugin
    • System Requirements
    • Installation
    • Configuration
    • Make your language
  • Jomsocial Bridge
  • Import User Plugin
  • Integrations
    • Acymailing
    • EasyDiscuss
    • EasyBlog
    • Komento
    • Kunena
    • Joomgallery
    • JReviews
    • UddeIM
    • Emerald
    • Membership Pro
  • Tips & Tricks
  • Developers
    • JsnUser Object
    • Triggers
  • Changelog
  • Support

Content Plugin


You can include user information in articles, modules, everywhere is triggered Joomla Content Prepare...

Put in editor the following code:
{user FIELD_ALIAS} Replace FIELD_ALIAS with the field that you want.

if you want to display information for a specific user write the following code
{user FIELD_ALIAS USERID}

you can replace USERID with:
- Id of user: you will see a field of specified user
- text 'displayed': you will see a field of displayed profile user (if you are in profile page)
- text 'me': you will see a field of current logged in user
- text 'displayedOrMe':  you will see a field of displayed  user (if you are in profile page) or you see the field of current user

examples:
{user avatar 453} You will see a Avatar of User with id 453
{user avatar displayedOrMe} You will see a Avatar of User displayed, if you not are in profile page you see your Avatar.

If you want raw data of field you can use the 'raw' parameter:
{user FIELD_ALIAS USERID raw}  

example with raw parameter:

{user avatar displayed}  You will get an avatar image of user displayed 
{user avatar displayed raw}  You will get an avatar URL of user displayed
 
NOTE for Image field type (thumbnails): for each image field type there are a possibility to render the thumbnail with add on alias pre postfix _mini. example for avatar field:
{user avatar_mini}

Special Examples: with content plugin you can get also other informations, follow there examples
{user id raw} with this syntax you will retrieve ID of current user, RAW is necessary because ID is not a Easy Profile field, but it is a part of User Object
{user socialconnect} {user socialconnect USERID} with this syntax you will retrieve the links to Social profiles of user, these link come from SocialConnect Plugin that allow login/registration from Social Networks like Facebook,Google+,Twitter and LinkedIn
 

Content Plugin works also with HTML delimiter field type and with SQL Custom Where parameter in modules and users lists