Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
crmartell
crmartell
For CMS purposes I always put the Greeting text into a custom block. Then I can give my customers access to change the custom blocks. (I don't like to let them change it directly in Greetings because there is no HTML editor there.)
 
Click on ALLOW PHP to run in Greetings (located in Global Settings)
 
Place this code in the Greetings section.... change the Block id to suit your website.
 
*******************************************
<?php
 
$result = mysql_query("SELECT * FROM va_custom_blocks WHERE block_id = 31") or die (mysql_error());
while ($row=mysql_fetch_array ($result))
 
 
$output = " <table width=95%><tr><td>{$row['block_desc']}</td></tr></table>";
 
echo $output;
 
 
?>