Timeline for Joomla custom fields for category - subtitle & headerimage
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 21, 2019 at 14:43 | vote | accept | Cbinger | ||
| Feb 27, 2019 at 11:06 | history | edited | Cbinger | CC BY-SA 4.0 | deleted 61 characters in body |
| Feb 27, 2019 at 9:55 | comment | added | Sharky | Category object is not available in template's index.php file. You'd have to retrieve it and its fields. See similar answer about articles joomla.stackexchange.com/a/23050/12652. | |
| Feb 27, 2019 at 9:20 | comment | added | Cbinger | Thank you for your explanation. Do I also get this work in index.php? | |
| Feb 27, 2019 at 8:14 | comment | added | Sharky | Also avoid using JRequest. It's been long deprecated and will not be available in Joomla 4. | |
| Feb 27, 2019 at 8:13 | comment | added | Sharky | You don't need to get category ID and assign it to $category (it's not the same as $this->category). You just needed to pass category object which you already had ($this->category instead of $this->item) to FieldsHelper::getFields(). | |
| Feb 27, 2019 at 7:42 | history | answered | Cbinger | CC BY-SA 4.0 |