Remove column on the left

10 views
Skip to first unread message

Bce

unread,
Jan 28, 2012, 11:05:16 PM1/28/12
to Streeme
Hi,

Is there anyway to remove the column on the left when using the
desktop player?

I have messed around with the php and css files but I can only seem to
stop data from being shown there and am not able to completely remove
the container.

The reason I would like to do this is because when I browse my library
I either search for a specific song or use shuffle, the column with
artists and albums is completely useless to me and takes up a lot of
the screen seeing as it wont re size with screen width.

So has anyone found a way to remove it, or is there a way?

Thanks

Rich

unread,
Jan 30, 2012, 3:39:54 AM1/30/12
to Streeme
There's no easy way to do it right now as it's part of a larger ui
size calculation. I might see if I can make turning the sidebar off
part of the configuration.
-Rich

Bce

unread,
Jan 30, 2012, 6:20:28 AM1/30/12
to Streeme
Hi Rich,

I appreciate that you will try and make it part of the settings but is
there a "dirty" way to do it?

By deleting certain items in a stylesheet or a php file?

I won't mind if I lose some functionality, all I need is the player
itself and the media library.

Thanks alot

Rich

unread,
Jan 30, 2012, 11:10:09 AM1/30/12
to Streeme
It's mostly a css change, but it will still render the left column
unless you remove that component as well. The quickest way to go it
would be to go to the css/player/desktop/stylesheet.css

.columnleft {
--- position: relative;
--- display: block;
float: left;
--- height: auto;
--- width: 365px;
--- z-index: 1;
}

.browsecontainer {
--- position: relative;
--- width: 365px;
--- height: auto;
--- background-color: #CCC;
}

.songlistcontainer {
position: relative;
height: auto;
--- margin-left: 365px;
overflow-x: hidden;
overflow-y: scroll;
}

where "---" is a line to remove/comment

if you want to stop the left bar from loading, go to the apps/client/
modules/player_desktop/templates/indexSuccess.php and comment these
lines

/*
<div class="columnleft" id="columnleft">
<div class="browsecontainer">
<?php include_partial( 'genre_browse',
array( 'title'=>'Genres', 'element_id' => 'browsegenre', 'list' =>
$genre_list ) ) ?>
<?php include_partial( 'library_browse',
array( 'title'=>'Artists', 'element_id' => 'browseartist',
'list_template' => 'list_artists', 'list' => $artist_list ) ) ?>
<?php include_partial( 'library_browse',
array( 'title'=>'Albums', 'element_id'=>'browsealbum', 'list_template'
=> 'list_albums', 'list' => $album_list ) ) ?>
</div>
</div>
<div class="columnright" id="columnright">
<div class="songlistcontainer" id="songlistcontainer">
<?php include_partial( 'list_songs' ); ?>
</div>
</div>
</div>
*/

Once you do this, type

./symfony cc

to clear the css and html cache.

hope that helps in the mid term,

-Rich

Bce

unread,
Jan 30, 2012, 11:36:41 AM1/30/12
to Streeme
PERFECT!

Editing stylesheet.css managed to do it, the second option to
completely stop it from loading didn't work, but I'm happy with it not
showing.

Thanks alot Rich!

Rich

unread,
Jan 30, 2012, 10:09:37 PM1/30/12
to Streeme
Good to hear. I'll try and add that to the configs a little later on.

-Rich
Reply all
Reply to author
Forward
0 new messages