Search…

X3 Photo Gallery Support Forums

Search…
 
elpd
Experienced
Topic Author
Posts: 55
Joined: 02 Sep 2008, 06:30

Disable Mainmenu for a specific folder?

23 Feb 2013, 09:35

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Disable Mainmenu for a specific folder?

25 Feb 2013, 02:43

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?
 
elpd
Experienced
Topic Author
Posts: 55
Joined: 02 Sep 2008, 06:30

Re: Disable Mainmenu for a specific folder?

18 Apr 2013, 11:34

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Disable Mainmenu for a specific folder?

18 Apr 2013, 23:08

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'
};