News:

Support the VirtueMart project and become a member

Main Menu

Template Over-rides - deep interseption

Started by SINNISTER, July 12, 2012, 16:01:54 PM

Previous topic - Next topic

SINNISTER

Hi All,

I've recently figured out the template over-ride and would like your help to further my template layout.

This is what the vendor receives, But i would like to structure it better and maybe change the headings, made the overall width more and space things out.


This is what the shopper receives, the red is what i would like to do with it.


Here is the code from "mail_html_pricelist.php"
defined('_JEXEC') or die('Restricted access');
echo '<font color="#00FF00">This is the priceslist</font><br/>';
$oldlayout=$this->getLayout();
$this->setLayout('invoice');
echo $this->loadTemplate('items');
$this->setLayout($oldlayout);


Thanks in advance.