Zen Cart Logo
Forums / General Questions / Can Zen Cart Handle this??

Can Zen Cart Handle this??

Locked

Views: 1,303

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
3 Nov 2009, 9:15 PM
#1
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Can Zen Cart Handle this??

I am wanting to know if Zen Cart can handle a Start Stop Slider for the header area? You can view a sample of what I'm talking about here: http://css-tricks.com/examples/StartStopSlider/

I would like to replace my header with this if possible. I know I would have to re-size if I can insert this. It looks good.

Please let me know if this is possible and how would I do this? Any tutorials available??

3 Nov 2009, 10:25 PM
#2
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: Can Zen Cart Handle this??

Thats pretty cool!

Yes, you can stick that into your site.

How? I'd guess it has instructions, right?

Make sure you read the comment about the little fix for ie.

3 Nov 2009, 10:29 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Can Zen Cart Handle this??

It's done chiefly using jquery.

Yellow1912 is a whizz at this stuff.

eazyecommerce.com/demo/jqbanners-rotator-1

4 Nov 2009, 3:16 AM
#4
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Can Zen Cart Handle this??

Thanks...I'll get busy reading and asking more questions...of course...some may be silly questions...but I've always been told the only silly question is not asking...so get ready guys...I'm on a mission :P

4 Nov 2009, 3:52 AM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Can Zen Cart Handle this??

It's not that difficult to do, but to do it right you may need some extra steps but that will be worth it.

First, lets just try to put it into your zencart first

  1. You need to put the 2 js files into your current template jscript folder, you want to name them jscript_something.js so they will be always loaded.
  2. now obviously you want to put the html code with the structure as instructed in the article. The easiest way to test it out is to edit define main page and just hardcode the code there for now.

Once it runs already, you want to make it faster and smarter:

  1. say you load this on homepage only then you will not want it to be loaded on other pages. One thing you can do is to read zencart documents (the ones go with the installation package of zencart). You will see that you can drop the jscript files into includes/modules/pages/index
    However, if you want to load this on some other pages or if you want to make it a module give it some flexibility, I suggest you have a look at CJ Loader
    blog.rubikintegration.com/2009/08/08/zencart-css-javascript-loader-released/

  2. now you may want to take advantage of zencart banner manager. You may want to let users enter image and text via the banner manager perhaps? Then you can remove the html part you hardcoded earlier and use php to retrieve banners

(You may also want to learn a bit of jquery if you want to dig deep into this, but if you just want it up and running, it's pretty straight forward)

4 Nov 2009, 11:24 AM
#6
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Can Zen Cart Handle this??

Ok. Thanks for the info and also for responding quickly. I really appreciate that. I am going to try this today sometime. If I have any issues I will post it here in this thread so all can see. This is really neat and looks very professional tan just a plain header.
Thanks again....I will be posting as I go along.

9 Nov 2009, 1:25 PM
#7
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: Can Zen Cart Handle this??

I've been extremly busy with other altercations for the site I want to insert this into. There is a question I need to ask. In the instructions, where would I paste the html code? I want this to replace the header, therefore, would I place the code into the tpl_header.php file?
Thanks