Art. 122-5

Sommaire

[modifier] Description

This is the panel in the left menu of this site. It displays one of the starred albums of the Jamendo's user Absimiliard (me). Clicking on the cover opens the popup and starts playing it.

[modifier] CSS

img.jamendo_menuleft {
	border:0px;
}

[modifier] Configuration

Jamendo::$Configs["Default"]=array(
			'PopupParameters' => ", 'width=380,height=230,resizable=no,copyhistory=no,fullscreen=no,toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no,left=20,top=30'",
			'Target' => "jamendo",
			'ScriptBaseUrl' => "/Jamendo/JamendoPopup.php",
			'HasTable' => true,
			'TableClass' => '',
			'TableCols' => 5,
			'HasDiv' => false,
			'DivClass' => '',
			'LinkClass' => '',
			'ImgClass' => 'jamendo',
			'CoverWidth' => '100',
			'ErrorCover' => "<a href=\"http://www.jamendo.com\" style='text-decoration:none;'><img src=\"http://img.jamendo.com/logo/logo1-fr.png\" width=\"100\" /></a>"
			);

Jamendo::$Configs["MenuLeft"]=array(
			'HasTable' => false,
			'HasDiv' => false,
			'ImgClass' => 'jamendo_menuleft'
			);

[modifier] Profile

Jamendo::$Profiles['Absimiliard']=array(
	'type'		=> 'UserStarredAlbumRequest',
	'what'		=> 0,
	'howMany'	=> 12,
	'order'		=> 0,
	'direction'	=> TRUE,
	'username'	=> 'Absimiliard');

[modifier] PHP

require_once ("Jamendo/JamendoLib.php");
$coverDisplay=new JamendoDisplayCover();
$coverDisplay->loadConfiguration(Jamendo::config("MenuLeft"));
echo $coverDisplay->displayAlbumCoversFromProfile("Absimiliard",1,$page_language);
French
Un peu de musique ?


A propos