luvas2010 / ci-cms

Automatically exported from code.google.com/p/ci-cms
Other
0 stars 0 forks source link

Image table #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I have made a couple small mods to the image table. Since I use the image 
table to hold all my images and needed to order them and also to provide a 
default image I added two fields "order int(11)" and "default int(1)" to 
the images table and modified the code base as needed. This will allow the 
images for a module to be ordered if needed and to mark a single image as 
the default.

Original issue reported on code.google.com by rmorga...@gmail.com on 7 Nov 2008 at 7:37

GoogleCodeExporter commented 9 years ago
Hi,

That is really a good idea. 
What I did before was to set the last image as default. 

With a radio checkbox we can just select which image to set as default.

Original comment by heriniai...@gmail.com on 7 Nov 2008 at 8:12

GoogleCodeExporter commented 9 years ago
Can you make the code available?

Original comment by heriniai...@gmail.com on 19 Nov 2008 at 6:58