Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

dendraya on "create object for gslideshow"

$
0
0

hi,

i used to generate a gslideshow object with

<?php $albumname = getAlbumLinkURL();<br />
$prefix = '/page/';<br />
if (substr($albumname, 0, strlen($prefix)) == $prefix) {<br />
$albumname = substr($albumname, strlen($prefix), strlen($albumname));<br />
		}<br />
$albumobject = new Album($galleryobject,$albumname);<br />
printGslideshow($albumobject); ?><br />

and this worked up to 1.4.5.9, but i upgradet to 1.4.6 and then to 1.4.7 and know i get a fatal error:

Fatal error: Ungültig Album-Instanz: Kein Alumnate in /path/to/zenphoto/page/zp-core/class-album.php on line 1210<br />

i found that one should use newAlbum - without the space - but this doesn't work either.
what do i have to change to make it work again? i just want to display the images directly in the album.php as a slideshow.

edit: i already changed getAlbumLinkURL to getAlbumURL, btw.


Viewing all articles
Browse latest Browse all 2917

Trending Articles