Forums / General Questions / An Announcement box on index page, and only on Index page

An Announcement box on index page, and only on Index page

Locked

Started by nigelt74 on 22 Mar 2009, 6:29 AM · Views: 1,263

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Mar 2009, 6:29 AM
#1
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

An Announcement box on index page, and only on Index page

I know this is do-able as i have previously done it, but I don't remember the name of the box

Basically i person asked me today to make a box on the main page that is a different colour and has a border, that they can use to announce things, i am pretty sure i can do it using a sidebox, but is there a specific one i am supposed to use?

Thanks

Webzings Design
Semi retired from Web Design

22 Mar 2009, 6:47 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: An Announcement box on index page, and only on Index page

You can use define main page for this option

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

22 Mar 2009, 7:15 AM
#3
emrico1 avatar

emrico1

New Zenner

Join Date:
Mar 2009
Posts:
55
Plugin Contributions:
0

Re: An Announcement box on index page, and only on Index page

tools> define pages editor > define_main_page.php

or google 'blank sidebox' and make your own.

23 Mar 2009, 5:25 AM
#4
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: An Announcement box on index page, and only on Index page

They already use the define main page, basically what they want, is a box on the main page above the content from the define main page that is a different colour and has a border so it stands out.

I have solved the problem anyway, as they don't use define_page_2 I have copied the relevant code from tpl_page_2_default and placed it in the tpl_index_default.php file and used a bit of CSS to make it appear as a box on the main page

Looks like the below

http://nigel.geek.nz/zen-stuff.php

Webzings Design
Semi retired from Web Design