Code Change help

Having trouble installing AmpJuke ?
Check this.

Code Change help

Postby simbo on 12-02-2011 21:49

Hello All

I am not a code guy, have a few questions and want to make a couple changes

1) Found that if you have a ( ' ) in album name or artist name it adds a ( / ) before it
Album name Searchin' for a rainbow looks like this Searchin/' for a rainbow.
Any fix, this is why certain album art cant be not be found, try to remove ' still wont find it

2) When going to performer i would like to change the expand / collapse i'll try to explain it right
All 4 options Bio, Album, Tracks, Related artist have info in them, but only Album and Related Artist are expanded, you need to manually expand Bio and Tracks.

I would like Tracks to to be already expanded and Related to be collapsed

I see this in disp_performerid, but have no idea what to change

// Expand/collapse:
?>
<p class="note" align="left"><b>
<?php
if ($no_albums==1) {
?>
<img src="./ampjukeicons/collapse.gif" id="gif3" onclick="handleClick('to_col3','gif3')">
<?php
} else {
if (!isset($clicksort)) {
?>
<img src="./ampjukeicons/expand.gif" id="gif3" onclick="handleClick('to_col3','gif3')">
<?php
} else {
?>
<img src="./ampjukeicons/collapse.gif" id="gif3" onclick="handleClick('to_col3','gif3')">
<?php
}
} // else..
echo xlate('Tracks').':'.$num_rows.'</p>';

if ($no_albums==1) {
?>
<div id="to_col3" style="display:block;">
<?php
} else {
if (!isset($clicksort)) {
?>
<div id="to_col3" style="display:none;">
<?php
} else {
?>


2A) when track is expanded, maybe a column (Album) that shows Album Name for each track

3)On Welcome page, i show Recently Added Tracks and Random Tracks, Would like the count amount to only show 5 instead of 10

Thanks Simbo
simbo
Hangaround
Hangaround
 
Posts: 14
Joined: 22-08-2010 01:31

Return to Installation / support

Who is online

Users browsing this forum: No registered users and 2 guests

cron