crpereyra1 Posted May 23, 2014 Share Posted May 23, 2014 I am testing using tcpdf to generate pdf files. I have put a test php file in the class/pdf folder which is just the sample 1 from the tcpdf page. I have put a test anchor tag on my products under print and send to a friend. I am not sure how to tie this anchor to the creation or calling of my php file that creates the pdf. Any help would be appreciated. Thank you, Link to comment Share on other sites More sharing options...
bellini13 Posted May 23, 2014 Share Posted May 23, 2014 if you just want to have a link to your php file, then you would use an <a> tag <a href="domain.com/classes/pdf/test.php">Click Me</a> Link to comment Share on other sites More sharing options...
crpereyra1 Posted May 23, 2014 Author Share Posted May 23, 2014 That's not what I want. I want to generate a pdf woth tcpdf not just link to an exisiting pdf. Link to comment Share on other sites More sharing options...
bellini13 Posted May 23, 2014 Share Posted May 23, 2014 you asked how to link to the test php file you created, so that is the answer you received if you want to create a PDF using the tcpdf library, then you need to program it. Link to comment Share on other sites More sharing options...
crpereyra1 Posted May 23, 2014 Author Share Posted May 23, 2014 I apologize, I did not read your email correctly. I thought it said to put the link to the pdf directly. I tried what you recommended just putting a link to the php file that makes the pdf but I am getting a 403 error "You don't have permission to access /shop/prestashop/classes on this server." any ideas? Thanks Link to comment Share on other sites More sharing options...
bellini13 Posted May 24, 2014 Share Posted May 24, 2014 I would move the php file you created to the root folder of Prestashop 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now