.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks again.![]()
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
To allow media-manager components to be displayed on regular product-info products, copy the media-manager code from the music template to the general product template:
Copy this FROM:
/includes/templates/template_default/templates/tpl_product_music_info_display.phpand add it to your product template:Code:<!--bof Media Manager --> <div id="mediaManager" class="productMusic"><?php /** * display the products related media clips */ require($template->get_template_dir('/tpl_modules_media_manager.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_media_manager.php'); ?> <br class="clearBoth" /></div> <!--eof Media Manager --> <br class="clearBoth" />
/includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
perhaps above the line saying"<!--bof Additional Product Images -->", like this:
Code:<!--bof Media Manager --> <div id="mediaManager" class="productMusic"><?php /** * display the products related media clips */ require($template->get_template_dir('/tpl_modules_media_manager.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_media_manager.php'); ?> <br class="clearBoth" /></div> <!--eof Media Manager --> <br class="clearBoth" /> <!--bof Additional Product Images -->
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks so much for that. I'm going to get all my sound files together and try this all out within the next couple of weeks.
On an unrelated topic, I have to say a massive thank you to all the Zencart team. I've been running my website for over a year now and am making really good profits. Without this package it would have taken a lot more money (and time) to get everything together.
I'm showing my appreciation by making regular monthly donations from now on. I just hope that those with successful zen sites show their gratitude also.
Blimey, that sounded sycophantic but it really wasn't supposed to!![]()
LOL -- we're glad the software is doing what it's intended to do!!
Thanks for sharing and giving back. It helps the whole project and community keep rolling onward and upward!
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hi DrByte,
Sorry about the slow reply, took me ages to get round to doing this. I've got a problem with it though.
I'll give you a snippet of the code i've got in templates/MYTEMPLATE/templates/tpl_product_info_display.php
However the result isn't right! If you visit http://www.handcrafteduk.com/40cmpai...rum-p-174.html you can see what's wrong.<!--bof Additional Product Images -->
<?php
/**
* display the products additional images
*/
require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->
<!--bof Media Manager -->
<div id="mediaManager" class="productMusic"><?php
/**
* display the products related media clips
*/
require($template->get_template_dir('/tpl_modules_media_manager.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_media_manager.php'); ?>
<br class="clearBoth" /></div>
<!--eof Media Manager -->
<br class="clearBoth" />
<!--bof Product Name-->
<h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
<!--eof Product Name-->
Any ideas how I can fix it?
Thanks again,
Gary![]()
As explained in your other thread on this topic, your SEO mod is causing you trouble:
http://www.zen-cart.com/forum/showthread.php?t=87136
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.