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 August 3rd, 2005, 06:54 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 28
Adding Album Name underneath random photos...

On the main index page where it shows random photos, is there a way to show the Album Name that contains each of the photos underneath each of the thumbnails?

I've found the following line in "feature.tmpl":

<span class="{$Style['small']}">{$ptitle[$x]}<br />{$puser[$x]}</span>

This line obviously produces the title and username that goes under each thumbnail, but I would also like to have the name of the Album that contains each of the thumbnails.

I was thinking that the variable for the album name is "albumname", but that wouldn't work.

Any ideas?
scritty is offline   Reply With Quote
Old August 3rd, 2005, 07:49 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Nope you need to define it.

pp-inc.php line 691 add the code above in bold. Line 691 is the line not bold below

$displayname = $CatPerms['catname'][$thiscat];

if ( $CatPerms['ugview'][$thiscat] == 0 ) {

then at line 700 add the line in bold under the line

$puser[$count] = $fuser;
$pcat[$count] = $displayname;

Then in your features template as you already saw you can do this

<span class="{$Style['small']}">{$ptitle[$x]}<br />{$puser[$x]}<br />{$puser[$x]}</span>
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 3rd, 2005, 08:11 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 28
Thanks. That did the job. I had to change the bold "puser" at the bottom of your instructions to "pcat" and it worked like a charm. Thanks.
scritty is offline   Reply With Quote
Old August 3rd, 2005, 08:14 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
LOL yeah typo but you know what I meant
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
ReviewPost - adding more thumbnail photos fpoole ReviewPost Installation & Upgrades 4 August 7th, 2005 09:29 AM
How do I remove the detail info underneath the thumbnails of "Feature Photos" ? TL408 Photopost Pro Installation & Upgrades 2 May 2nd, 2005 01:04 AM


All times are GMT -5. The time now is 02:07 PM.

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