Forums / General / Number of results in google navigator

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Number of results in google navigator

Author Message

Philip K.

Monday 24 October 2005 7:22:01 am

Hi.

I tried to modify my google navigator because I want the navigator to show me the current result number and the number of maximum results. It should look like

< 1 2 3 4 5 6 7 >
Current Page: 2 / 7 (<- this is my problem)

I wrote this line of code in my tpl:
{$:current_page} / {$:page_count}

But the navigator starts with a "0", so that
<b>0 / 7</b> (the max results are OK...) is displayed...

What must I do for getting a "1" instead of a "0" ??

I hope you understood my problem... :)

Thanks for your help...

Linux is like a wigwam; no windows, now gates, and apache inside!

Kristof Coomans

Monday 24 October 2005 9:54:12 am

{$:current_page|inc} / {$:page_count}

See http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_operators/mathematics/inc

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Philip K.

Tuesday 25 October 2005 12:12:36 am

Thank you for your fast answer - it works :)

Linux is like a wigwam; no windows, now gates, and apache inside!