Due to the white screen... I decided to play with this...

Using Files Containing Boilerplate Text in the Zen Cart Product Description

http://www.thatsoftwareguy.com/zenca...ate_files.html

This seems better as I want a couple of paragraphs and that is tedious with more chance of errors in a my_defines file.

I installed it, and while it works in the description block, it does not work when placed below... I would like it right below additional images.

Here is the current tpl_product_info_display code:

<!-- bof html description -->
<?php
function html_include_cb($match) {
$prefix = "HTML_INCLUDE_";
$match_filename = str_replace($prefix, '', $match[0]);
$filename = DIR_WS_LANGUAGES . $_SESSION['language'] .
'/boilerplate/' .
$match_filename . ".html";
$buffer = "";
if (file_exists($filename)) {
$handle = @fopen($filename, "r");
while (!feof($handle)) {
$buffer .= fgets($handle, 4096);
}
fclose($handle);
}
return $buffer;
}
if ($products_description != '') {
$pattern = "/HTML_INCLUDE_[a-zA-Z0-9]*/";
$products_description = preg_replace_callback($pattern, "html_include_cb",
$products_description, -1);
}
?>
<!-- eof html description -->


I want it conditional on HTML_INCLUDE_XYZ in product description, but how can I get this to show output where I want it? Thoughts?

Thank you!