Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
steddyman
steddyman
It would be great if I could add the same element to the left and middle column and get Viart to treat that as one element and span it.
 
That way I could add the currency selection and counry selection to the top under the header.
 
It would be nice to be able to add stuff to the header like blocks under CMS control too.
 
SajMalik
SajMalik
My fix
 
templates/user/products.html
 
I have created a new .css tag by copying the "homegreetings" tag - renaming it "homegreetings2" and modifying for my products page. This leaves the original "greetings" intact for my home page.:
 
<table width="900px" border="0" cellspacing="0" cellpadding="0" class="mainTable">
<!-- begin greeting_block -->
<tr><td valign="top" class="homeGreeting2" colspan="3">
 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div>
<div>
<p align="center" class="aatext2b-blue"><strong>Thank you for coming to our shop with it's very large expanding stock.   We care about our customers and hope you will enjoy shopping here. </strong>
<p align="left" class="aatext2b-blue"><img src="../../images/spacer.gif" width="170" height="40" align="left"><span class="aatext2b-cream">We hope you find it easy to get around using the menu [left].   If you cannot find what you want please tell us.
 
The minimum order is only £10 and delivery [British mainland] is only £6 [we can deliver across Europe - see "deliveries" for cost] no matter how big the order.   We deliver fast and will contact you if we have any problem. </span>
</div>
</div></td></tr>
</table>
 
</td></tr>
<!-- end greeting_block -->
 
<tr>
<!-- begin left_column -->
 
Colinb (Guest)
Colinb (Guest)
I just tried adding this code into my products.html to see what happened and not thinking it would do much so I never pre copied and saved it ...duhhhh
 
Anyhow its deleted the whole file all 3k or so but enough to cause my product categories to come up with a blank page saying "Block 'middle' doesn't exists." help!
 
Anyone out there can I get a copy of your orig products.html file in here ! And would that work?
 
SajMalik
SajMalik
Colinb
 
This is my whole file:
<html>
<head><title>{html_title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}">
<meta name="description" content="{meta_description}">
<meta name="keywords" content="{meta_keywords}">
<link rel="stylesheet" href="{css_file}" type="text/css">
<script language="JavaScript">
<!--
var requiredProperty = "{REQUIRED_PROPERTY_MSG}";
var addProduct = "{ADD_PRODUCT_MSG}";
var confirmAdd = "{confirm_add}";
var compareMinAllowed = "{COMPARE_MIN_ALLOWED_MSG}";
var compareMaxAllowed = "{COMPARE_MAX_ALLOWED_MSG}";
//-->
</script>
<script type="text/javascript" src="js/shopping.js"></script>
<script type="text/javascript" src="js/compare.js"></script>
</head>
<body class="commonbg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" oncontextmenu="return false;">
{header}
<table width="900px" border="0" cellspacing="0" cellpadding="0" class="mainTable">
<!-- begin greeting_block -->
<tr><td valign="top" class="homeGreeting2" colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div>
<div>
<p align="center" class="aatext2b-blue"><strong>Thank you for coming to our shop with it's very large expanding choice.   We care about our customers and hope you will enjoy shopping here. </strong> <br>
<span class="aatext2b-cream">We hope you find it easy to get around using the menu.   If you cannot find what you want please tell us.
</span>
</div>
</div></td></tr>
</table>
</td></tr>
<!-- end greeting_block -->
<tr>
<!-- begin left_column -->
<td width="{left_column_width}" valign="top" class="mainTableCellLeft">
<!-- begin left -->
{block_body}
<!-- end left -->
</td>
<!-- end left_column -->
<!-- begin middle_column -->
<td width="{middle_column_width}" valign="top" class="mainTableCellCenter">
<!-- begin middle -->
{block_body}
<!-- end middle -->
</td>
<!-- end middle_column -->
<!-- begin right_column -->
<td width="{right_column_width}" valign="top" class="mainTableCellRight">
<!-- begin right -->
{block_body}
<!-- end right -->
</td>
<!-- end right_column -->
</tr>
</table>
{footer}
</body>
</html>
 
You can remove the Greeting Block if you want.
If you want to use it you must also trigger the Greeting in
/admin_global_settings.php
and add text in
HTML Settings on Main Page > Greetings / Introduction
 
I hope this helps you Smile