there's a bit more to this, but mainly i'd like to know if there is a list of events (that listners can be attatched to) somewhere? if not, in what parts of a module can i uncover them?
the reason why i'd like this is because of this: i'm adding extra fields to the add and edit album forms so that you can get a album saved with all the wanted information by submitting less forms. (Kind of not like customfields where you edit the custom fields of an album on its own form). i got the extra fields onto add and edit forms by editing the templates (in a local folder) and putting callbacks in them to retrieve the data for existing albums. i then registered event listners to save my added fields into their repecitve tables. problem is that if a field of an album is not actually changed (i.e. if i only go to the form to change the added fields) then the GalleryEntity::save event is not triggered. so i was wondering if there is an event for a save that didn't bring a change to the entity's main fields.
is this the right method to go about it? or is there another way to integrate fields in an existing form?
Posts: 8601
no list that i know of.. just grep for GalleryCoreApi::newEvent calls to find them all.
an alternative method to do what you describe it make customfield module use an ItemEditOption (appears as part of an exisiting tab, like randomhighlight or many others) instead of an ItemEditPlugin (its own tab).
Posts: 10
thanks, ItemEditOption is the proper way to do what i want!