Jump to content

Link to file


SalientAnimal

Recommended Posts

Hi All,

 

I have temporarily taken over the administration of an existing site that will soon e discontinued, however I need to add a few links to files without re-inventing the wheel.

 

The link needs to link to a file using a URL. below is the link that I have created, however it is not opening the file:

[readon2 url="images/repairs/returns policy  process effective 1 feb 
2014.pdf"]Returns Policy Process (Effective 1 Feb 2014)[/readon2]

Regularly these files link to new webpages with content on them, here is a working link:

 
[readon2 
url="index.php?option=com_content&view=article&id=504&Itemid=504"]Repairs 
Status[/readon2]

but as mentioned, I need it to link directly to a file and not to a page, keeping the format of the link.

 

Thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/286135-link-to-file/
Share on other sites

I'm not a Joomla user, but I dont think you want to use the readon tag, this is used for adding a Read More link to an article.

 

Instead you need to open your page into Joomla's WYSIWYG editor press the link button to link to the file instead. Or if joomla allows html then use a html anchor tag

<a href="images/repairs/returns policy  process effective 1 feb 
2014.pdf">Returns Policy Process (Effective 1 Feb 2014)</a>
Link to comment
https://forums.phpfreaks.com/topic/286135-link-to-file/#findComment-1468629
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.