Re: PHP, Smarty, and Text
| From: | ceo at l-i-e dot com | Date: | Wed, 14 Jan 2009 20:27:56 +0000 |
| Subject: | Re: PHP, Smarty, and Text | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-286352@lists.php.net to get a copy of this message | ||
One way to balance the author's need to have nice-looking output, and your need to keep the
content/html under control is to provide the authors with a variety of template layouts with varying
number/placement/sizes of images and blocks of text.
Build a half-dozen of them, allow only ASCII text input, let the author pick their poison, and
Bob's yer uncle, for many clients/projects.
Make them generic enough and re-use them forever. :-)