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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


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 9 Years, 10 Months ago Karma: 0
Hi

I have a little problem with pagination ...

Having a page '0' ( hard cover ) , the page n°1 of my book is N°2 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 9 Years, 10 Months ago Karma: 760
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 9 Years, 10 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 9 Years, 10 Months ago Karma: 760
Sorry, but it is not possible.

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