smarty pagination for nested {section}

Jeebiss

New Member
\[code\] Here is the Sample Code: {section name="firstlevel" loop=$xxx} <ul> {section name="secondlevel" loop=$xxx[firstlevel]} <li>$xxx[firstlevel][secondlevel].values</li> {/section} </ul> {sectionelse} No values {/section} {if $smarty.section.firstlevel.last} {include file="pagination.tpl"} {/if}I have limited 10 records per page, but this smarty code not calling the include file pagination. Please suggest what wrong in it or give idea...\[/code\]
 
Back
Top