Removing album button from navigation bar

Jan 10, 2008 at 9: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.
Jan 10, 2008 at 3: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"/>
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 4:14 AM
Works great! Thanks!