i am using a cloned block in order to display an image-image title- image description.
you can check it out here:
http://zografotypia.gr/modules/publications/the problem is that i can not display the image descripton.
it should be displayed where the gggggggggggg are.
the blocks template is:
<{foreach item=photo from=$block.photo}>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2">
<a href="<{$block.mod_url}>/photo.php?lid=<{$photo.lid}>&cid=<{$photo.cid}>"><img src="<{$photo.thumbs_url}>/<{$photo.lid}>.<{$photo.ext}>" <{$photo.width_spec}> alt="<{$photo.title}>" title="<{$photo.title}>" /></a>
</td>
<td>
<a href="<{$block.mod_url}>/photo.php?lid=<{$photo.lid}>&cid=<{$photo.cid}>"><{$photo.title}></a>
</td>
</tr>
<tr>
<td>
ggggggg <{$photo.description}>
</td>
</tr>
</table>
<{/foreach}>
please help
Simple reason.
"description" is not assigned into the template.
i'm not sure i unsterstand what do tou mean....
Is there any solution to my problem?
Could you suggest any corrections?
thank you
I mean "assign by yourself"
Why do I have to answer how to hack?
nobody can force you to answer. Yet i can thing of several reasons you should reply. e.g:
1. xoops is an open source community and so is myalbum-p
2. my album-p was born by hacking (or rewriting an existing module)
3. you are the creator of myalbum-p and you sustain a support forum regarding this module
4. you may wish to add some new funcionalities to the current version.
amd moore. i hope i can get a reply
Quote:
1. xoops is an open source community and so is myalbum-p
yes
Quote:
2. my album-p was born by hacking (or rewriting an existing module)
it's almost wrong.
You can find MyAlbum from bluetopia is far from myAlbum-P.
Quote:
3. you are the creator of myalbum-p and you sustain a support forum regarding this module
I've almost stopped support myAlbum-P
I'm centering D3 modules.
Quote:
4. you may wish to add some new funcionalities to the current version.
No.
I'll quit developping myAlbum-P.
If you want good developments, don't bother the authors by the site customization without any technical interesting for me and useful just for you
thank you for your reply.
it is good to know that a support forum, does not longer offer any support
1). Which block have you cloned?
2). You have to make sure that the function
is availble within the specific php file of that block.
3). After you have insert the above needed function you insert the smarty code within the specific template
Hope this helps out!