| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding HTML To Home Page | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am trying to add the live support icon to the customer/home.tpl.
The code is generated html from Kayako Support Suite. If I add it as html in the home.tpl I get an error messages. I tried putting the code in a file and saving it as a kayako_support.tpl, then called on the file with the include. This through errors also. {include file="skin1/customer/kayako_support.tpl"} Could someone please explain how to add this step by step. Thank you for your time in advance.
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#2
|
|||||||||
|
|||||||||
![]() It's difficult to say anything without having a look on HTML and error message content.
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||
|
|||||||
![]() If there's javascript in the code, try wrapping {literal}...{/literal} tags around the Kayako code.
__________________
xcartmods.co.uk |
|||||||
#4
|
|||||||
|
|||||||
![]() This is the code I am trying to add:
<!-- Begin SupportSuite Javascript Code --> <script language="javascript" src="http://www.domain.com/support/visitor/index.php?_m=livesupport&_a=htmlcode&departmentid= 0"></script> <!-- End SupportSuite Javascript Code --> I would like it to look this this when I am finished
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#5
|
|||||||
|
|||||||
![]() {literal}<!-- Begin SupportSuite Javascript Code -->
<script language="javascript" src="http://www.domain.com/support/visitor/index.php?_m=livesupport&_a=htmlcode&departmentid= 0"></script> <!-- End SupportSuite Javascript Code -->{/literal} You'll want to call a secure version on the secure pages though or it will pop-up a security warning.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() How would I insert that in to the home page and call a secure version when in secure pages.
I realy appreciate the help
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#7
|
|||||||
|
|||||||
![]() Insert it into customer/home.tpl in the right column as per your image. You'd need the secure version of the code from them (not always just as simple as using https) and then you'd use an {if} statement to show different code based on http or https like this:
{if $smarty.server.HTTPS eq "on"} secure code {else} regular code {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
![]() Is there a way to determine the size of the window that open when you click on the support image that could be added to the code.
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#9
|
|||||||
|
|||||||
![]() You'd need to ask the software vendor that question.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#10
|
|||||||
|
|||||||
![]() Balinor,
I just wanted to say THANK YOU for your help. You have helped me out numerous times. If you were not part of this forum, I do not think X-Cart would be as successful as it is. With all the updates and version changes, and the difficulty of upgrading the store, I have looked at other carts, but I decided to stay with X-Cart because of you and a few other that go above and beyond to help me. Again, THANK YOU for all your help.
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|