Vox Populi(x) forum

Alexandria Book Library => Errori (Bugs) => Topic started by: bookwa on 20 December 2012, 17:16:35

Title: Problem with displaying books in All-in-one module
Post by: bookwa on 20 December 2012, 17:16:35
Hi, Federica.
If number of books (MOD_ABOOK_ALLINONE_COUNT) = 9 (3 in row) in horizontal position it looks like at image in attacment.
If number of books = 6 it's OK (seems to lack <div class="clr"></div> after second row of books).
How to resolve the problem?
Abook 2.0.4. PHP 5.2.17.

Title: Re: Problem with displaying books in All-in-one module
Post by: federica on 28 December 2012, 10:42:10
Hi bookwa,
try to set "Counter" = 9 and "books per row"=3
In this way it works?
Title: Re: Problem with displaying books in All-in-one module
Post by: bookwa on 28 December 2012, 16:58:00
Quote from: federica on 28 December 2012, 10:42:10
try to set "Counter" = 9 and "books per row"=3
In this way it works?

No, it not works. (If "Counter"=6 and "books per row"=3 - it's ok)
Title: Re: Problem with displaying books in All-in-one module
Post by: federica on 11 January 2013, 13:30:18
Can you post the site url?
Title: Re: Problem with displaying books in All-in-one module
Post by: bookwa on 11 January 2013, 19:57:50
Quote from: federica on 11 January 2013, 13:30:18
Can you post the site url?
Site url http://bookwa.org/
Title: Re: Problem with displaying books in All-in-one module
Post by: federica on 12 January 2013, 18:08:27
Can you put 9 books in 3 rows? I would check where is the error in the html code.
If you don't want to show the misaligned books you may use any other page than the homepage.

Do you have installed abook_all_in_one 1.0.5?
Title: Re: Problem with displaying books in All-in-one module
Post by: bookwa on 13 January 2013, 11:12:48
Page url, login and password sent you at email info@alexandriabooklibrary.org

abook 2.0.4
abook_all_in_one 1.0.5
PHP 5.2.17
Title: Re: Problem with displaying books in All-in-one module
Post by: federica on 13 January 2013, 15:25:12
Hi bookwa,
put 9 books in 3 rows and post the url, please.
Title: Re: Problem with displaying books in All-in-one module
Post by: bookwa on 13 January 2013, 16:16:53
OK.
http://bookwa.org/
Title: Re: Problem with displaying books in All-in-one module
Post by: federica on 13 January 2013, 20:34:27
Thanks.
I will fix the bug in the next version.
To fix the books count you can edit the file yourself
1) open modules/mod_abook_allinone/tmpl/default.php
2) add this code after the line 53:
<?php $n=0;?>
Title: Re: Problem with displaying books in All-in-one module
Post by: bookwa on 13 January 2013, 21:06:54
Thanks a lot! :)