And here some documentation on how I modified the ws.php
When you configure your banner in your localsiteconfig.php you've got a number of new options:
ExcludeTagfor example
"excludetag" => "Disc Profile"
When you set this, every profile with that tag will be ignored in the banner creation. For example, if you want to show the recently purchased box set, but not all its children.
IncludeTagfor example
"includetag" => "Purchase Item"
When you set this, only profiles with that tag will be considered in the banner creation. For example, if you want to show the recently purchased box set, but not all its children.
CreateMapfor example
"createmap" => true
When you set this a text file named after your profile with the extension .map will be created in your imagecache directory. You can use it to bind it to the image with a script language like PHP and the result will be an HTML ImageMap.
Here's a code snippet how I do it on my homepage:
<?php
$handle = fopen ("phpdvdprofiler/imagecache/djdoena_15_en.map", "r");
while (!feof($handle)) {
$buffer = fgets($handle);
echo($buffer);
}
fclose ($handle);
?>
<img usemap="#djdoena_15_en" style="border: 0px;" src="phpdvdprofiler/imagecache/djdoena_15_en.jpg" alt="recently watched" title="recently watched"/>
MapToProfilerPathfor example:
"maptoprofilerpath" => "http://doena-soft.de/phpdvdprofiler_en/"
In order for the generation of links in the .map file, it needs to know where phpDVDProfiler is located so that it can create links to it.
MapWithDatefor example
"mapwithdate" => true
If you want to show the purchase date/watched date, when you hover over the image.
If you want to see a working example of the above, visit
http://doena-soft.de/index_en.php and hover over the banners with your mouse.
