Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Changes don't occur in index/header files

Changes don't occur in index/header files

Locked

Started by stormysar on 18 May 2007, 2:21 AM · Views: 832

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
18 May 2007, 2:21 AM
#1
stormysar avatar

stormysar

New Zenner

Join Date:
May 2007
Posts:
49
Plugin Contributions:
0

Changes don't occur in index/header files

I am trying to change the "congrats you've installed zencart", the logo, and the "powered by zencart" following the descriptions in the FAQ section.

I've created my custom file in my English folder and have saved the files to this folder. I then moved the folder to the designated spot on filezilla and uploaded...

What next? I don't see my changes and it's been a few days.

18 May 2007, 3:17 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Changes don't occur in index/header files

To create a very basic custom template (you can build from there), you need:

  • includes/languages/YOUR_TEMPLATE/english.php
  • includes/languages/english/YOUR_TEMPLATE/index.php
  • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
  • includes/templates/YOUR_TEMPLATE/template_info.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
  • includes/templates/YOUR_TEMPLATE/images/logo.gif
  • includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Any where you see a /classic/ folder, you can create a folder for your custom template. Copy the files you need from /classic/, /template_default/ or the parent directory.

Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying info (you'll understand when you open the file).

Always use a text editor like Notepad or Crimson Editor to edit php files.

Once you've built your template, go into your admin under tools->template selection and select it from the pull down menu.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey