Ok, so in designing a template, I want to set column widths, that obviously only affect that template. So using the override system I would put the tpl_box_default_left.php file in the common folder withing templates. I got that bit easily enough. However, not being a whizz at php I don't quite know how to edit the page
If I want a width of 150px how would I change the php to let me do that? Or is it as simple as to:PHP Code:<!--// bof: <?php echo $box_id; ?> //-->
<div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>">
<h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3>
<?php echo $content; ?>
</div>
<!--// eof: <?php echo $box_id; ?> //-->
Secondly, I know to edit the tpl_header.php if I want to change the sitewide header. However I want to display a different header on different pages, is this done within the tpl_header.php file, or elsewhere. For example, I want a different header on the search pages, the cart pages, the checkout pages and the "account" pages. Is this possible? And how would I go about it?PHP Code:<!--// bof: <?php echo $box_id; ?> //-->
<div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width:150px">
<h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3>
<?php echo $content; ?>
</div>
<!--// eof: <?php echo $box_id; ?> //-->
That's all the questions I can think of for the moment :)
Thank you in advance



