![]() |
|
How to add AlbumFields? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: How to add AlbumFields? (/thread-9717.html) |
How to add AlbumFields? - gelatin - 2012-02-29 I spend some time now exploring Zenphoto and do really like it. Can anybody please give me directions how to write a plugin/filter to add more Album Fields like AlbumLocation or AlbumCustomData. For example AlbumArtist and AlbumExhibition. sbillard gave an advice to me that was a little too vague for me: You should probably be familiar with the Zenphoto themeing tutorial and object model at this point. Thank you How to add AlbumFields? - acrylian - 2012-02-29 Well, you need to know how Zenphoto works before you can extend it. And the object model is absolutly necessary for that. We have a tutorial for that that you should have read. Reading the theming tutorial also does not hurt for the basics. There is also a lengthly article about the plugin system. All to be found on the user guide naturally. Here is an example plugin for extending the custom fields: Do you use all fields like "location" at all? I mean you don't need to use the location field for a location... |