I'm using Joomla 3.9.1 and SP Simple Portfolio v1.6
I would like to add some additional fields to the SP Simple Portfolio component. Image of current fields (taken from Google);
How can I add another field named 'Year' for example beside 'URL'. Ideally I want to add a number of custom fields, but I can add the rest at a later date.
I've found the file administrator\components\com_spsimpleportfolio\models\forms\item.xml
, and can add an additional input named 'Year'.
I've also added a new year
column to the spsimpleportfolio_items
database table.
All appears to be working well, I can see my new field in the admin area and populate with data. This is saved into my database when I save the form.
Is the correct way of doing things? What if I ever update the component, will I lose these changes?
Thanks in advance.