Pagination not work in Link to File download button

Phoca Download - download manager
mkpdroid
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 18 Sep 2014, 05:15

Pagination not work in Link to File download button

Post by mkpdroid »

Hi,

I have search around this forum but couldn't any topy about this.
I have problem when add Phoca Download item in Joomla Article. I have click Download button in editor bottom, and then when i pick Link to File, cannot open next page in pagination or navigation cannot process to another page except first page.

I have using Joomla 3.3.3 and Phoca download 3.0.5. Maybe this screenshot will help you to understand my problem prntscr.com/4nweiu
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination not work in Link to File download button

Post by Jan »

Hi, do you get any javascript error there :idea: - see: https://www.phoca.cz/documents/16-joomla ... -conflicts when you click on next button :idea:

Jan
If you find Phoca extensions useful, please support the project
mkpdroid
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 18 Sep 2014, 05:15

Re: Pagination not work in Link to File download button

Post by mkpdroid »

Hi jan,

glad you respond it and thank you for your respond.

I don't think so, because it's in Admin area, when I tried to insert Link to FIle using Download button in article manager, the pagination in admin area cannot work.

I have using default isis admin template and no another content plugin active, I have tried change the admin template to hator, change from JCE to Tiny MCE and without Editor, but the problem still there, Link to File pagination cannot go to 2,3,4,.... pages, it only still in page 1.

Have you see this link : prntscr.com/4nweiu

thank you,

mico
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination not work in Link to File download button

Post by Jan »

Hi, I have found it, it is a javascript problem similar to: viewtopic.php?f=1&t=26747#p100029

I hope, Joomla! code will accept my fix as soon as possible as this issue limits the working of components with more forms :-(

Jan
If you find Phoca extensions useful, please support the project
mkpdroid
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 18 Sep 2014, 05:15

Re: Pagination not work in Link to File download button

Post by mkpdroid »

hi,

so the problem come from Joomla? is that any short solution for that problem? or should be waiting for joomla to fix it.

thank you jan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination not work in Link to File download button

Post by Jan »

Hi, some quick fix/hack (but not sure if this will be not in conflict with other features):

Open:
administrator\components\com_phocadownload\views\phocadownloadlinkfile\tmpl\default.php
and change from:

Code: Select all

<form action="<?php echo $this->request_url; ?>" method="post" name="adminForm">
to:

Code: Select all

<form action="<?php echo $this->request_url; ?>" method="post" name="adminForm" id="adminForm">
Be aware right form needs to be selected - cca line 125

Jan
If you find Phoca extensions useful, please support the project
mkpdroid
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 18 Sep 2014, 05:15

Re: Pagination not work in Link to File download button

Post by mkpdroid »

Hi,

Thank you so much Jan with your quick fix, now i can choose link to file on next pages. I will try and check it for compatibility with other features.

Mico
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination not work in Link to File download button

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply