marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
universal counter script

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « universal counter script »
Welcome, Guest. Please Login or Register.
12/17/17 at 11:38:27
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   universal counter script
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: universal counter script  (Read 759 times)
jen
Guest

E-Mail
universal counter script
« on: 10/06/05 at 21:13:24 »
Reply with quote Modify message

Hi!

I have one cpshop store that is made up of approx 6 different configs... all sharing a single set of master cpshop files (admin, pag.lib, etc.)

i am wondering.. rather than putting my counter script code in every single html template, which of the shared files can i add my code to and where abouts would this code be placed?

I thought maybe page.lib would be the best, but i dont what to place it wrong and inadvertantly breaks something. LOL

the counter code is all javascript... statcounter.

thank you!
jen
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: universal counter script
« Reply #1 on: 10/07/05 at 01:05:01 »
Reply with quote Modify message

I wouldn't recommend putting it in one of the lib files, as those are the files that get updated when I update cpshop.

The best thing to do really is to put it into the templates.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
jen
Guest

E-Mail
Re: universal counter script
« Reply #2 on: 10/08/05 at 23:58:27 »
Reply with quote Modify message

thanks marty.. did just like that and its perfecto.
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.