Article

A Joomla Fan

Blabla

we have more content

blabla again

lorem ipsum

Custom Fields

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

Twitter Account: https://twitter.com/woluweb

social.brussels: 13817

Country: Australia

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

URL Custom Field https://twitter.com/woluweb

URL Custom Fieldhttps://www.youtube.com/watch?v=LXeaDPmHP18

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: 13817

legalStatus->labelFr: Service public - CPAS

address->streetNl: Hoogstraat

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)#2432 (7) {
  ["speaker-country"]=>
  array(10) {
    ["id"]=>
    string(2) "13"
    ["name"]=>
    string(15) "speaker-country"
    ["title"]=>
    string(15) "Speaker Country"
    ["type"]=>
    string(4) "text"
    ["label"]=>
    string(7) "Country"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(9) "Australia"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(2) {
      ["filter"]=>
      string(0) ""
      ["maxlength"]=>
      int(20)
    }
  }
  ["twitter-account"]=>
  array(10) {
    ["id"]=>
    string(2) "14"
    ["name"]=>
    string(15) "twitter-account"
    ["title"]=>
    string(15) "Twitter Account"
    ["type"]=>
    string(3) "url"
    ["label"]=>
    string(15) "Twitter Account"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(27) "https://twitter.com/woluweb"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(2) {
      ["schemes"]=>
      array(1) {
        [0]=>
        string(5) "https"
      }
      ["relative"]=>
      string(0) ""
    }
  }
  ["linked-articles"]=>
  array(10) {
    ["id"]=>
    string(2) "15"
    ["name"]=>
    string(15) "linked-articles"
    ["title"]=>
    string(14) "Favourite meal"
    ["type"]=>
    string(8) "articles"
    ["label"]=>
    string(14) "Favourite meal"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(1) "5"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(28) {
      ["multiple"]=>
      string(0) ""
      ["select_style"]=>
      string(0) ""
      ["filter_categories"]=>
      string(1) "1"
      ["categories"]=>
      array(1) {
        [0]=>
        string(2) "11"
      }
      ["categories_inc_children"]=>
      string(1) "0"
      ["filter_tags"]=>
      string(1) "0"
      ["tags_inc_children"]=>
      string(1) "0"
      ["filter_language"]=>
      string(1) "0"
      ["language"]=>
      string(5) "nl-NL"
      ["filter_users"]=>
      string(1) "0"
      ["filter_customfields"]=>
      string(1) "0"
      ["customfield1_id"]=>
      string(0) ""
      ["customfield1_value"]=>
      string(0) ""
      ["customfield2_id"]=>
      string(0) ""
      ["customfield2_value"]=>
      string(0) ""
      ["customfield3_id"]=>
      string(0) ""
      ["customfield3_value"]=>
      string(0) ""
      ["articles_ordering"]=>
      string(5) "title"
      ["articles_ordering_direction"]=>
      string(3) "ASC"
      ["layout"]=>
      string(5) "title"
      ["custom_field"]=>
      string(0) ""
      ["link_title"]=>
      string(1) "1"
      ["custom_html"]=>
      string(36) "[title] ([hits])"
      ["use_separator"]=>
      string(1) "1"
      ["separator"]=>
      string(2) ", "
      ["show_unpublished"]=>
      string(1) "1"
      ["show_category"]=>
      string(1) "1"
      ["articles_grouping"]=>
      string(5) "title"
    }
  }
  ["speaker-s-quote"]=>
  array(10) {
    ["id"]=>
    string(2) "16"
    ["name"]=>
    string(15) "speaker-s-quote"
    ["title"]=>
    string(15) "Speaker's Quote"
    ["type"]=>
    string(8) "textarea"
    ["label"]=>
    string(15) "Speaker's Quote"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(40) "I love travelling, especially for Joomla"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(4) {
      ["rows"]=>
      string(0) ""
      ["cols"]=>
      string(0) ""
      ["maxlength"]=>
      string(0) ""
      ["filter"]=>
      string(0) ""
    }
  }
  ["social-brussels"]=>
  array(10) {
    ["id"]=>
    string(2) "18"
    ["name"]=>
    string(15) "social-brussels"
    ["title"]=>
    string(15) "social.brussels"
    ["type"]=>
    string(4) "text"
    ["label"]=>
    string(15) "social.brussels"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(5) "13817"
    ["published"]=>
    string(1) "0"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(2) {
      ["filter"]=>
      string(0) ""
      ["maxlength"]=>
      string(0) ""
    }
  }
  ["youtube"]=>
  array(10) {
    ["id"]=>
    string(2) "19"
    ["name"]=>
    string(7) "youtube"
    ["title"]=>
    string(7) "YouTube"
    ["type"]=>
    string(3) "url"
    ["label"]=>
    string(7) "YouTube"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(43) "https://www.youtube.com/watch?v=LXeaDPmHP18"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(2) {
      ["schemes"]=>
      array(1) {
        [0]=>
        string(5) "https"
      }
      ["relative"]=>
      string(0) ""
    }
  }
  ["tassos"]=>
  array(10) {
    ["id"]=>
    string(2) "20"
    ["name"]=>
    string(6) "tassos"
    ["title"]=>
    string(6) "tassos"
    ["type"]=>
    string(10) "acfyoutube"
    ["label"]=>
    string(6) "tassos"
    ["default"]=>
    string(0) ""
    ["value"]=>
    string(43) "https://www.youtube.com/watch?v=LXeaDPmHP18"
    ["published"]=>
    string(1) "1"
    ["required"]=>
    string(1) "0"
    ["params"]=>
    array(17) {
      ["size"]=>
      string(5) "fixed"
      ["width"]=>
      string(3) "240"
      ["height"]=>
      string(3) "135"
      ["autoplay"]=>
      string(1) "1"
      ["cc_load_policy"]=>
      string(1) "0"
      ["color"]=>
      string(5) "white"
      ["controls"]=>
      string(1) "1"
      ["disablekb"]=>
      string(1) "0"
      ["start"]=>
      string(2) "20"
      ["end"]=>
      string(1) "0"
      ["fs"]=>
      string(1) "0"
      ["hl"]=>
      string(5) "en-GB"
      ["iv_load_policy"]=>
      string(1) "1"
      ["loop"]=>
      string(1) "0"
      ["modestbranding"]=>
      string(1) "0"
      ["rel"]=>
      string(1) "1"
      ["showinfo"]=>
      string(1) "1"
    }
  }
}