It's almost certain to be that the jquery library exists somewhere else on your test site as well.
Printable View
I canīt get this box to "play" - it works fine with the buy it now on the first product that shows up, but the products wonīt change either by them selves or with the buttons. Installed as instructed, except there is no /includes/templates/YOUR_TEMPLATE/common/html_header.php, but a /includes/templates/YOUR_TEMPLATE/common/tpl_header.php
I put the patch in there, but there is no /head tag, so it may not be in the right place. My tpl_header.php now looks like this:
Here is the link to my site: http://xn--godpbunn-d0a.no/PHP Code:
<?php
/**
* Template designed by 12leaves.com
* 12leaves.com - Free ecommerce templates and design services
*
* Common Template
*
* @package templateSystem
* @copyright Copyright 2009-2010 12leaves.com
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
*/
?>
<?php
// Display all header alerts via messageStack:
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
echo htmlspecialchars(urldecode($_GET['error_message']));
}
if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
echo htmlspecialchars($_GET['info_message']);
} else {
}
?>
<!--bof-header logo and navigation display-->
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>
<div id="headerWrapper">
<!--bof-header ezpage links-->
<div class="topper-menu float-right">
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
</div>
<!--eof-header ezpage links-->
<!--bof-navigation display-->
<!--eof-navigation display-->
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
</div>
<div class="clearBoth"></div>
<!--eof-branding display-->
<!--eof-header logo and navigation display-->
<!--bof-optional categories tabs navigation display-->
<?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
<!--eof-optional categories tabs navigation display-->
<script src="js/jquery-1.4.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.tools.min.js" type="text/javascript" charset="utf-8"></script>
</div>
<?php } ?>
As I've absolutely no idea of your abilities (other than you are clearly happy to "give-it-a-go" :thumbsup: ) the rest of this has to be basic, but it is not intended to be patronising.
If there is no appropriate file in an override directory, then it means that that file has had no edits from the default (OR that any changes were made IN the default file itself).
In either case, you need to make a copy of includes/templates/template_default/common/html_header.php and make the edits to the copy.
Then upload this file to includes/templates/YOUR_TEMPLATE/common/html_header.php
edited.
Thanks a bunch! I never understood where that html_header was - because it wasnīt there :lookaroun Works like a charm now - thanks again for your help.
Kristian
Pleased to hear that you got it sorted - and even more pleased that it wasn't an issue with the module itself! :D
Very nice carousel.
Hi I have just installed this, something I have been hoping would be available and it is now but it is not working for me, I know something I am doing or not. I have s3slider running also and feel there is a conflict. The product appears in the feature box but will not scroll and buttons do not work. I have tried moving the two lines of code to different places in tpl_header but no real difference (actually not quite sure where it should go at all) nor am I sure about the advice to delete the jquery library as this may contribute also. cheers:D
Im confused, please help.
I dont have html_header. I have tpl_header.
If I make the new file html_header, what code do I out in it?
And also where does the 2 js files go?
which directory?
Dont quite understand and there is not enough support thread for me to read others questions to kind of get the grasp of how I can fix it.
Thanks, Lissa
I wanted to append to the message but I went over the 7 mins alloted time. So just disregard the above.
Here is the appended message:
m confused, please help.
My carousel is up, but it doesnt move and the buttons dont work.
I know someone else said something similar to this but i didnt quite understand the answer or how it was resolved.
I dont have html_header. I have tpl_header.
If I make the new file html_header, what code do I put in it?
And also where does the 2 js files go?
which directory?
I just uploaded them to my main cart directory but I wasnt sure if they went in a specific directory.
Dont quite understand.
Thanks, Lissa