Removing album button from navigation bar

Jan 10, 2008 at 8:11 AM
Is it possible to remove the button that takes you to the album list view? I want to just display one album, without the option for the user to navigate to a screen with a single album on it.
Coordinator
Jan 10, 2008 at 2:43 PM
@blackgold9, great question! The easiest way to do this is by changing the default visibility property on the toggleAlbumViewButton, which is a child control of the NavigationTray module. So, in your configuration file, add the <option> shown below:

<module type="NavigationTray">
   ...
   <option name="toggleAlbumViewButton.visibility" value="Collapsed"/>
   ...
</module>
Consequently, you might also want to rearrange the remaining visible buttons (like the toggleFullScreenModeButton) to fill the void left by the hidden album button. You could do this by setting the left and right properties of the buttons (e.g. toggleFullScreenModeButton.right). Thanks!
Jan 11, 2008 at 3:14 AM
Works great! Thanks!