Hello,
I'm a PHP newbie and I'm trying to insert the following string:
Code:
rel="shadowbox[products];options={counterType:'skip',continuous:true,animSequence:'sync'}"
into the tpls_modules_main_product_image.php file. I want to be able to make my product images pop up in a lightbox-type effect. This is the PHP string I'd like to insert it into:
Code:
<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?> 
<div id="productMainImage" class="centeredContent back">
<script language="javascript" type="text/javascript">
<!--document.write('<?php echo '<a href="javascript:popupWindow(\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')" rel="shadowbox[products];options={counterType:\'skip\',continuous:true,animSequence:\'sync\'}">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
Thanks!
Brian