![]() |
How to put user assigned albums at top of show gallery 1st page Similar to when viewing users Albums / pics in Member Gallery (list format) - albums are at the top on 1st page. Reason: Album usage is only for for our primo usergroup and they need best exposure when viewing cat. - only on 1st page of showgallery. I think it should be pretty straightforward to change around but a nudge in the right direction would make it easier for me to ask my wife to go make the changes :) Thanks, Mark |
Okay, I found instructions for moving category assigned albums to the top in ... this post Carole my dearest will give it a try sometime today. :) Mark |
from Michael P's Feb 3 2005 post: Quote:
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 |
I think I figured out: I moved (lines 285 - 289) 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" ); } and placed it right after line 15 and it seems to work fine! Thanks for "making me think harder!" Carole |
| All times are GMT -5. The time now is 10:17 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0