Re: Strip <HTML>,<BODY> and similar from the beginning

From: Date: Mon, 12 Mar 2001 15:42:38 +0000
Subject: Re: Strip <HTML>,<BODY> and similar from the beginning
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-373@lists.php.net to get a copy of this message
On Mon, 12 Mar 2001, Monte Ohrt wrote: > Yes, change your template delimiters to something that dreamweaver > likes, such as <!--{ }-->, or maybe <{ }> would work? He wants to remove the <HTML><HEAD>.. from the top of the file if it's included. He should pass a variable through include and then check it in the included file: main file: <include file='subfile.tpl' included=yes> sub file: {if not $included} <HTML> <HEAD> ... {/if} -Andrei What's hard, in hacking as in fiction, is not the writing, it's deciding what to write. -- Neal Stephenson

« previous php.smarty.general (#373) next »