OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Filters for categories and authors (0 viewing) 

BookLibrary Wishlist

Go to bottom Favoured: 0

Filters for categories and authors

andriusb (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Filters for categories and authors 1 Year, 3 Months ago
Karma: 0  
Hello.

It would be nice to have AJAX filtering for categories and authors lists, just like they are realized in Joomla 3.9 and above.
Or at least it would be nice making these lists twice as high, so that it would be easier to scroll in them.

Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Filters for categories and authors 1 Year, 3 Months ago
Karma: 101  
Please in file:
{your site]/administrator/components/com_booklibrary/booklibrary.php

find row:
Code:

    $clist = mosHTML::selectList($categories, 'catid[]', 'class="inputbox" multiple ', 'value', 
      'text', $cat_idlist);



and replace:
Code:

    $authorsshow = mosHTML::selectList($authors_row, 'authors[]', 'class="inputbox" multiple  style="height:200px" ', 'value', 
        'text', $authors_list);



find row:
Code:

    $authorsshow = mosHTML::selectList($authors_row, 'authors[]', 'class="inputbox" multiple ', 'value', 
        'text', $authors_list);



and replace:

Code:

    $authorsshow = mosHTML::selectList($authors_row, 'authors[]', 'class="inputbox" multiple  style="height:200px" ', 'value', 
        'text', $authors_list);



Please backup this file first

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
andriusb (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:Filters for categories and authors 1 Year, 3 Months ago
Karma: 0  
I think 1st replacement is wrong, since it replaces catlist with authors, but I figured out I should use style="height:200px", thank you.
Will you include those fixes in new version of BookLibrary?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Filters for categories and authors 1 Year, 3 Months ago
Karma: 101  
sorry, No we haven't plan add this to main version of Joomla Book Library
Now we use default Joomla select list size. For not lost this in future update, you mat add this as CSS style - to your Joomla template

Regards
Ordasoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»