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 21st, 2010, 10:46 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2010
Posts: 5
"Most" block additional info

Greetings. We need some help with displaying additional information in "Most" block. We want to display: Views, Date, Comments for each photo in this block. We`ve found the feature.tmpl and added this:

Quote:
<tr>
<td class="alt1" align="left">
<span class="smallfont">{$Globals['pp_lang']['views']}:</span>
</td>
<td class="alt1" align="left">
<span class="smallfont">{$gallery['views'][$x]}</span>
</td>
</tr>

<tr>
<td class="alt1" align="left">
<span class="smallfont">{$Globals['pp_lang']['date']}:</span>
</td>
<td class="alt1" align="left">
<span class="smallfont">{$gallery['ppdate'][$x]}</span>
</td>
</tr>

<tr>
<td class="alt1" align="left">
<span class="smallfont">{$Globals['pp_lang']['comments']}:</span>
</td>
<td class="alt1" align="left">
<span class="smallfont">{$gallery['comline'][$x]}</span>
</td>
</tr>
The question is, what variables should be used in feature.tmpl instead of $gallery['views'][$x] $gallery['ppdate'][$x] and $gallery['comline'][$x] or what script should be edited to make the "gallery" array work in feature.tmpl. Cause it works only at showgallery.tmpl.
Thank you.
matrioshki is offline   Reply With Quote
Old August 21st, 2010, 11:04 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
You cant just add stuff from other templates into other templates

You would actually need to write whats known as a code mod to query and define extra info in the display_gallery function in pp-inc.php then alter your feature template to add in new variables you define.

So there is no setting to do what you want in the actual program.
__________________
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
Adding more code display information under an Image's "Addition Info" Section globalstrata Photopost Pro How Do I...? 2 May 13th, 2007 10:03 AM
"enter same info as above if not integrating with a third party forum" seeker Photopost Pro Installation & Upgrades 5 June 6th, 2006 12:16 PM
call a specific category "additional field" in a template? rbl Photopost Pro How Do I...? 6 December 11th, 2005 02:22 PM
How do I remove the detail info underneath the thumbnails of "Feature Photos" ? TL408 Photopost Pro Installation & Upgrades 2 May 2nd, 2005 12:04 AM


All times are GMT -5. The time now is 03:06 PM.

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