Revision [382]
Last edited on 2007-07-17 08:51:21 by JavierWilsonAdditions:
$smarty->assign('row', $data->ReadRecord());
$smarty->assign('rows',$data->ReadData());
$smarty->assign('rows',$data->ReadData());
Deletions:
$smarty->assign('rows',$rows);
Revision [327]
Edited on 2007-06-12 22:33:50 by JavierWilsonAdditions:
{$row.resumen|nl2br}
Deletions:
Revision [326]
Edited on 2007-06-12 22:32:06 by JavierWilsonAdditions:
Deletions:
Documentos
más...
Revision [325]
Edited on 2007-06-12 22:27:11 by JavierWilsonAdditions:
%%(smarty;1;templates/documentos.tpl)
Deletions:
Revision [319]
Edited on 2007-06-12 22:19:57 by JavierWilsonAdditions:
{$row.fecha}
Revision [318]
Edited on 2007-06-12 22:18:27 by JavierWilsonAdditions:
Documentos
{$rows[i].doc
{$rows[i].resumen|truncate:200}
más...
Deletions:
{$rows[i].doc
{$rows[i].resumen|truncate:200} más...
Revision [316]
Edited on 2007-06-12 22:12:58 by JavierWilsonAdditions:
Ejemplo para parte pública:
Ejemplo de plantilla tpl, asumiendo tenemos un header.tpl y footer.tpl, aqui rellenamos el medio:
%%(smarty;1;tempates/documentos.tpl) {include file="header.tpl"}
{if $row}
{$row.resumen|nl2br}
{/if}
{section name=i loop=$rows}
{$rows[i].resumen|truncate:200} más...
{/section}
{include file="footer.tpl"}
----
CategoryEjemplos
Ejemplo de plantilla tpl, asumiendo tenemos un header.tpl y footer.tpl, aqui rellenamos el medio:
%%(smarty;1;tempates/documentos.tpl) {include file="header.tpl"}
{if $row}
{$row.doc}
{$row.resumen|nl2br}
{/if}
{section name=i loop=$rows}
{$rows[i].doc
{$rows[i].resumen|truncate:200} más...
{/section}
{include file="footer.tpl"}
----
CategoryEjemplos
Deletions:
Revision [315]
Edited on 2007-06-12 22:06:46 by JavierWilsonAdditions:
====Ejemplo para documentos: docTable====
Tabla de documentos que incluye fecha, resumen, archivo (pdf), e imágen.
Tabla de documentos que incluye fecha, resumen, archivo (pdf), e imágen.