Skip to Content
It is currently January 22nd, 2022, 4:18 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: December 2nd, 2021, 12:37 am 
Offline
Senior User
Senior User

Joined: July 23rd, 2007, 2:22 am
Posts: 157
Location: Vancouver, BC, Canada
Could someone with some PHP knowledge and expertise out there tell me how I can fix this issue? If something is searched for and not found, when several tracks have been requested already, it causes this to happen. The search result window is only the size of the output, making the recently requested column longer than the page output length. If I can get the page length to extend as far down as the bottom of the request column, that would be great! There's be a bit of a blank space in the search results window, but I'm willing to overlook this if it fixes this "problem". Thanks!


Attachments:
Capture.PNG
Capture.PNG [ 15 KiB | Viewed 225 times ]

_________________
Park Magic Radio
http://parkmagicradio.ca
Top
 Profile  
Reply with quote  
PostPosted: December 3rd, 2021, 6:35 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8299
Location: Cologne (Germany)
In style.css look for this section:
Code:
/*************************************************************************
 * PAGE STYLES:
 * #page:
 *   background-color: Background color of the page DIV
 *   border-*: Border on either side of the page, used with .body background-image
 *   margin-top: Blank space at the top of the page
 *   margin-left, margin-right: Aligns the page DIV in the center
 *   padding: Pads the page with the given size
 *   width: Size of the page DIV
 *
 *************************************************************************/
#page {
   background-color: white;
   min-height: 500px;
   border-left: 0px solid #666666;
   border-right: 0px solid #666666;
   margin-top: 10px;
   margin-bottom: 10px;
   margin-left: auto;
   margin-right: auto;
   padding: 10px;
   width: 1200px;
}


Change the min-height from 500px to a number that is big enough to accomodate for your "Top Requested" list.
600px works ok with the tracks listed in top requests right now (there's only 3 of them), but if you have more in that list, you need to have a bigger space / larger min-height.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: December 5th, 2021, 1:34 am 
Offline
Senior User
Senior User

Joined: July 23rd, 2007, 2:22 am
Posts: 157
Location: Vancouver, BC, Canada
Brilliant, as always. Thanks!

_________________
Park Magic Radio
http://parkmagicradio.ca


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group