Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Dedicated server web hosting provided by Guru-host.eu.
Using Config Files

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
gdboling
Smarty Rookie


Joined: 20 Feb 2004
Posts: 31

PostPosted: Wed Apr 28, 2004 2:44 pm    Post subject: Using Config Files Reply with quote

I've read several posts here talking about the propor use for Config files. But I didn't get a solid answer that I am looking for so I am going to ask some more about.

I understand that config files should not be used to store colors and basic CSS things. We should use CSS for this. But what things like


  • Error Messages
  • Form Labels


For example

Code:

<form method="..">
{if $error eq "true"}<label class="error">{#errormessage#}</label>{/if}
<label class="someclass">{#username#}</label>
......
</form>


Is this good practice, bad practice, ??

Thanks for any suggestions.
_________________
Gregg
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP