2
I have the same Problem.
When uploading the image there is no field caption to write anything into it.
Result: Database field caption is empty for all my images.
The static-Image block template is:
<{foreach item=pic from=$block.pics}>
<td align="center" class="odd" style="padding: 10px;vertical-align: middle;">
<a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}>a><br />
<{$pic.caption}>
td>
<{/foreach}>
I changed $pic.caption to $pic.title but nothing happened.
So in the next step i filled the db field caption for the images but the smarty debug console shows:
{$pic} Array (6)
pos => -27
image => img src="http://test.mydomain.de/...
caption => empty
pid => 27
link_tgt => displayimage.php?pid=27&album=ran...
i => 1
Very sad, since xcgal is a good album module.
Xoops: 2.2.3, Xcgal: 2.0.2
Marco
--
Match Dart!Darts Ranking, News, Videos, Forum and more