CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Header / Footer External File Not within Codecharg

Print topic Send  topic

Author Message
Stuck-on-it
Posted: 09/26/2003, 10:28 AM

Hi Guys I am using CC w/PHP & templates and I tried to include in the header and footer of the cc program an include like so

<? include("bottom.html"); ?>
-or-
include("bottom.html");

But the code never executes since it is in the html template per say.
What I want to do is wrap the CC code with 1 top header and 1 footer file so that I only need to manage / edit 1 place for each. If I paste the html code into the header & footer it works perfect, but again I am trying to call the external file.

Any ideas appreciated!

Thanks !
Karim
Posted: 09/26/2003, 5:36 PM

Easy, create a page call it Header, paste your external header code into the ccs page called header, you paste in the HTML side, no code should be imbedded. Then you make the header file INCLUDABLE (important). You are all set. The page you wish to make includable, insert the includable ccs page by going to the FORMS tab looking for an icon which says insert includable then browse to the file which is now called HEADER.CCP then you should know the rest.

Your all set.

Goodluck.
Karim
Alice
Posted: 09/28/2003, 6:50 PM

The query talks of CC and the response is for CCS. !!!!!

Yet again - no clear indentification of which product the enquiry refers to.

????

Alice K
Karim
Posted: 09/28/2003, 8:12 PM

To CC or to CCS, that is the question.

Karim

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.