Skip to Content
It is currently September 15th, 2019, 12:44 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: August 23rd, 2019, 12:28 am 
Offline
Senior User
Senior User

Joined: July 23rd, 2007, 2:22 am
Posts: 107
In display.playing.php where it says "From" and lists the album name, if a person clicks on this link I'd like to show the track listing of that album instead of taking me to Amazon to purchase.

My current line reads:

Code:
<?php if(!empty($currentSong->album)) : ?><br />from <span id="currently-playing-album"> <?php echo $currentSong->album; ?></span> <?php endif; ?>


I know I need some HTML in there and I've cross-referenced the original display.playing.php file but it doesn't give me much to go on.

Thanks!
Dan

_________________
Park Magic Radio
http://parkmagicradio.ca


Top
 Profile  
Reply with quote  
PostPosted: August 26th, 2019, 2:15 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 7872
Location: Aachen (Germany)
There's no way to do that out of the box.
You first need to code an album page and only then can you replace the link from amazon to your album page.

SAM doesn't come with any grouped listings (other than the letters) by default.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

We're offering custom PAL / PHP code and general SAM assistance at palscripts.com

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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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:  
cron
Powered by phpBB® Forum Software © phpBB Group