OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

MediaLibary Component Support

Go to bottom Favoured: 0

Pagination isn't working

#69
Windwill (Visitor)
Posts: 0
graphgraph
User Offline
Pagination isn't working 15 Years, 5 Months ago
Karma: 0  
I have had the media library installed for some time now on a site I'm developing. I like the component, but I have some issues. First and most importantly- The pagination isn't working. I have about 200 books in my library but I can only see 10, or 20, or whatever I put in in the frontend settings. I have no next-button, no numbers showing how many pages there are. Nothing.. I've looked around but I just can't find the problem or a solution to it. I suck at PHP so I don't even know what to look for or where right now. I tried looking trough the .php files in the component but since I'm not sure what I'm looking for it's hard.

I read the other tread about this, but there was no solution. I'm running Media library on a 1.5.12 installation.
Logged Logged
The administrator has disabled public write access.
#70
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Pagination isn't working 15 Years, 5 Months ago
Karma: 102  
Sorry, that must be work good.

Please give me admin access to your site for check.

You can send it to contact form.

Thanks for use ours service
Logged Logged
The administrator has disabled public write access.
#82
marks (Visitor)
Posts: 0
graphgraph
User Offline
Re:Pagination isn't working 15 Years, 4 Months ago
Karma: 0  
I have the same pagination problem with MediaLibrary. I replaced the code as described below and it now works. This is from the other site. Is there a better way to fix this issue?

www.joomlawebserver.com/support-forums/b...ion/view-7.html#1112

From qbin2001:
I found out that in medialibrary.html.php array $arr is empty (no declaration - in booklibrary.html.php it is declared in session part) so in line 292:

$paginations = $arr;

if ($paginations && ( $total > $limit ))

makes no pagination at all.

Temporary solution is to change

if ($paginations && ( $total > $limit ))

to

if ( $total > $limit )

Then it works ok.
Logged Logged
The administrator has disabled public write access.
#83
Windwill (Visitor)
Posts: 0
graphgraph
User Offline
Re:Pagination isn't working 15 Years, 4 Months ago
Karma: 0  
My problem is fixed now. The guy who wrote it fixed it for me.

But I'm pretty sure I downloaded it again when I installed it so maybe there is a faulty version out there some where.
Logged Logged
The administrator has disabled public write access.
#84
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Pagination isn't working 15 Years, 4 Months ago
Karma: 102  
Where from do you take that version?
How take link to download?

Code(error) what you show was fixed more month ago!
Logged Logged
The administrator has disabled public write access.
#85
Windwill (Visitor)
Posts: 0
graphgraph
User Offline
Re:Pagination isn't working 15 Years, 4 Months ago
Karma: 0  
Sorry, Seems like I made a fool of myself. I can't find the download in my download-folder, so maybe I installed the old version by mistake. I usually download the newest version just to make sure. I must have slipped in my procedure this time.

So I take it all back, slap my fingers and repent..
Logged Logged
The administrator has disabled public write access.
Go to top
»