Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 74
  1. #61
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Social Networking Sidebar

    Hello Anne,

    I cannot get this mod to work - I have installed it on two websites both using Abbington_Mega and it will not work on either. I merged the files using WinMerge and also did it manually and still no difference. I am stumped.

    sites are www.treeoflifejewellery.com.au and www.harmonyball.net.au - would you be kind enough to take a look please.

    cheers,
    Mike

  2. #62
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Social Networking Sidebar

    Quote Originally Posted by shags38 View Post
    Hello Anne,

    I cannot get this mod to work - I have installed it on two websites both using Abbington_Mega and it will not work on either. I merged the files using WinMerge and also did it manually and still no difference. I am stumped.

    sites are www.treeoflifejewellery.com.au and www.harmonyball.net.au - would you be kind enough to take a look please.

    cheers,
    Mike
    My first thought is that there is a javacript conflict. Be sure that you are not calling the jquery library twice.

    Thanks,

    Anne

  3. #63
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Social Networking Sidebar

    Quote Originally Posted by picaflor-azul View Post
    My first thought is that there is a javacript conflict. Be sure that you are not calling the jquery library twice.

    Thanks,

    Anne
    Hi Anne,

    I just loaded the mod into another site (also Abbington_Mega) again with no luck - I thought maybe the 'Hover' jscript_imagehover_js may be conflicting but I do not have Hover on this last site so that put paid to that.

    It is really puzzling - I followed the installation procedure by the letter.

    Anything else coming to mind?

    cheers,
    Mike

  4. #64
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Social Networking Sidebar

    Quote Originally Posted by shags38 View Post
    Hi Anne,

    I just loaded the mod into another site (also Abbington_Mega) again with no luck - I thought maybe the 'Hover' jscript_imagehover_js may be conflicting but I do not have Hover on this last site so that put paid to that.

    It is really puzzling - I followed the installation procedure by the letter.

    Anything else coming to mind?

    cheers,
    Mike
    What is the link to your site?

    Thanks,

    Anne

  5. #65
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Social Networking Sidebar

    Quote Originally Posted by picaflor-azul View Post
    What is the link to your site?

    Thanks,

    Anne
    www.treeoflifejewellery.com.au (on the other site I have reverted to original file tpl_main_page.php)

  6. #66
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Social Networking Sidebar

    Quote Originally Posted by shags38 View Post
    www.treeoflifejewellery.com.au (on the other site I have reverted to original file tpl_main_page.php)
    Viewing your source I can see the jquery library being called twice.

    Thanks,

    Anne

  7. #67
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Social Networking Sidebar

    Quote Originally Posted by picaflor-azul View Post
    Viewing your source I can see the jquery library being called twice.

    Thanks,

    Anne
    Hi Anne,

    what does that mean? and how do I correct it?

    any guidance gratefully accepted.
    cheers,
    Mike

  8. #68
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Social Networking Sidebar

    Quote Originally Posted by shags38 View Post
    Hi Anne,

    what does that mean? and how do I correct it?

    any guidance gratefully accepted.
    cheers,
    Mike
    If you do a view source you will see the 2 times that the library is called. The easiest way to find what file is calling it is to use the admin--tools--developers toolkit. Search for https://ajax.googleapis.com/ajax/lib.../jquery.min.js and/or jscript_jquery_1-4-4.js. If I had to guess I would say that the lower version number which is being called by the lightbox module is the problem and you should remove that one.


    Thanks,

    Anne

  9. #69
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Social Networking Sidebar

    Quote Originally Posted by picaflor-azul View Post
    If you do a view source you will see the 2 times that the library is called. The easiest way to find what file is calling it is to use the admin--tools--developers toolkit. Search for https://ajax.googleapis.com/ajax/lib.../jquery.min.js and/or jscript_jquery_1-4-4.js. If I had to guess I would say that the lower version number which is being called by the lightbox module is the problem and you should remove that one.


    Thanks,

    Anne
    Hi Anne,

    Thanks for that. I found I had these files in templates/abbington_mega/jscript which I have now removed; jscript_jquery_1-4-4.js AND jquery_1-4-4.js

    I removed one at a time alternately with no effect so removed both and still no change at all - there are no other duplications of these files in the server only the single instance of jquery-1.4.4.min.js (has .min included in code)
    includes/classes/zen_lightbox/slimbox.php
    Line #11 : echo '<script type="text/javascript" src="' . $template->get_template_dir('.js', DIR_WS_TEMPLATE, $current_page_base, 'jscript') . '/jquery-1.4.4.min.js"></script>';

    the only files now in templates/abbington_mega/jscript are the two in the installation of the mod, jquery.sidebar.js and jscript.jquery.min.php and one that is a component of IH3, jscript_imagehover.js (I even removed this file in case there was a conflict but it made no difference so I restored it as I like that hover feature)

    I found no other references to either removed scripts in developers tool - source should now not show the duplicate call?

    However having done that the mod is still not working so I am perplexed. I believe the merged tpl_main_page.php file is correct (see below) would you concur?

    looking forward to your further assistance. www.treeoflifejewellery.com.au

    cheers,
    Mike

    <?php
    /**
    * Common Template - tpl_main_page.php
    *
    * Governs the overall layout of an entire page<br />
    * Normally consisting of a header, left side column. center column. right side column and footer<br />
    * For customizing, this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * - make a directory /templates/my_template/privacy<br />
    * - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php<br />
    * <br />
    * to override the global settings and turn off columns un-comment the lines below for the correct column to turn off<br />
    * to turn off the header and/or footer uncomment the lines below<br />
    * Note: header can be disabled in the tpl_header.php<br />
    * Note: footer can be disabled in the tpl_footer.php<br />
    * <br />
    * $flag_disable_header = true;<br />
    * $flag_disable_left = true;<br />
    * $flag_disable_right = true;<br />
    * $flag_disable_footer = true;<br />
    * <br />
    * // example to not display right column on main page when Always Show Categories is OFF<br />
    * <br />
    * if ($current_page_base == 'index' and $cPath == '') {<br />
    * $flag_disable_right = true;<br />
    * }<br />
    * <br />
    * example to not display right column on main page when Always Show Categories is ON and set to categories_id 3<br />
    * <br />
    * if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {<br />
    * $flag_disable_right = true;<br />
    * }<br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2007 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_main_page.php 7085 2007-09-22 04:56:31Z ajeh $
    */

    // the following IF statement can be duplicated/modified as needed to set additional flags
    if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes _on_here,separated_by_commas,and_no_spaces')) ) {
    $flag_disable_right = true;
    }


    $header_template = 'tpl_header.php';
    $footer_template = 'tpl_footer.php';
    $left_column_file = 'column_left.php';
    $right_column_file = 'column_right.php';
    $body_id = ($this_is_home_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']);
    ?>
    <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>

    <!--bof social networking sidebar-->
    <script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.sidebar.js' ?>" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
    /* <![CDATA[ */
    $(function() {
    $("body").sidebar({
    //text: "Follow Me", // can be anything
    html: "<a href='<?php echo FACEBOOK; ?>' target='_blank' title='<?php echo FACEBOOK_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.FACEBOOK_ICON ?>' class='soico' alt='<?php echo FACEBOOK_ALT; ?>' /></a><a href='<?php echo TWITTER; ?>' target='_blank' title='<?php echo TWITTER_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.TWITTER_ICON ?>' class='soico' alt='<?php echo TWITTER_ALT; ?>' /></a><a href='<?php echo YOUTUBE; ?>' target='_blank' title='<?php echo YOUTUBE_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.YOUTUBE_ICON ?>' class='soico' alt='<?php echo YOUTUBE_ALT; ?>' /></a><a href='<?php echo PINTEREST; ?>' target='_blank' title='<?php echo PINTEREST_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.PINTEREST_ICON ?>' class='soico' alt='<?php echo PINTEREST_ALT; ?>' /></a><a href='<?php echo GOOGLE; ?>' target='_blank' title='<?php echo GOOGLE_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.GOOGLE_ICON ?>' class='soico' alt='<?php echo GOOGLE_ALT; ?>' /></a><a href='<?php echo BLOG; ?>' target='_blank' title='<?php echo BLOG_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.BLOG_ICON ?>' class='soico' alt='<?php echo BLOG_ALT; ?>!' /></a>", // can be anything
    size: "60px", // can be anything in pixels
    length : "300px", // can be anything in pixels
    margin: "130px", // can be anything in pixels
    position: "left", // left / bottom / right / top
    fadding : "0.5", // 0.1 to 1.0
    //img: "images/twitter.png",
    //openURL : "www.twitter.com/"
    });
    });
    /* ]]> */
    </script>
    <!--eof social networking sidebar-->

    <?php
    if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>

    <div id="mainWrapper">
    <?php
    /**
    * prepares and displays header output
    *
    */
    if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_HEADER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) {
    $flag_disable_header = true;
    }
    require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>

    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
    <tr>
    <?php
    if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
    // global disable of column_left
    $flag_disable_left = true;
    }
    if (!isset($flag_disable_left) || !$flag_disable_left) {
    ?>

    <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
    <?php
    /**
    * prepares and displays left column sideboxes
    *
    */
    ?>
    <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td>
    <?php
    }
    ?>
    <td valign="top">
    <!-- bof breadcrumb -->
    <?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
    <div id="navBreadCrumb" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
    <?php } ?>
    <!-- eof breadcrumb -->

    <?php
    if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>

    <!-- bof upload alerts -->
    <?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
    <!-- eof upload alerts -->

    <?php
    /**
    * prepares and displays center column
    *
    */
    require($body_code); ?>

    <?php
    if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?></td>

    <?php
    //if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' && $_SESSION['customers_authorization'] != 0)) {
    if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
    // global disable of column_right
    $flag_disable_right = true;
    }
    if (!isset($flag_disable_right) || !$flag_disable_right) {
    ?>
    <td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
    <?php
    /**
    * prepares and displays right column sideboxes
    *
    */
    ?>
    <div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td>
    <?php
    }
    ?>
    </tr>
    </table>

    <?php
    /**
    * prepares and displays footer output
    *
    */
    if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) {
    $flag_disable_footer = true;
    }
    require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');
    ?>

    </div>
    <!--bof- parse time display -->
    <?php
    if (DISPLAY_PAGE_PARSE_TIME == 'true') {
    ?>
    <div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
    <?php
    }
    ?>
    <!--eof- parse time display -->
    <!--bof- banner #6 display -->
    <?php
    if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>
    <!--eof- banner #6 display -->
    <?php
    if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
    // Do nothing
    } else {
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    }
    ?>

    <?php
    if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
    // Do nothing
    } else {
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    }
    ?>
    </body>

  10. #70
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Social Networking Sidebar

    Hi Anne,

    I have found a temporary solution (this may be useful to anyone else having the same issues I did) - instead of using this mod I have simply added this script from my ADDTHIS account where I have the sliding social media bar added for use on non ZC sites <!-- Go to www.addthis.com/dashboard to customize your tools -->
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4fb2165f3e247f75" async></script> to includes/templates/abbington_mega/common/tpl_main_page.php AND TO includes/templates/abbington_mega/templates/tpl_product_info_display.php which now gives me the sliding social media bar on all pages including EZ pages which is apparently part of the latter file.

    ** Note: this slows down loading time of pages ever so slightly so I am still keen to find the solution to the issue with your mod.

    cheers,
    Mike

 

 
Page 7 of 8 FirstFirst ... 5678 LastLast

Similar Threads

  1. social networking sidebar mod problems
    By bluelightnin6 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Feb 2012, 11:31 PM
  2. Zen Cart and social networking?
    By wearethecure in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2010, 07:19 AM
  3. Adding business/social networking to site
    By NYsista872 in forum General Questions
    Replies: 2
    Last Post: 28 Oct 2009, 04:40 PM
  4. Social Networking Site Sidebox
    By Angkorthom in forum Addon Sideboxes
    Replies: 1
    Last Post: 21 Aug 2009, 12:44 PM
  5. AddThis Social Networking vs ZenId
    By gilby in forum General Questions
    Replies: 1
    Last Post: 9 Jul 2009, 06:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg