1. NOTICE: If you are using Fabrik and update to Joomla 3.10, you will need to update to Fabrik 3.10. And, if you are using Fabrik, do not upgrade to Joomla 4, we do not have a supported version ready for release. More information on a release date coming soon. Also, please note that Fabrik 3.10 will not install on any Joomla sites less than 3.8.
    Dismiss Notice

Show Image in Module

Discussion in 'Professional Support' started by jmoises, Jul 25, 2018.

  1. jmoises

    jmoises Member

    Level: Community
    Hello, after search in forum and no luck i like to ask for advise,

    I have and Image Element that i like to show as a module in joomla, but that image can change depending the user,

    I search the fabrik content wiki, but alway use specific row, so how can i use dynamic code?

    thanks for any advise
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    You can use the rowid=-1 feature. Should it be editable or a details view?
    Editable:
    you can use the Fabrik form module with "Row id"=-1 and "Use key" =your-userid-element

    Or a custom module with content plugin and "Option"/Prepare content=yes
    {fabrik view=form id=X rowid=-1 usekey=your-userid-element}

    If you only want to show the image you can use
    {fabrik view=details id=X rowid=-1 usekey=your-userid-element}
    or a list with prefilter
    your-userid-element EQUALS {$my->id}
     
    jmoises likes this.
  3. jmoises

    jmoises Member

    Level: Community
    ok let me try ! Thanks
     
  4. jmoises

    jmoises Member

    Level: Community
    The list with prefilter your-userid-element EQUALS {$my->id} whas the easy!! thanks
     

Share This Page