[Plugin: NextGEN Gallery] Template inheritance from album to gallery
by default a gallery which is listed by an album always uses a default-template. But I and other users need custom-templates for both album and galleries. Including the gallery directly into a post gives us the possibility to enter the custom template. But this is not the case whe we display an album. Currently an album always links to a gallery in a standard-template.
Would you please include this patch into your next version of the wonderful NextGen Gallery, in order to make it possible to use a custom template for a gallery also in case it is listed by an album?
This does the trick:
line 285 in nggfunctions.php
$out = nggShowGallery($galleryID);
$out = nggShowGallery($galleryID, $template);
Otherwise it is necessary to re-code this every time after an update.
Thank you in advance,
- The topic ‘[Plugin: NextGEN Gallery] Template inheritance from album to gallery’ is closed to new replies.