auto not interpret
| From: | Pupeno | Date: | Fri, 09 Jan 2004 11:48:06 +0000 |
| Subject: | auto not interpret | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10802@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello smartiers, how are you ?
I'm building a web page with Smarty and I'm using include but I have the
following problem.
Supouse I include the file menu.html where the menu will go, everything is ok,
but the file itself, menu.html won't have a header, that is, a <html> tag, a
<head> tag, a <body> tag and so on which are very important to do wysiwyg
editing (we have grafical designers that can manage templates but still needs
wysiwyg editting).
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 ?
Thanks.
I'm already using capture to simulate this, but I'd like to make it that way,
it is more understandable.
Thanks.
- --
Pupeno: pupeno@pupeno.com
http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE//pT5tCepaMf3unIRAj12AJ9tdmaDTmO62eeGyRY8e2wbV6MwswCffW7h
zVPJiEMYosm8YrFb4jX8hns=
=M2a2
-----END PGP SIGNATURE-----