Article

Coffee shop

Custom Fields

Custom Field displayed directly ("->label" and "->value" directly taken from the database, ie "rawvalue")

:

:

:

Custom Field rendered through Joomla (without "->value" so it renders the Joomla way)

URL Custom Field

URL Custom Field

YouTube (Tassos) CF it renders as a video but it seems it does not take into account the Options defined in the CF

Custom Field displayed via a Partial using rawvalue (simple URL CF)

url transformed into a button via a Partial in embeds folder

Custom Field displayed via a Partial using rawvalue (simple URL CF)

Custom Field displayed via a Partial which fetches data from external site via json

Data coming from social.brussels

id:

legalStatus->labelFr:

address->streetNl:

Only visible for hasRole or hasGroup (but crashes for the moment the way I implement it

before test after

A var_dump of all Custom Fields

object(ExtJoomlaModelEntityFields)#2499 (2) {
  ["adres"]=>
  array(10) {
    ["id"]=>
    string(2) "21"
    ["name"]=>
    string(5) "adres"
    ["title"]=>
    string(5) "Adres"
    ["type"]=>
    string(4) "text"
    ["label"]=>
    string(5) "Adres"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(15) "Een ander adres"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(2) {
      ["filter"]=>
      string(0) ""
      ["maxlength"]=>
      string(0) ""
    }
  }
  ["my-repeatable-field"]=>
  array(10) {
    ["id"]=>
    string(2) "22"
    ["name"]=>
    string(19) "my-repeatable-field"
    ["title"]=>
    string(19) "My repeatable field"
    ["type"]=>
    string(10) "repeatable"
    ["label"]=>
    string(19) "My repeatable field"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(2) "[]"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(1) {
      ["fields"]=>
      array(3) {
        ["fields0"]=>
        array(3) {
          ["fieldname"]=>
          string(4) "Naam"
          ["fieldtype"]=>
          string(4) "text"
          ["fieldfilter"]=>
          string(1) "0"
        }
        ["fields1"]=>
        array(3) {
          ["fieldname"]=>
          string(3) "Tel"
          ["fieldtype"]=>
          string(6) "number"
          ["fieldfilter"]=>
          string(1) "0"
        }
        ["fields2"]=>
        array(3) {
          ["fieldname"]=>
          string(5) "Motto"
          ["fieldtype"]=>
          string(8) "textarea"
          ["fieldfilter"]=>
          string(1) "0"
        }
      }
    }
  }
}