Topic: Limit the kind of new gallery you can create

Hi There,

I purchased only the TiltViewer Pro and svManager and therfore would like the manager New gallery type option to be limited to that TiltViewer only. Does anyone know which file I should edit to do so?

Thanks,

Re: Limit the kind of new gallery you can create

If you only have TiltViewer galleries and don't intend to have anything else in your svManager installation then you can delete the plugins for the other gallery types. Each plugin lives in a subfolder of svmanager/plugins. Delete the folders named svmanager/plugins/autoviewer etc. Don't delete the tiltviewer plugin! Keep a backup in case you change your mind.

The drop-down list for new gallery types will still show in svManager but it will only contain TiltViewer.

If that approach feels a bit drastic then you can change a setting within each plugin that will hide it in the new gallery dropdown. I'll use AutoViewer as an example.

Edit the file svmanager/plugins/autoviewer/settings.php and find the following line:

define('AV_CREATE_NEW', true);

Change this to:

define('AV_CREATE_NEW', false);

Do the same for any other plugins that you want to hide.

jack

Jack Hardie
SimpleViewer Support Team.

Re: Limit the kind of new gallery you can create

Thanks, this is great and easy