Dealing with Custom Select Attributes
Permalink
I have a couple of long ID's I need to add to a site, I would usually do this with Page Attributes,
But I need to be able to set the value and what is displayed.
Ie
<option value="1234"> Option 1 </option>
Is this possible to do in Concrete5?
I have tried playing with a custom model to load in the results from a db but I can not get it to return an object when calling my custom model, so no doubt I am doing something wrong.
Maybe someone can point me to a better documented approach to custom models in C5?
But I need to be able to set the value and what is displayed.
Ie
<option value="1234"> Option 1 </option>
Is this possible to do in Concrete5?
I have tried playing with a custom model to load in the results from a db but I can not get it to return an object when calling my custom model, so no doubt I am doing something wrong.
Maybe someone can point me to a better documented approach to custom models in C5?