Hello
I am try to make "Add album" like plugin "Edit items" system.
I want split common "Add album" to "Add general album", "Add dynamic updates album" and new "Add user dynamic album", "Add mime dynamic album" pages. I want make it like plugin "Edit items" system with number of pages.
I did ItemAddAlbum.inc and ItemAddAlbum.tpl like ItemEdit.inc and tpl.
But nothing work. It hang up in this row:
list ($ret, $ItemAddAlbum['pluginFile'], $ItemAddAlbum ['pluginL10Domain']) =
$pluginInstances[$addAlbumPlugin]->loadTemplate($template, $form, $item, $thumbnail);
As I understand above row must return Path to ItemAddAlbum.tpl in ['pluginFile'] but nothing work.
Update:
Nothing work because $addAlbumPlugin is not defined.
$addAlbumPlugin passed from:
$addAlbumPlugin = GalleryUtilities::getRequestVariables('addAlbumPlugin');
Where addAlbumPlugin Variable must be defined?
Sorry for my english. If my question not clear I shall try to explain more.
Thank you!