Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I add an image to the homepage

How do I add an image to the homepage

Locked

Views: 837

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Feb 2009, 3:36 PM
#1
jwashburn avatar

jwashburn

New Zenner

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

How do I add an image to the homepage

If you look at one of the showcase shops like http://www.ignitionexhibits.com/

They have a small flash movie playing, i want to do something similiar but just with a simple photo gallery. Do I put those changes in includes/languages/english/mytemplate/index.php?

Or is there somewhere else for that? Would it be a full template edit? I was thinking, I could just put it where the welcome message used to be.

6 Feb 2009, 4:34 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I add an image to the homepage

For the home page, go to admin > Tools > Define Page Editor and select define_main_page.php.

10 Feb 2009, 10:39 AM
#3
zhouyi avatar

zhouyi

New Zenner

Join Date:
Jan 2009
Location:
China
Posts:
25
Plugin Contributions:
0

Re: How do I add an image to the homepage

http://maiall.com/index.php?main_page=page_2

I'm also trying to add staff's photo and licence pic. to define page2, but I have another question: How to change the title** "page2"** into**"More about us"**?
Thank you inadvance for your help.

10 Feb 2009, 10:08 PM
#4
samortensen avatar

samortensen

New Zenner

Join Date:
Jan 2008
Location:
Minnesota
Posts:
87
Plugin Contributions:
0

Re: How do I add an image to the homepage

First off, as everyone here will tell you - buy the book! It really does help. Secondly, search the FAQ's and thirdly...ask for help.

Okay, here goes (since I did all this not that long ago)...

You need to edit some specific pages in your includes files. You will need an editor to do this (like Dreamweaver or even notepad may work but stay away from programs like frontpage as they add code to the page that YOU DO NOT WANT)

Open up the page in includes/languages/english/ and then Page 2...so on and so forth. Change the following lines:

define('NAVBAR_TITLE', 'Page 2');
define('HEADING_TITLE', 'Page 2');

to what you want those titles to be. Make sure you leave the quotes there before the p and after the 2 or it will break. AND then make notes of what you are doing so that IF you have to do it again, you have the notes to go by.

Hope I didn't jump in where I shouldn't. Just thought I would give you old Zenners a break. :blink:

11 Feb 2009, 1:12 AM
#5
zhouyi avatar

zhouyi

New Zenner

Join Date:
Jan 2009
Location:
China
Posts:
25
Plugin Contributions:
0

Re: How do I add an image to the homepage

SaMortensen, your suggestion did help. Thank you:yes:

11 Feb 2009, 12:50 PM
#6
samortensen avatar

samortensen

New Zenner

Join Date:
Jan 2008
Location:
Minnesota
Posts:
87
Plugin Contributions:
0

Re: How do I add an image to the homepage

you are so welcome. Glad I could help someone else for a change.