How to use raw field values inside the value of other fields

  • Published by
    George Papadakis
  • Last modified
    21 November 2013
  • Up to date
    Yes
  • Concerns
    Plugins Template
  • Since Version
    2.0
  • Voting
    Average rating
    3 votes
    • 1
    • 2
    • 3
    • 4
    • 5
  • Favourites
    496 How to use raw field values inside the value of other fields /documentation/tutorials-english/71-fields-usages-tips-joomla-plugin/496-how-to-use-raw-field-values-inside-the-value-of-other-fields.html

Inside every field there are these parameters (or at least 2 of them if field is single value):

- Open Field text
- Prefix Value Text
- Suffix Value Text
- Close Field text

You can use other fields values by entering replacements like:
{{item->core_property}}
{{fieldname##nn}}
{{fieldname##nn##propertyname}}

-- e.g for core ITEM properties (created,createdby,title,alias, etc) :
{{item->title}} and {{item->created}}

-- e.g for single property CUSTOM fields (text,date, etc) :
{{field19##0}}

-- e.g. for multi-property CUSTOM fields (weblink,email, etc) :
{{field19##0##link}} and {{field19##0##addr}}

-- e.g. for indexable field that have value (=index) and label (select,selectmultiple,radio,checkbox,radioimage,checkboximage, etc) :
{{field21##0##_value_}} or {{field21##0##_text_}} or {{field21##0##_image_}}