Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 php include question

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Indy Posted - 17 Jan 2006 : 05:29:10
Just downloaded the software - checking it out and so far it looks good...

First question:

I want to setup a header and footer and use the php include directive to pull them into each page.

When designing the header and footer, how do I configure them to only export the snippet of html (for the include file) and not have the HTML, HEADER, BODY, etc. tags included?

Thanks,
dfg
1   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 17 Jan 2006 : 08:53:22
First of all create the header and the footer in two separate .dhe files; you can call them "inc_header.dhe" and "inc_footer.dhe".
Inb both versions 1.x/2.x you have to include the header file into all file using the "Insert Dynamic HTML Editor file object"

Then in version 1.x you can use F12 and choose "Dynamic Page" & ".php" so dhe will generate the header file into a separate file and only the include instruction in the main file.

In version 2.x Dynamic HTML Editor always merges the HTML codes but maintain shared the images used in the footer and in the header.

In version 2.x you can use the project manager to add files to your project and choose a common footer for each pages.
Modifying the page option you can also avoid a certain page to have the common footer.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000