Page 1 of 1

Disable Mainmenu for a specific folder?

Posted: 23 Feb 2013, 09:35
by elpd
Hi,

I tried to disable the main menu for a specific folder by adding the following parameter:
Code
menu.mainmenu.enabled=false
Bud unfortunately it's not working. Am I doing something wrong here?

Erik

Re: Disable Mainmenu for a specific folder?

Posted: 25 Feb 2013, 02:43
by mjau-mjau
Unfortunately, this is not possible. Folder parameters only apply for elements that are folder-related, and the main menu is a global item so you cannot disable it on a per-folder basis.

May I ask, how would it work if the menu gets disabled for a specific folder? How does the visitor navigate to another folder again?

Re: Disable Mainmenu for a specific folder?

Posted: 18 Apr 2013, 11:34
by elpd
Hi Karl,

This is a very useful option if you make a special slide show for a client. For example, if I shoot a wedding I can make a special link to a specific (hidden)folder in the gallery. For example: http://www.website.nl/wedding1 is redirecting to http://www.website.nl/#/folder/wedding1/. In this case it's not necessary that visitors can access the other gallery's/albums so therefore they don't need to see the main menu. It would be nice if there is a way to do this by adding a specific parameter.
For now I can only fix this by making a special page and adding the following flash vars:
Code
var flashVars = {
startpath: 'content/folder/wedding1/',
startshow: 'false',
startmode: 'image'
};
It would be nice if you could add an option for this feature in a future release, thanks!

Erik

Re: Disable Mainmenu for a specific folder?

Posted: 18 Apr 2013, 23:08
by mjau-mjau
Well, you can in fact disable the menu when accessing the gallery ... but this is not really "folder parameters", because it doesn't change on a per-folder selection basis. Add the following to your document, and it should disable the main menu for that document:
Code
var flashVars = {
	parameters: 'menu.mainmenu.enabled=false'
};