 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
SunFire Smarty n00b
Joined: 19 Sep 2003 Posts: 4
|
Posted: Fri Sep 19, 2003 12:56 pm Post subject: config_load replaces "Yes" and "No" |
|
|
howto reproduce:
1. create a config file with the following content:
| Code: | Yes = "Yes"
No = "No" |
2. load the config file with the {config_load} function
3. use the varaibles in your template like this
| Code: | | The answer is {#Yes#}/{#No#} |
This will produce and output like this
instead of
| Code: | | The answer is Yes/No |  |
|
| Back to top |
|
messju Administrator

Joined: 16 Apr 2003 Posts: 3335 Location: Oldenburg, Germany
|
|
| Back to top |
|
SunFire Smarty n00b
Joined: 19 Sep 2003 Posts: 4
|
Posted: Fri Sep 19, 2003 7:01 pm Post subject: |
|
|
I see... never seen this variable before... so shame on me and thnx for the advice! |
|
| Back to top |
|
|
|
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
|