Print

Override field render

Override field render

  • Published by
    Yannick Berges
  • Last modified
    26 April 2023
  • Voting
    Average rating
    1 vote
  • Favourites
  • Concerns
    Plugins Template
  • Since Version
    3.X
  • Up to date
    Yes
  • Profile concerned
    Developer

in Flexicontent you can override a field value and render via 2 files

  1. Go to your field like galery or download go can see tmpl folder
  2. field_XXX.php is rendering of form
  3. value_XXX.php is rendering in view

exemple : https://github.com/FLEXIcontent/flexicontent-cck/tree/master/plugins/flexicontent_fields/file/tmpl

you can create your own view, duplicate the render wanted like value_MYTEMPLATE.php and customize it

in your field you can choose your template

and for display view

 

 

 

Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline