Closed seansan closed 8 years ago
I am not sure where to add this code. But if some basic support can be added to the extension then this is great. We started with symlinks ... but sometimes these are lost (or forgotten). So a fallback would really really help
On frontend PDF creating add ...
$package = Mage::getDesign()->getPackage(); $template = Mage::getDesign()->getTheme('template');
Mage::getDesign()->setArea('adminhtml') ->setPackageName('default') ->setTheme('default');
[...] // your code goes here [...]
Mage::getDesign()->setArea('frontend') ->setPackageName($package) ->setTheme($template);