Site maintenance: Tuesday 17 Nov, from 10: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 / Headers on Bottom of Centerboxes

Headers on Bottom of Centerboxes

Locked

Started by pensive612 on 12 Jun 2006, 8:06 AM · Views: 1,179

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
12 Jun 2006, 8:06 AM
#1
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Headers on Bottom of Centerboxes

hey everyone,

I've searched and haven't been able to find an answer to this one...

is it possible to make footers with box titles in them instead of headers. (being, the customer wants the boxes to have the dynamic header labeled on the bottom. Both in the center section and possibly the sideboxes.

any advice??

  • pensive612
12 Jun 2006, 9:12 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Headers on Bottom of Centerboxes

If I understand this correctly and you are using template_default, then it can be achieved easily by creating overriding template files.

For example if you look at the tpl_featured_products_default.php file then near the top you will find <h1 id="featuredDefaultHeading"><?php echo HEADING_TITLE; ?></h1>. Just more this line to the bottom of the file and it will appear after the content instead of before.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

12 Jun 2006, 9:24 AM
#3
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Headers on Bottom of Centerboxes

I guess it could be done. (might look a bit strange - most people read from left to right; top to bottom. I know I look at the top of the page for important imformation like title etc.)

You would probably have to find all instances of "BOX_HEADING_WHATEVERTEXT" and then modify that so it read BOX_FOOTER_WHATEVERTEXT. Or just make new define statements.

Now you have to change each template/sidebox file with these new names and move the <h1><?php echo HEADING_TITLE; ?></h1> to the bottom of the page.

You' also need to change the stylesheet.css so that .leftBoxHeading and .rightBoxHeading become .leftBoxFooter and .rightBoxFooter

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

12 Jun 2006, 6:33 PM
#4
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Re: Headers on Bottom of Centerboxes

I really appreciate everyone's help on this. maybe i could explain it a little better with this...

the regular headings would stay the same. i thought if there was a way to do it, i could apply it only to what i needed...

any more advice..?

thanks in advance.

  • pensive612