Page 1 of 1

Pagination not work in Link to File download button

Posted: 18 Sep 2014, 08:21
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

Re: Pagination not work in Link to File download button

Posted: 19 Sep 2014, 22:16
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

Re: Pagination not work in Link to File download button

Posted: 20 Sep 2014, 03:35
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

Re: Pagination not work in Link to File download button

Posted: 20 Sep 2014, 23:10
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

Re: Pagination not work in Link to File download button

Posted: 21 Sep 2014, 11:55
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

Re: Pagination not work in Link to File download button

Posted: 21 Sep 2014, 18:03
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

Re: Pagination not work in Link to File download button

Posted: 22 Sep 2014, 00:13
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

Re: Pagination not work in Link to File download button

Posted: 23 Sep 2014, 00:21
by Jan
Ok