Article

Welcome

This website serves as a demo to show Joomla Custom Fields possibilities in general and the integration of OpenStreetMap in particular.

See https://slides.woluweb.be for the detailed presentation.


To see a demo of how to synchronise your Joomla content with external sources (in this case in json format), see https://sync.joomlacustomfields.org/fr/

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)#2508 (2) {
  ["preparation-time"]=>
  array(10) {
    ["id"]=>
    string(1) "1"
    ["name"]=>
    string(16) "preparation-time"
    ["title"]=>
    string(16) "Preparation time"
    ["type"]=>
    string(4) "text"
    ["label"]=>
    string(16) "Preparation time"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(2) "10"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "1"
    ["params"]=>
    array(2) {
      ["filter"]=>
      string(0) ""
      ["maxlength"]=>
      string(0) ""
    }
  }
  ["quote"]=>
  array(10) {
    ["id"]=>
    string(1) "6"
    ["name"]=>
    string(5) "quote"
    ["title"]=>
    string(5) "Quote"
    ["type"]=>
    string(4) "text"
    ["label"]=>
    string(5) "Quote"
    ["default"]=>
    string(25) "I just llllove that one !"
    ["value"]=>
    string(25) "I just llllove that one !"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(2) {
      ["filter"]=>
      string(28) "JComponentHelper::filterText"
      ["maxlength"]=>
      int(200)
    }
  }
}