Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to include define_page_2.php content in header for easy editing

How to include define_page_2.php content in header for easy editing

Locked

Views: 17,914

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
30 May 2009, 5:02 PM
#1
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

How to include define_page_2.php content in header for easy editing

How to include define_page_2.php content in header so it make it easy for the user to change without ftp

I tried

<?php require(DIR_WS_MODULES . 'html_includes/define_page_2.php'); ?>

but did not work

30 May 2009, 5:03 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: How to include define_page_2.php content in header for easy editing

What are you wanting to do with if it you had an "editable" area?

30 May 2009, 5:16 PM
#3
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Re: How to include define_page_2.php content in header for easy editing

Yes I just need an "editable" area, maybe there is another way to do this. I want to put a picture and links in it and add it to a side box that someone wants to edit

30 May 2009, 5:44 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: How to include define_page_2.php content in header for easy editing

I am confused - sideboxes go in the side columns - Do you want it in the header or on the side?

30 May 2009, 5:57 PM
#5
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Re: How to include define_page_2.php content in header for easy editing

Side box first then header. Often people may want to change something in the header. One person asked me how I change my logo, I had to give him FTP and file editing instructions. First thing I want to do is put something in a side box then later in the header, I figured it may be the same?

30 May 2009, 6:56 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: How to include define_page_2.php content in header for easy editing

The easiest way would be to use the banner positions - there is one inside the header and 3 different sideboxes already available. You can create html banner that call images , have text only, contain links or use all.