Page 1 of 1
Hide download button
Posted: 12 Sep 2011, 16:05
by 0zz1
hi all,
i have weird questions... can i hide the download link from the frontend?
I mean i love the com_ but the preview have all i want already... and there is also download button there! so then I would not need to add the pdf to 2 places on backend...
Re: Hide download button
Posted: 12 Sep 2011, 18:38
by Jan
Hi, there is no parameter for this, but you can hide it directly in the code or if you are using your layout design, then you will not add teh download button to this layout.
to edit the file:
components/com_phocadownload/views/category/tmpl/default_files.php
Jan
Re: Hide download button
Posted: 13 Sep 2011, 05:12
by 0zz1
Hi Jan,
there is no default_files.php however i looked for the default.php but could not find away to disable it.... am i looking at a wrong file? thanks.
Re: Hide download button
Posted: 13 Sep 2011, 14:20
by Jan
Hi, you should upgrade to latest version.
in some old version, the info is stored in default.php - you can find the part for download buttons there.
Re: Hide download button
Posted: 15 Sep 2011, 13:49
by 0zz1
im on the latest version (for joomla 1.5) that is 1.3.9
ill keep on looking... from the default.php
Re: Hide download button
Posted: 15 Sep 2011, 14:02
by 0zz1
found it... i just removed this
323-328 and works nicely now...
// DOWNLOAD
$downloadOutput .= '<div class="pddownload'.$this->tmpl['button_style'].'"><div>';
$downloadOutput .= $linkDownloadB;
$downloadOutput .= JText::_('Download');
$downloadOutput .= $linkDownloadE;
$downloadOutput .= '</div></div>';
Re: Hide download button
Posted: 21 Sep 2011, 00:47
by Jan
Ok