Using this shortcode: [album id="all" template="extend" gallery="gallery"]
I expect to see a list of all galleries with links to each gallery. Instead, I
see a list of all galleries with broken links. Only the gallery slug is
appended to the base URL.
What version of the product are you using? On what operating system?
Version 1.9.2 on Snow Leopard
I am able to fix the link issue in my own template using this code:
trailingslashit ( get_permalink() ) . trailingslashit ( $nggRewrite->slug ) . trailingslashit ( $gallery->slug )
And in the function nggShowAlbum(), I added the code:
if ( ( is_string ( $albumID ) and $albumID === 'all' ) )
$gallery = $album;
This ensures that if a gallery object is passed to nggShowAlbum to treat it as
such and not as an album.
Original issue reported on code.google.com by clsil...@gmail.com on 19 Jan 2012 at 12:02
Original issue reported on code.google.com by
clsil...@gmail.com
on 19 Jan 2012 at 12:02