I am trying to direct the user to some other URL in the last page of a category; therefore, I create a link in category.html (i do not want to use the paging tool bar) to work like paging but with more control in it. But my "if" statement is not working somehow.. it does not show if I am in the last page or not...
I run dynamic links.
this is the code that I am trying to use:
<%if paging.current_page ne paging.num_hits%> (means if I did not reach the last page yet)
<a href="<%next%>">Next </a> (then show the next)
<%else%>
<%go to some other URL%> (otherwise, I am in the last page of the category go somewhere else next)
<%endif%>
Any help.. thanks much
I run dynamic links.
this is the code that I am trying to use:
Code:
<%if paging.current_page ne paging.num_hits%> (means if I did not reach the last page yet)
<a href="<%next%>">Next </a> (then show the next)
<%else%>
<%go to some other URL%> (otherwise, I am in the last page of the category go somewhere else next)
<%endif%>
Any help.. thanks much