Hi,
I have an an issue about Joomla /Phoca download plugin. I wanted to insert "File link" into an article but it didn´t succeed.
I try to decribe this proces.
- Insert new Articel
- write "Name of articel"
- Click at the button "Phoca download file"
- Choose the file
- Click "Insert code"
and now, in the same window appeared "Joomla admin site" instead of closing the window and inserting the code into the articel.
The following code wasn´t inserted too the article: {phocadownload view=file|id=NNN|target=s} .
Information about system : Joomla ver.3.8.5
PHP : 7.0
Thanks a lot for your ideas.
Phoca download plugin
- Jan
- Phoca Hero
- Posts: 48343
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca download plugin
Hi, this seems like the link is broken or the javascript function which is used to add the link is broken
Which version of both plugins do you use? (button and content). Can you paste the screenshot of the popup?
When you click on the link, do you get any javascript error in javascript console? ( https://www.phoca.cz/documents/16-jooml ... -conflicts )
Jan
Which version of both plugins do you use? (button and content). Can you paste the screenshot of the popup?
When you click on the link, do you get any javascript error in javascript console? ( https://www.phoca.cz/documents/16-jooml ... -conflicts )
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 23 Mar 2018, 11:03
Re: Phoca download plugin
Hi Jan,
thank you for your reply.
Phoca download, Phoca download plugin, Phoca download button plugin are same ver. 3.06
There are screenshots :
https://drive.google.com/open?id=1712S5 ... Hf2QqW4VeP
thank you for your reply.
Phoca download, Phoca download plugin, Phoca download button plugin are same ver. 3.06
There are screenshots :
https://drive.google.com/open?id=1712S5 ... Hf2QqW4VeP
- Jan
- Phoca Hero
- Posts: 48343
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca download plugin
Hmm, did you take a look at the javascript console?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 23 Mar 2018, 11:03
Re: Phoca download plugin
Hi, I am not a expert, there is:
https://drive.google.com/open?id=1MnvcW ... C9j_feBEOK
https://drive.google.com/open?id=1MnvcW ... C9j_feBEOK
-
- Phoca Newbie
- Posts: 5
- Joined: 23 Mar 2018, 11:03
Re: Phoca download plugin
Dear Jan,
I have looked for solution on the internet and it was found.
In file view.html.php ../administrator/components/com_phocadownload/views/phocadownloadlinkfile/
Line ( 121) was changed
$this->assignRef('tmpl', $tmpl);
instead of:
$this->assignRef('tmpl', $this->t);
Now, it seems that my problem was fixed.
But, what do you think about this ?
Maros,
I have looked for solution on the internet and it was found.
In file view.html.php ../administrator/components/com_phocadownload/views/phocadownloadlinkfile/
Line ( 121) was changed
$this->assignRef('tmpl', $tmpl);
instead of:
$this->assignRef('tmpl', $this->t);
Now, it seems that my problem was fixed.
But, what do you think about this ?
Maros,
- Jan
- Phoca Hero
- Posts: 48343
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca download plugin
Hi, which version of Phoca Download do you run. There is no more $tmpl, because it was changed to $this->t and it does not need to be assigned more because $this->t is valid in output file.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48343
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca download plugin
So you should update to 3.1.3.
Jan
Jan
If you find Phoca extensions useful, please support the project