JAKCRABBIT Posted September 7, 2012 Share Posted September 7, 2012 Hi, where is defined path to file PDF.php ? I need to create second button for print PDF 2 in administration, but i cant to find path where isit defined. So I need to set path to PDF2.php. Can someone help? Thx a lot. Jan Link to comment Share on other sites More sharing options...
CartExpert.net Posted September 7, 2012 Share Posted September 7, 2012 Hi. This depends on where the link should be? Front Office or Back Office. Are you trying to do a new class file? Regards. Robin. The CartExpert Team Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted September 7, 2012 Author Share Posted September 7, 2012 (edited) In detail of order in BO. I have button now which link to admin/pdf2.php but I dont know, where to define path from this file to classes/PDF2.php. Edited September 7, 2012 by JAKCRABBIT (see edit history) 1 Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted September 8, 2012 Author Share Posted September 8, 2012 Nobody? Link to comment Share on other sites More sharing options...
CartExpert.net Posted September 13, 2012 Share Posted September 13, 2012 You do not need to include the PDF2.php file. PrestaShop uses the __autoload function for classes, so you do not have to specify a path. Regards. Robin. The CartExpert Team 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