Junior Member
Junior Member
dominic89   16-03-2014, 22:04
#1

Hi I wan't to add some field to the picture table.

Is this possible and when where ?
At time I only found the Create Table statement but the should be an update statement too.

And how can I get these Fields than in Code?

I hope someone can advance me
Best Regards
Dominic

Administrator
Administrator
acrylian   16-03-2014, 22:27
#2

If you add fields that are not standard you have to code your own handlers to access them. Via MySQL queries for example. They are of course outside of ZP's object model.

Or you divide existing fields via serialization. A proper way is to use the plugin_storage table:
http://www.zenphoto.org/news/theming-tutorial#extra-database-storage

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.