[solved] Only show if on page 1 of pagination help
Posted: Mon Sep 12, 2011 3:40 pm
Hi All,
Was wondering if anybody could help, I need to find a way to allow the content block to only appear on the first page of the pagination, here is how my code currently looks:
My URL Example:
http://www.siteaddress.com/index.php?ma ... 65&page=65
From looking at my URL I guess the snippet to reference would be ‘pageindex=1’ however I can not get any code to work, I was thinking something like this:
Any help would be great,
Cheers,
David
Was wondering if anybody could help, I need to find a way to allow the content block to only appear on the first page of the pagination, here is how my code currently looks:
Code: Select all
{content}
<br/>
{cms_module module="experiences" what="experiences" detailpage="experience" nbperpage="4" query="6"}
My URL Example:
http://www.siteaddress.com/index.php?ma ... 65&page=65
From looking at my URL I guess the snippet to reference would be ‘pageindex=1’ however I can not get any code to work, I was thinking something like this:
Code: Select all
{if $pageindex>1}
{content}
{else}
{/if}
<br/>
{cms_module module="experiences" what="experiences" detailpage="experience" nbperpage="4" query="6"}
Cheers,
David