Re: Replacing templates from common skins
This may be a "dirty" work around, but should work: instead of bothering with viewlist, just override the viewer. So override XLite/View/Invoice.php to change
getDefaultTemplate() or XLite/View/InvoicePage.php to modify getDir(), getBody() or getHead(), whichever is appropriate.
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
|