Member
Member
kjonescubist   2021-08-04, 23:19
#1

I'm interested in making sure that each album created has a least one tag assigned to it before it can be saved. I've scoured the settings and plugins and didn't see anything. Should this be address via code in the admin-edit.php file?

Administrator
Administrator
acrylian   2021-08-05, 08:07
#2

You need to create a plugin using a filter to assign a tag on album creation. See here: https://www.zenphoto.org/news/zenphoto-plugin-architecture/

You also would need use the object model:
https://www.zenphoto.org/news/zenphotos-object-model-framework/

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