[Plugin: NextGEN Gallery] Template inheritance from album to gallery
-
Hi Alex,
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
replace:
$out = nggShowGallery($galleryID);by:
$out = nggShowGallery($galleryID, $template);Otherwise it is necessary to re-code this every time after an update.
Thank you in advance,
Heinz
- The topic ‘[Plugin: NextGEN Gallery] Template inheritance from album to gallery’ is closed to new replies.