New answers tagged

1

The article options are held in json-encoded format in the attribs field in the database, so that is what you should set, eg: $data["attribs"] = array("show_title" => 0, "show_tags" => 0); The names of the options can be found from the edit article xml form definition in administrator/components/com_content/models/forms/article.xml. The Content ...


0

For each article the fields values can vary depending on the inputs you gave and just $jcfield data is enough for you to get the desired custom field. The data you receive will be in array format based on number of custom fields you have. Suppose you have several custom fields and you want to access data of a particular custom field to be used in a template ...


Top 50 recent answers are included