PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 17th, 2005, 10:14 PM   #1 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
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
mjm is offline   Reply With Quote
Old July 19th, 2005, 08:49 AM   #2 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
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
mjm is offline   Reply With Quote
Old July 19th, 2005, 01:19 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 193
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
Carolem is offline   Reply With Quote
Old July 19th, 2005, 10:19 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 193
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
Carolem is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pp 5.01 User not assigned to some albums? Geiri Photopost Pro How Do I...? 1 July 13th, 2005 04:55 PM


All times are GMT -5. The time now is 01:23 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0