Hi guyz,
We are working in a new website and in the last version we used docman, now we migrate all documents, about 7000 registries, to phocadownload, but we are facing a litle problem, we have some documents that have atachments, so in download view we have to put the link to the atachment that is also a phocadownload item, but it seens the plugin phocadownload only works with article, Here is some example. I have a document to download with phocaplugin and an article.
Phoca does not work with plugin
site14.lagoasanta.mg.gov.br/index.php/legislacao/leismunicipais/category/216
Article works ok.
site14.lagoasanta.mg.gov.br/index.php/servidor/requerimentos-rh
can anyone help-me?
tks
Phoca Download Plugins
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Plugins
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 28 Jan 2014, 15:55
Re: Phoca Download Plugins
Hi Jan,
Tks for your help!
Well, i searched in the view and the code is already there. I'm using Joomla 3.2.1 and phocadownload 3.0.3.
// Description
if ($l->isValueEditor($this->category[0]->description)) {
echo '<div class="pd-cdesc">';
echo JHTML::_('content.prepare', $this->category[0]->description);
echo '</div>';
}
Tks for your help!
Well, i searched in the view and the code is already there. I'm using Joomla 3.2.1 and phocadownload 3.0.3.
// Description
if ($l->isValueEditor($this->category[0]->description)) {
echo '<div class="pd-cdesc">';
echo JHTML::_('content.prepare', $this->category[0]->description);
echo '</div>';
}
-
- Phoca Newbie
- Posts: 7
- Joined: 28 Jan 2014, 15:55
Re: Phoca Download Plugins
We did it,
We have put the method content.prepare in the file default_files.php /views/category/default_files.php
if ($description) {
switch($this->t['display_description']) {
....
case 2:
$pdFileDescBottom = '<div class="pd-fdesc">';
$pdFileDescBottom .= JHTML::_('content.prepare',$v->description);
$pdFileDescBottom .= '</div>';
//$pdFileDescBottom = '<div class="pd-fdesc">'.$v->description.'</div>';
break;
......
}
}
We have put the method content.prepare in the file default_files.php /views/category/default_files.php
if ($description) {
switch($this->t['display_description']) {
....
case 2:
$pdFileDescBottom = '<div class="pd-fdesc">';
$pdFileDescBottom .= JHTML::_('content.prepare',$v->description);
$pdFileDescBottom .= '</div>';
//$pdFileDescBottom = '<div class="pd-fdesc">'.$v->description.'</div>';
break;
......
}
}
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Download Plugins
Ok, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project