Forums / Templates, Stylesheets, Page Layout / How to add image to home page?

How to add image to home page?

Locked

Started by muzz on 3 Jul 2009, 8:03 AM · Views: 2,361

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
3 Jul 2009, 8:03 AM
#1
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

How to add image to home page?

Hi there,

I wish to add an image to my home page.

This would be placed Just under:

Welcome Guest! Would you like to log yourself in?

and above the category links.

I have read that I need to edit: define_main_page.php

/public_html/includes/languages/english/html_includes/my template/define_main_page.php

This is fine.. however, when I view this file I can see the default zen cart writing which is not visible on my website. I assume i have turned this off at some stage?

How do I make this visible on the website?

Simple question but I cannot find an answer to this.

Thanks for any input.

That wasn't the plan!

3 Jul 2009, 8:07 AM
#2
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: How to add image to home page?

What is your url?

If we can see your site - we can more easily offer help.

Tina

3 Jul 2009, 8:10 AM
#3
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: How to add image to home page?

That wasn't the plan!

3 Jul 2009, 10:10 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How to add image to home page?

Generally, custom content for the home page is added by editing the DEFINE PAGE for the main page.

ADMIN>>>TOOLS>>>DEFINE PAGES EDITOR>>>select define_main_page.php .

You can either use the HTMNLArea default editor, or toggle to raw html (use the <> toolbar icon) and paste in your html. This html can include img src and a href links.

20 years a Zencart User

3 Jul 2009, 11:25 AM
#5
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: How to add image to home page?

I can get to that page no problem..

There is some standard zen cart stuff in there already.. the problem is.. how do I see it ? It is not showing in zen cart so I must have turned it off or something when setting up Zen cart for some reason.

Anyone know how to see this live in Zen cart ? Can you turn it on and off ? would would prevent this from being visible?

That wasn't the plan!

3 Jul 2009, 12:00 PM
#6
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: How to add image to home page?

This is currently what is in define_main_page.php

<a href="http://www.lulu.com/content/466605"><img src="images/large/e-start-book.gif" alt="get your manual today" title="Have you got yours yet? Join the 1000’s of Zen Cart users that have bought the only comprehensive owners manual !" /></a>

<p>This content is located in the file at: <code> /languages/english/html_includes/YOUR_TEMPLATE/define_main_page.php</code></p> <p>You can quickly edit this content via Admin->Tools->Define Pages Editor, and select define_main_page from the pulldown.</p> <p><strong>NOTE: Always backup the files in<code> /languages/english/html_includes/your_template</code></strong></p>

This is what I need to make visible.

That wasn't the plan!

3 Jul 2009, 12:13 PM
#7
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: How to add image to home page?

Sigh..

Finally found it...

Admin . Configuration > Define page status.

That wasn't the plan!