Link to home
Start Free TrialLog in
Avatar of birdseyetech
birdseyetechFlag for Canada

asked on

Joomla - upload pdf URL

When I upload a pdf to joomla through media manager it uploads the pdf fine but the pdf does not show as a hyperlink that I can open or retrieve the URL like with image files. it is kinda greyed out, I can click on it and delete it, but it doesn't allow me to click on it and open it or view the URL to it. Does anyone know what settings to change to make the PDF's clickable in Media Manager so the URL is available so I can copy it and use it to paste into an article?

As well, when using the frontend, when you navigate to the images section when editing an article, all of the images show up but none of the PDF's show up (they are there but invisible). Anyone know how to make them visible from the frontend logon editing?
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image


i don't think it supports for pdf, text, ms-word etc., since they did not apply the <a href="" to the  other files format, they just apply for only images format...


if you want to make it open the other files pdf, doc, txt.. you need to modify

 \joomla\administrator\components\com_media\views\medialist\tmpl\thumbs_doc.php



then it will work for you


apply "href" and give the path of the folder
 
<a  href="?path ???>" style="display: block; width: 100%; height: 100%">                        
                        <img border="0" src="<?php echo $this->_tmp_doc->icon_32 ?>" alt="<?php echo $this->_tmp_doc->name; ?>" /></a>

Open in new window

Once you made this change, you can open the pdf file...
did you try?
ASKER CERTIFIED SOLUTION
Avatar of birdseyetech
birdseyetech
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial