The default urls are to my social media. You need to change them to your urls. There is no bug in the functionality because there are tons (literally thousands) of people using the social sidebar and this template who customize their social media links with no problems.
Thanks,
Anne
not suggesting a bug - just need help figuring out why the first 3 show my domain name even when i use the default social_defines file.. you can see i'm using the default social_defines file if you check the coding behind the last 3 - they all point to your site.. here is the exact coding that that site is using right now:
<?php
/**
* Social Sidebar Definitions
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V3.0
* @version $Id: social_sidebar.php 1.0 11/13/2012 Picaflor Azul $
*/
/*bof social icons*/
define('TWITTER_ICON', 'twitter.png');
define('FACEBOOK_ICON','facebook.png');
define('YOUTUBE_ICON', 'youtube.png');
define('PINTEREST_ICON', 'pinterest.png');
define('GOOGLE_ICON', 'google.png');
define('BLOG_ICON', 'blog.png');
/*bof social urls*/
define('FACEBOOK','http://www.facebook.com/Custom.Zen.Cart.Design');
define('TWITTER', 'http://www.twitter.com/picaflorazul');
define('YOUTUBE', 'http://www.youtube.com/user/ZenCartEasyHelp');
define('PINTEREST', 'http://www.pinterest.com/picaflorazul');
define('GOOGLE', 'https://plus.google.com/113609090217058276980/posts');
define('BLOG', 'http://www.picaflor-azul.com/blog');
/*bof social titles*/
define('TWITTER_TITLE', 'Twitter');
define('FACEBOOK_TITLE','Facebook Page');
define('YOUTUBE_TITLE', 'Youtube');
define('PINTEREST_TITLE', 'Pinterest');
define('GOOGLE_TITLE', 'Google');
define('BLOG_TITLE', 'Blog');
/*bof social alt text*/
define('TWITTER_ALT', 'Follow Us On Twitter');
define('FACEBOOK_ALT','Our Facebook Page');
define('YOUTUBE_ALT', 'Subscribe to Us On Youtube');
define('PINTEREST_ALT', 'Follow Us OnPinterest');
define('GOOGLE_ALT', 'Follow Us On Google Plus');
define('BLOG_ALT', 'Read Our Blog');
please notice that the top 3 links do NOT match what is showing up on my site - swordsofhonor.net
is it java coding that is putting those links in?? maybe if i knew how that worked i can figure out why it's filling the first 3 in with my site/facebook,twitter,youtube.. the crazy thing is it's filling out 2 of them with the words 'Highlandrags' and that is one of my websites - but certainly not the one i'm testing with. could it be pulling in coding from another site???
The urls for social media have not been customized in this file:
Code:/*bof social urls*/ define('FACEBOOK','http://www.facebook.com/Custom.Zen.Cart.Design'); define('TWITTER', 'http://www.twitter.com/picaflorazul'); define('YOUTUBE', 'http://www.youtube.com/user/ZenCartEasyHelp'); define('PINTEREST', 'http://www.pinterest.com/picaflorazul'); define('GOOGLE', 'https://plus.google.com/113609090217058276980/posts'); define('BLOG', 'http://www.picaflor-azul.com/blog');
Thanks,
Anne
ok now i'm frustrated.. i'll try to make this as simple as possible.. yes of course i know the links are not customized - i said that to prove a point. but even using the default file with YOUR links in it is not working for the top 3 sites. please go to swordsofhonor.net and check the coding using a right click or view source.. here are the top 3 links in your default coding:
define('FACEBOOK','http://www.facebook.com/Custom.Zen.Cart.Design');
define('TWITTER', 'http://www.twitter.com/picaflorazul');
define('YOUTUBE', 'http://www.youtube.com/user/ZenCartEasyHelp');
here is what it translates to when i use that DEFAULT file on swordsofhonor.net (check the code)
<a title="Facebook Page" target="_blank" href="Highland-Rags">
<img class="soico facebook-sh" alt="Our Facebook Page" src="includes/templates/responsive_sheffield_blue/images/facebook.png">
</a>
<a title="Twitter" target="_blank" href="HighlandRags">
<img class="soico twitter-sh" alt="Follow Us On Twitter" src="includes/templates/responsive_sheffield_blue/images/twitter.png">
</a>
<a title="Youtube" target="_blank" href="youtube">
<img class="soico youtube-sh" alt="Subscribe to Us On Youtube" src="includes/templates/responsive_sheffield_blue/images/youtube.png">
</a>
no idea where it is getting 'Highland-Rags from from - it's nowhere on any of the files.. here is the java coding in the source that also shows 'highland rags':
<!--bof social networking sidebar-->
<script src="includes/templates/responsive_sheffield_blue/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='Highland-Rags' target='_blank' title='Facebook Page'><img src='includes/templates/responsive_sheffield_blue/images/facebook.png' class='soico facebook-sh' alt='Our Facebook Page' /></a><a href='HighlandRags' target='_blank' title='Twitter'><img src='includes/templates/responsive_sheffield_blue/images/twitter.png' class='soico twitter-sh' alt='Follow Us On Twitter' /></a><a href='youtube' target='_blank' title='Youtube'><img src='includes/templates/responsive_sheffield_blue/images/youtube.png' class='soico youtube-sh' alt='Subscribe to Us On Youtube' /></a><a href='http://www.pinterest.com/picaflorazul' target='_blank' title='Pinterest'><img src='includes/templates/responsive_sheffield_blue/images/pinterest.png' class='soico pinterest-sh' alt='Follow Us OnPinterest' /></a><a href='https://plus.google.com/113609090217058276980/posts' target='_blank' title='Google'><img src='includes/templates/responsive_sheffield_blue/images/google.png' class='soico google-sh' alt='Follow Us On Google Plus' /></a><a href='http://www.picaflor-azul.com/blog' target='_blank' title='Blog'><img src='includes/templates/responsive_sheffield_blue/images/blog.png' class='soico blog-sh' alt='Read Our Blog!' /></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-->
i must be doing something wrong but i'm not stupid - just need some direction.
Without knowing the entire history of your zen cart installation, modules installed, customizations made, etc. it is very hard for me to guess what is happening. I would check with your web host and also any .htaccess files. If you have any url rewriting mods enabled, try disabling them.
Thanks,
Anne
if i could just have some help with how the java process works to fill those fields as i gather it's not taking them directly from the social_defines file.. somewhere that process is finding the wrong URL's. and to turn off a module in zen cart is a nightmare - it's not Woordpress.. :)
I am sorry, but I am not a javascript expert and can not explain to you the entire process. The tpl_main_page.php file is where the code is located for the social defines sidebar. Maybe you have another module installed that is using the same constants as this module.
Thanks,
Anne
Bookmarks