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 / How to add a new banner to my home page?

How to add a new banner to my home page?

Started by kdavey2004 on 18 Jul 2011, 4:06 PM · Views: 1,319

Results 1 to 7 of 7
18 Jul 2011, 4:06 PM
#1
kdavey2004 avatar

kdavey2004

New Zenner

Join Date:
Jul 2011
Posts:
2
Plugin Contributions:
0

How to add a new banner to my home page?

Hi,

As I'm sure you all hear daily, I'm completely new to Zen Cart. This is the site I'm working with http://www.firstfordsales.co.uk/

It was built by a third-party, so don't assume that if something's been done on there that I know how to do it.

At the moment I'm trying to figure out how to add another banner to that home page. Ideally to have it span the width of the page beneath the Fire Extinguishers, Emergency Lighting, Fire Alarms banners. This is going to be to draw attention to a first time buyer's discount for customers who register an account.

It seems to me that I'm restricted by the number of banners allowed in the template and there's no way I can really replace one of them, so how would I get Zen Cart to let me create a new banner slot there?

Apologies if my question is largely gibberish, I really am completely green.

18 Jul 2011, 5:23 PM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: How to add a new banner to my home page?

That's a Template Monster template. You should ask them how to do what you want.

Rob

Breakfast: the most important donut of the day.

18 Jul 2011, 6:01 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

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

Re: How to add a new banner to my home page?

rstevenson:

That's a Template Monster template. You should ask them how to do what you want.

Rob

As you've posted only one post, a little more clarity about TemplateMonster (TM).

TM is a company that sells templates designed for a wide variety of platforms - including Zencart.

They "look nice" on the surface, but are showcased in this way only to get the unsuspecting to part with their cash.

The problem with these TM templates is that they are written in ways that radically alter core zencart behaviour - and as such they are extremely time-consuming to "unpick". So much so, that regular helpers on this forum don't attempt to do so (for free, at least), as it can take many, many hours - even by experts - to fathom out how and why TM have done things the way they did.

The real problem is that (because they are so heavily hacked together) huge swathes of zencart core behaviour do not function.

So... that's why Rob says go back to TM for help...

20 years a Zencart User

18 Jul 2011, 10:13 PM
#4
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: How to add a new banner to my home page?

Yeah, what he said. :-)

Rob

Breakfast: the most important donut of the day.

19 Jul 2011, 7:52 AM
#5
kdavey2004 avatar

kdavey2004

New Zenner

Join Date:
Jul 2011
Posts:
2
Plugin Contributions:
0

Re: How to add a new banner to my home page?

Thanks for the replys guys, this is troubling news...

My choice at this point then is to try and persevere with the TM template or to start from scratch?

19 Jul 2011, 1:33 PM
#6
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: How to add a new banner to my home page?

Have a look at this page from the Tutorials/FAQ link above. Try the various things it talks about there to see if you can get another banner position working. The success of this will depend a lot on what sort of customization TM did to the home page of that template -- sometimes they hard code things that are normally set in admin, making it impossible to make changes. You'll just have to try it and see.

Rob

Breakfast: the most important donut of the day.

20 Jul 2011, 7:43 AM
#7
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: How to add a new banner to my home page?

Open templates/your template/common/tpl_main_page.php

look for the following code.

<!-- eof breadcrumb -->

just below that is the code for your banners you can use html before the banners or after the banners just above <!-- bof upload alerts -->

You can hard code any html just below the <!-- eof breadcrumb -->

You don't have to add banners all over the place to have custom content on your index page.


Play with it long enough and you will break it.