PDA

View Full Version : Cange place of category and albumpics


zkilzz
December 13th, 2006, 05:49 PM
Hello.
How do i do this? I want to have the album pics over the category list on showgallery.

Thanks in advance.

Marius

Chuck S
December 14th, 2006, 09:51 AM
You could try editing your showgallery template and moving the code bolded from lower in the file to higher up as shown in this example


include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/albums.tmpl" );
include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/$whichgallery.tmpl" );

if ( $albums['subalbcnt'] > 0 ) {
$albums['albumcount'] = $albums['subalbcnt'];
$Globals['pp_lang']['albums'] = $Globals['pp_lang']['userassigned'];
include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/albums.tmpl" );
}

if ( $itemcnt > 0 ) {
echo<<<PPPRINT
<!-- BEGIN TEMPLATE: showgallery.tmpl -->