Re: [SMARTY] auto not interpret

From: Date: Fri, 09 Jan 2004 12:19:24 +0000
Subject: Re: [SMARTY] auto not interpret
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10803@lists.php.net to get a copy of this message
Pupeno wrote:
[snip] I was thing if smarty would allow me something like <html><head><title>Menu Template</title><head> <body> {here starts the menu} So here goes the menu with all it's options and facines {/here ends the menu} </body> and when I include that file only what's between {here starts the menu} and {/here ends the menu} would actually be outputted. Is this posible ? how ? You could write a prefilter to strip everything outside the <body></body> tags
(including the tag's themselves): http://smarty.php.net/manual/en/advanced.features.prefilters.php -- Mark Gibson <gibsonm@cromwell.co.uk> Web Developer & Database Admin Cromwell Tools Ltd. Leicester, England.

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