| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding Skype to your home.tpl file | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Adding Skype to your home.tpl file
As you may be aware Skype is owned by Ebay now, and of cause has links with PayPal and in my opinion is the best FREE internet comunication system available. If for some unknown reason you do not know anything about Skype then you can find the web page at http://www.skype.com.
Anyway here is a small mod to include this in your shopcart/skin1/customer/home.tpl file. 1st of all right click this image http://www.shisha.co.uk/shopcart/skin1/images/skype.gif and save this in your shopcart/skin1/images/skype.gif Next save the below Java code in your shopcart/skin1/skypeCheck.js Code:
Also save this tpl file in shopcart/skin1/skype.tpl - Please make sure you change the "shishapipe" to your Skype name at Code:
Code:
Then in your shopcart/skin1/customer/home.tpl call the file skype.tpl by using this command below. Code:
You can see this at http://www.shisha.co.uk/shopcart/home.php on the left hand side at the bottom
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#2
|
|||||||
|
|||||||
Has anyone got any opinions on the various skype phones?? i was looking at one of the cordless dual phones as we often use skypeout for overseas calls and although i've got my bluetooth headset setup for it i can't help thinking that i look a right div with it in my ear.
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#3
|
|||||||
|
|||||||
delete post.
__________________
XCART Version 4.0.18 |
|||||||
#4
|
|||||||
|
|||||||
well, i just figured out another way of doing it using skypes script, which comes with a very cool dropdown button, what do you guys think of it?
Code:
Of course, replace my userid with yours Code:
Also, if you want to let customers send you files, you can add this to the bottom of the code for another drop down menu item. I didn't want it so i axed it. this way you don't need to use the .js file. sorry, i'm no coding expert so sorry about the mess. see it in action: http://soloboardshop.com/shop/home.php
__________________
XCART Version 4.0.18 |
|||||||
#5
|
|||||||||
|
|||||||||
coo. works fine. but, if SKYPE not installed, it should't be displayed.
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
#6
|
|||||||||
|
|||||||||
Also does not work on a secure server, skype does not have the buttons or the script in a https (secure server) So if you do not have a secure server then fine, but you will get the message error message if you use https
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#7
|
|||||||
|
|||||||
Quote:
well, i'll be getting https soon, so that's good to know. thanks.
__________________
XCART Version 4.0.18 |
|||||||
#8
|
|||||||
|
|||||||
Re: Adding Skype to your home.tpl file
anyone know how to not make it pop up if a user does not have skype?
__________________
version 4.0.17 |
|||||||
#9
|
|||||||||
|
|||||||||
Re: Adding Skype to your home.tpl file
Hi
In answer to your question there is an easy way to add the pop up that you are after. But first go to http://www.skype.com/share/buttons/ to get your code, then depending on you preferred location just copy & paste it in. Mine goes something like this, in the skin1/customer/home.tpl: <td class="VertMenuRightColumn"> {if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''} {include file="modules/SnS_connector/button.tpl"} {/if} <!-- Skype 'My status' button http://www.skype.com/go/skypebuttons --> <script type="text/javascript" src="> <a href="skype:what ever your skype name is?call"><img src="http://mystatus.skype.com/balloon/dlp%2Eskype" style="border: none;" width="150" height="60" alt="My status" /></a> </p> {if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''} Hope this helps and if the user does not have Skype they get a download pop up. Richard |
|||||||||
#10
|
|||||||
|
|||||||
Re: Adding Skype to your home.tpl file
Quote:
Does who a funy error like if the tamplate do not reconize the image for skype. See below... http://www.support.webosusa.com/images/mods-problems/skype-problem.jpg Canything to be change?
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
|
|||
X-Cart forums © 2001-2020
|