Not correct actually (even wrong single quotes..;-)).. `getParent()` returns an object if there is a parent. So in case there is you could use `$_zp_current_album->getParent()->getAlbumLink()`. Better is a check like this: ` $parent = $_zp_current_album->getParent(); if(is_object($parent)) { ?> getAlbumLink()); ?>">linktext <?php } ` You can also use the breadcrumb functions btw.
Comments
`
$parent = $_zp_current_album->getParent();
if(is_object($parent)) {
?>
getAlbumLink()); ?>">linktext
<?php
}
`
You can also use the breadcrumb functions btw.