from Michael P's Feb 3 2005 post:
Quote:
You can always modify the showgallery.tmpl template (the benefit of templates being able to move items around without needing to make everything an option).
Code:
if ( $cats['subalbcnt'] > 0 ) {
$cats['albumcount'] = $cats['subalbcnt'];
$Globals['pp_lang']['albums'] = $Globals['pp_lang']['userassigned'];
include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/albums.tmpl" );
}
Move it from the bottom to the top wherever you want it.
|
Well, I have been experimenting trying to find the proper placement:
If I move that section (lines 285 - 289) up to line 2, I get the albums showing in the very beginning which is what we want but the albums show up twice.
If I try to fix this by deleting line 13 which says:
include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/albums.tmpl" );
then I get the effect I want in the show gallery area, but lose the albums showing in the members gallery area.
Any suggestions on how to do successfully this would be greatly appreciated!
Carole