Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Book Pagination
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Book Pagination
#53383
Book Pagination 2 Years, 8 Months ago Karma: 0
Hi

I have a little problem with pagination ...

Having a page '0' ( hard cover ) , the page n1 of my book is N2 in component etc

What can I do so that numbering is matching ?

Regards
Eric
The administrator has disabled public write access.
 
#53384
Re:Book Pagination 2 Years, 8 Months ago Karma: 667
Hello,

See the following code in <joomla_directory>/libraries/arismartbook/tmpl/arismartbook.php file:

Code:


<div class="page-number"><?php echo $pageIdx; ?></div>



Replace it is with the following one:

Code:


<div class="page-number"><?php echo ($pageIdx + 1); ?></div>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#53385
Re:Book Pagination 2 Years, 8 Months ago Karma: 0
Dear Team

Very efficient forum ! well done !

Modification is done and working ( however code is echo ($pageIdx - 1) in my case )

Just 1 little extra question ... is it possible to override a library ?
( to be ok with future updates )

Regards
Eric
The administrator has disabled public write access.
 
#53387
Re:Book Pagination 2 Years, 8 Months ago Karma: 667
Sorry, but it is not possible.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1