add a column in th concrete db?
Permalink
Hi,
I understand that my question is a bit technic but i don't really find a way to take.
I'm developping a photo website (www.sebastienj.net ). And i really want to be able to sort my picture found in each fileset. I was created a single page in the dashboard and have insert to them the jquery sortable grid (http://jqueryui.com/demos/sortable/#display-grid ). All is fine..
But now...
I'm asking myself to build a new model with her class and sql table or 'hack' the concrete db to add a colum with the order of each file in the fileset. I think the last idea is the most easy way but the first is really more clean.
ALso, if a create a new model, i need to recreate all the directive founf in model/file-set.php ..?
Can anyone help me?
I understand that my question is a bit technic but i don't really find a way to take.
I'm developping a photo website (www.sebastienj.net ). And i really want to be able to sort my picture found in each fileset. I was created a single page in the dashboard and have insert to them the jquery sortable grid (http://jqueryui.com/demos/sortable/#display-grid ). All is fine..
But now...
I'm asking myself to build a new model with her class and sql table or 'hack' the concrete db to add a colum with the order of each file in the fileset. I think the last idea is the most easy way but the first is really more clean.
ALso, if a create a new model, i need to recreate all the directive founf in model/file-set.php ..?
Can anyone help me?
i think in 5.4+ you can order files that are in a set
Thanks Mnkras but i've searched for that in new versions but nothing found..
I just want to know if it's nice to add a column in the fileset table. In think is the best way for me.