inclure un bloc dans page | Titre du sujet : inclure un bloc dans page par xero93 sur 27/04/2009 10:21:10
bonjour, j'aurais voulu inclure dans une page vierge du module pages, des blocs ou leur contnue. j'es deja fais un copier du contenue d'un bloc du module xcgalerie qui est le suivent:
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="outer"> <tr><th align="left" colspan="<{$block.count}>"><{$meta.title}></th></tr>
<tr> <{foreach item=pic from=$meta.pics}> <td valign="top" class="even" width ="<{$block.width}>%" align="center"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td align="center"> <a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}></a><br /> <{$pic.caption}> </td> </tr> </table> </td> <{if $pic.i == $block.count}> </tr><tr> <{/if}> <{/foreach}> <{if $meta.empty == 1}> <{foreach item=empt from=$meta.empties}> <td valign="top" class="odd" width ="<{$block.width}>%" align="center"> </td> <{/foreach}> <{/if}> </tr>
</table>
et j'ai ca en réponse:
<{foreach item=pic from=$meta.pics}> <{if $pic.i == $block.count}>
<{/if}> <{/foreach}> <{if $meta.empty == 1}> <{foreach item=empt from=$meta.empties}> <{/foreach}> <{/if}>
<{$pic.image}>
<{$pic.caption}> ou est le probleme ou alors est ce que quelqu un a un autre moyen. merci d'avance.
|
|