I have had the need to reprogram a line of code to the plugini phoca download, I need to know if it is correct or is there another way to configure the component to avoid programming ineed plugin function next code:
line 680 to 682 plugin hocadownload.php (content)
} else {
$output .= '<div class="phocadownloadfile'.(int)$iSize.'"><a href="https://docs.google.com/viewer?url='.urlencode(rtrim(JURI::root(), '/')).urlencode (JRoute::_($link)). '" '.$targetOutput.'>'. $textOutput.'</a></div>';
}
<name>plg_content_phocadownload</name>
<author>Jan Pavelka (www.phoca.cz)</author>
<creationDate>16/04/2020</creationDate>
<authorEmail></authorEmail>
<authorUrl>https://www.phoca.cz</authorUrl>
<copyright>Jan Pavelka</copyright>
<license>GNU/GPL</license>
<version>3.2.0</version>
<description>PLG_CONTENT_PHOCADOWNLOAD_DESCRIPTION</description>
<projectName>PhocaDownloadContentPlugin</projectName>
Attention phoca download programmers
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Attention phoca download programmers
Hi, not sure what do you mean with "correct". Do you get any error there? Does it work for you?
Jan
Jan
If you find Phoca extensions useful, please support the project