Quote:
Originally Posted by quantum-x
code bloat.
Thelong and the short is, you can do this in one line of php, but it still won't be CLEAN design.
|
This is why I use the method I spoke about. This way its no different than a template variable. Most WYSIWYG editors can view it without any issue, and your designers will be happy. It's simple, it's clean and it works efficiently. Too maybe { }'s, foreach's, if/else statements are just going to screw with the design when it comes time for you or your designer to play with the html. Keep it simple and it will work faster and be easier to manage.