Post by ckrantz » Mon Feb 01, 2010 5:50 am

I know that my site is all generated by php.. But I'm trying to add a small counter script to what an html site would be index.html... Is there a file that contains the main page information? (where the meta descriptions, meta tags stuff like that would go?? ) for the life of me I can't find it.

New member

Posts

Joined
Wed Aug 19, 2009 8:30 pm

Post by ckrantz » Mon Feb 01, 2010 9:26 am

does anyone know the answer to this?

New member

Posts

Joined
Wed Aug 19, 2009 8:30 pm

Post by nocko » Mon Feb 01, 2010 9:52 am

Look in catalog/view/theme/default/template/common

New member

Posts

Joined
Tue Jan 26, 2010 2:14 pm

Post by Qphoria » Mon Feb 01, 2010 11:19 am

Try header.tpl or footer.tpl

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by ckrantz » Mon Feb 01, 2010 10:14 pm

I think I found the right one. Layout.tpl in my current theme under common is what I was looking for. There is a cool site called www.statcounter.com that wants to throw in a java script. This site gives you a lot of good data about who is going to your site and where they found you at.

New member

Posts

Joined
Wed Aug 19, 2009 8:30 pm

Post by Qphoria » Mon Feb 01, 2010 11:39 pm

layout.tpl was removed in 1.3.4 and later.. So header will eventually be the best place as that takes all the new layout stuff

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 8 guests