Artwork & Layouts > Help

Scrolling up and down through collections

(1/1)

ScarAce1989:
Hi,

I was wondering how I should setup this?
I use the left and right buttons to scroll through a collection.
I want to use the up and down buttons to scroll through different collections without going back to the systems menu.

Pieter Hulshoff:
Menus are defined as vertical or horizontal in the layout.xml of the theme. Depending on which one it is, other buttons are used to control it.

ScarAce1989:
So how should this be done?
I added a layout I would like to make as attachment.

Pieter Hulshoff:
Define the first menu (system menu) with layout vertical and the second menu (game menu) with layout horizontal.
Then use collectionUp/Down and the left/right buttons in your controls.conf to configure your menu controls.
In addition, set enterOnCollection and startCollectionEnter to true or yes in your settings.conf file.
That should do the trick; the rest is just a matter of writing your layout.xml to show things the way you want them to.

ScarAce1989:
Thanks, that works.

Navigation

[0] Message Index

Go to full version