Page 1 of 1

How to attach a .pdf or.doc file to the opencart 1.4website?

Posted: Wed Apr 04, 2012 4:04 pm
by bob11
Hello again!

Could somebody tell me please how to attach a file on the page and make it downloadable?
Thanks!

Re: How to attach a .pdf or.doc file on the website?

Posted: Wed Apr 04, 2012 6:09 pm
by ruslyrossi
last time i'm using ckeditor..

Re: How to attach a .pdf or.doc file on the website?

Posted: Wed Apr 04, 2012 6:23 pm
by bob11
what is a ckeditor? Please explain how to use it.
Thanks!

Re: How to attach a .pdf or.doc file on the website?

Posted: Wed Apr 04, 2012 10:52 pm
by bob11
I'm just refreshing my post, so that it won't fade into oblivion :)
Any suggestion is welcome!

Re: How to attach a .pdf or.doc file to the opencart 1.4webs

Posted: Thu Apr 05, 2012 10:29 am
by ruslyrossi
sorry ..i think not ckeditor but this -> http://www.opencart.com/index.php?route ... on_id=1863 ... you can upload pdf file and let user donwload at frontend

Re: How to attach a .pdf or.doc file to the opencart 1.4webs

Posted: Thu Apr 05, 2012 4:36 pm
by bob11
ruslyrossi wrote:sorry ..i think not ckeditor but this -> http://www.opencart.com/index.php?route ... on_id=1863 ... you can upload pdf file and let user donwload at frontend
thanks, but how do you make this application work, after uploading the application files to the server?

Re: How to attach a .pdf or.doc file to the opencart 1.4webs

Posted: Thu Apr 05, 2012 5:58 pm
by ruslyrossi
simple, after upload your pdf file to server..u need to create link and link to pdf directory..or you can refer this vid(this video for my previous client)..-> http://www.youtube.com/watch?v=StxOCTj9 ... e=youtu.be

Re: How to attach a .pdf or.doc file to the opencart 1.4webs

Posted: Tue Aug 19, 2014 11:30 pm
by evopixel
I know is an old topic but I have managed after hours to workout why I was not able to link to an pdf file, I was beeing served with 'Page not found'

Follow these steps:
  • create a folder called /downloadarea/ in root

    change config.php and admin/config.php to say

    Code: Select all

    define('DIR_DOWNLOAD', '/home/(your directory)/public_html/downloadarea/');
and in .htaccess: RewriteRule

Code: Select all

^downloadarea/(.*) /index.php?route=error/not_found [L]