add picture description under picture??

sundri

No avatar

2007-02-28 13:35

In the file : pa.products_more

I edit it to


<h5>$aData[sCategories]</h5>
<
h2>$aData[sName]</h2>
$aFiles[sPhotosDefault]
<
p$aData[sDescriptionFull] </p>
<
div class="clear"></div>

  
$aFiles[sPhotos]
  
$aFiles[sDescription]  <=== I added thisto show the pictures description under the jpg thumbnails.. but only the last name shows.. 



i also tried the file products_more.tpl


<!-- BEGIN PHOTO_LIST -->
<
div class="photo"><a href="javascript:windowGallery( $aList[iFile], $aData[iProduct], 1 );"><img src="$aList[sPhotoSmall]" alt="$aList[sDescription]" title="$aList[sDescription]" />$aFiles[sDescription]</a></div>
<!-- 
END PHOTO_LIST -->

and 
added some text before </divbut it does not appear



which file to i edit to add the description under the thumbnail for the extra photos ??

» Quick.Cart v1.x

treewood (OpenSolution)

Avatar: treewood

2007-02-28 14:57

try to change $aFiles[sDescription] to $aList[sDescription] in PHOTO_LIST block

sundri

No avatar

2007-02-28 15:09

hey treewood, i thought that would do the trick too.. but it didn't.. i don't understand..
alt="$aList[sDescription]" seems to work...
i also added another <div> tag and added it there too.. it does not show up..


<!-- BEGIN PHOTO_LIST -->
<
div class="photo"><a href="javascript:windowGallery( $aList[iFile], $aData[iProduct], 1 );"><img src="$aList[sPhotoSmall]" alt="$aList[sDescription]" title="$aList[sDescription]" />$aList[sDescription]</a></div>

<
div$aList[sDescription] </div>
<!-- 
END PHOTO_LIST -->


Back to top
about us | contact