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.