| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Moot Tools Welcome Page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi all,
I'm trying to integrate the Kwicks moo tools function into the front of my store and I'm having a few issues with it. First of all i got a test page with the items working in it and setup all the html and everything that i needed. I have modified my home.tpl file to include the mootools.tpl, this then calls the stylesheet, the fx javascript and adds the functions. In my welcome message i have added the html that is exactly what works fine on the html file. So to my questions - Has anyone managed to get mootools functionality working in thier cart - if so is there any rules i am missing? What IF statment can i use to only load the mootools.tpl file into the welcome page (it slows the cart down in subsequent pages if it loads throughout)? The Code: home.tpl Code:
mootools.tpl Code:
splash_css.css Code:
And finally of course the welcome html actually in the languages in the cart Code:
All help gratefully recieved. Cheers Sticky
__________________
X-cart custom design and implementation specialists based in the UK X-Cart Version :: 4.1.9 Running on :: Linux 9.3 with Plesk 8.2 Webserv :: Apache Tomcat 4.1.24-full.2jpp mySQL :: 4.1.20 PHP :: 5 http://www.19dozen.com http://www.a1automodels.com http://www.norinse.co.uk http://www.akw-medicare.com http://www.akw-medicare.eu http://www.ironmongery2u.com http://www.carperformanceuk.co.uk |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Hi Douglas
To put this on the home page only, wrap your include in the following if statement: {if $main eq "catalog" and $current_category.category eq ""} And wrap your script in {literal} tags {/literal}
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() With the addition of the {literal} tags around the javascript {/literal} and the if statement from above the mootools kwicks effect plugs in really nicley, needs a bit of hacking to work in ie6 though so watch the css.
If you have any suggestions as to how to get the css working in ei6 i would be grateful cheers Sticky
__________________
X-cart custom design and implementation specialists based in the UK X-Cart Version :: 4.1.9 Running on :: Linux 9.3 with Plesk 8.2 Webserv :: Apache Tomcat 4.1.24-full.2jpp mySQL :: 4.1.20 PHP :: 5 http://www.19dozen.com http://www.a1automodels.com http://www.norinse.co.uk http://www.akw-medicare.com http://www.akw-medicare.eu http://www.ironmongery2u.com http://www.carperformanceuk.co.uk |
|||||||
|
|||
X-Cart forums © 2001-2020
|