Subject: (dsssl) Including chunks of HTML code (newbie) From: "Antun Karlovac" <antun@xxxxxxxxxxxxxxxxx> Date: Mon, 8 Jul 2002 10:43:50 -0700 |
Hi all I'm struggling with DSSSL at the moment. What I want do is to include a header and footer on each page. The pages will be processed by PHP on the server, after I have generated them. Therefore all I need to include is:- = Code =================================== <?php $thisPage = __FILE__; ?> <?php $urlPrefix = '../'; ?> <?php include '../includes/tree.php'; ?> <?php include '../includes/header.php'; ?> [generated HTML goes here] <?php include '../includes/footer.php'; ?> ========================================== The head, body, title etc. tags are all included by PHP, so I want ONLY the contents of the body tag to go in the square brackets. I've been scouring the search engines and reading up about how to do this, and one helpful soul suggested: = Code =================================== (element root (sosofo-append (include-headerphp) (process-children) (process headerphp)) ========================================== But I can't find how to define "include-headerphp" in any of the tutorials/dsssl documentation I've read. Is it a text file with just the PHP code? I'm OpenJade (which someone else set up for me), and the command I type is "make html". Thanks for any help in advance! Take care, Antun DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: (dsssl) Keywords: from ["Mason,, Mulberry Technologie | Thread | Re: (dsssl) Including chunks of HTM, daniel lance herrick |
RE: (dsssl) Keywords: from ["Mason,, Mulberry Technologie | Date | Re: (dsssl) Including chunks of HTM, daniel lance herrick |
Month |