Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / I need to put something in the <head> and <body> tag

I need to put something in the <head> and <body> tag

Locked

Started by milobloom on 2 Sep 2008, 9:38 PM · Views: 8,004

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
2 Sep 2008, 9:38 PM
#1
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Post #1 by milobloom

How do I do this??

Copy and paste the code into your website inside the <head> tag:

and

Copy and paste the code into your website right after the <body> tag

Thanks

2 Sep 2008, 10:21 PM
#3
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Post #3 by milobloom

I was looking around another post and saw something about putting them into those files. However It doesnt seem to work.

Let me tell you what I am doing and perhaps you can benifit from this as well.

There is a feedback system that gives a little floating triangle to any corner you want. I think it gives 1 a bit of trust. And 2) Actual feedback so that's cool too.

Its Free too!!!

kampyle.com

If someone can install it properly and tell us all how to, I think we would all like it.

4 Sep 2008, 1:12 PM
#4
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Post #4 by milobloom

I am trying to install this widget, It looks neat, Gives that feel of Security (While its not I know...) but if someone clicks on it it just gives the users an opportunity to tell you what they think of your site.. The little floating box is very tempting to click on.

The wiget can be found at kampyle.com

I tried modifying these 2 files to get it in:

includes/templates/YOUR_TEMPLATE/common/html_header.php

includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php

With no success.

Any help would be greatly appreciated.

4 Sep 2008, 3:11 PM
#5
salt3y avatar

salt3y

New Zenner

Join Date:
Jun 2006
Posts:
21
Plugin Contributions:
0

Post #5 by salt3y

Forgive me if I am wrong. But don't you just put the javscript code in the javascripts folder and it gets loaded with the other zen javascripts. The second bit of code they supply would then go at the end of you </body> tag

I seem to remember doing this before.

The feedback form looks good.

http://www.dizzykids.co.uk - Dizzy Kids Clothes and Toys - One stop shop for things Disney

5 Sep 2008, 4:43 PM
#6
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Post #6 by milobloom

Where do I put the code for the body tag then?

5 Sep 2008, 7:48 PM
#7
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #7 by barco57

Ok well I signed up for this and gave it a go....you can see it in action at the link for my wifes site. I'm busy right now but I'll see if I can find time to write up some directions on what goes where.....

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

6 Sep 2008, 4:23 AM
#8
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Post #8 by milobloom

Yes please do...

I tried so hard and failed...

14 Sep 2008, 5:07 PM
#9
e_2000 avatar

e_2000

New Zenner

Join Date:
Sep 2008
Posts:
1
Plugin Contributions:
0

Post #9 by e_2000

In order to install the Kampyle Feedback-Form button on your Zen Cart, please perform the following actions:
1. Locate your template folder. The default template folder is \includes\templates\template_default.
2. Edit \includes\templates\template_default\common\html_header.php (or it's equivalent, if you are using a different template) and insert the contents of the first Kampyle button code into the HEAD section.
3. Edit \includes\templates\template_default\common\tpl_header.php (or it's equivalent, if you are using a different template) and insert the contents of the second Kampyle button code at the beginning of the html code (in the default template, the Kampyle code should be pasted right before the <div id="headerWrapper"> tag).
Please note: It is recommended that these modifications be performed by a website administrator since they require actual code editing. In any case, a backup of the edited files should be made before any modification are made.

Enjoy :clap:

14 Sep 2008, 6:31 PM
#10
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Post #10 by milobloom

AWSOME!

https://www.nothingbutcostumes.com

Thank you it worked!!!

Here is a 10% coupon code if you need a costume...

take10

18 Jan 2009, 12:01 AM
#11
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Post #11 by sunflowertami

Hi, I just signed up at kampyle and put the code at the last portion of /common/tpl_footer.php, works just fine! I also have the quantcast.com code on there too!

Was the kamplye statistics useful for you?