Author |
Message |
Topic: Internationalization. Best Practices? |
auggiedoggie
Replies: 4
Views: 8141
|
Forum: General Posted: Wed Dec 14, 2016 11:54 pm Subject: Internationalization. Best Practices? |
Could you please clarify your question?
What exactly you are looking for?
Encodings support? Smarty works with UTF-8 out of the box.
Something else? You gotta clarify.
Sorry, I thought I was pre ... |
Topic: Internationalization. Best Practices? |
auggiedoggie
Replies: 4
Views: 8141
|
Forum: General Posted: Wed Dec 14, 2016 7:54 pm Subject: Internationalization. Best Practices? |
I'm about to begin building a fairly large health records-oriented site which will be supporting English and Spanish. I've worked with i8n and multi-language sites before but not within Smarty 3 (Twi ... |
Topic: unknown modifier "escape" |
auggiedoggie
Replies: 7
Views: 40232
|
Forum: Smarty 3 Posted: Fri Sep 09, 2016 8:21 pm Subject: I'm still getting this. |
I'm porting a Smarty 2 -> 3 site and ran into this problem with several of the plugins. I'm extending Smarty but I believe I followed the update instructions properly. I'm running PHP7, if it mat ... |
Topic: Including template in same directory |
auggiedoggie
Replies: 6
Views: 6611
|
Forum: General Posted: Sun Mar 30, 2008 8:07 pm Subject: Including template in same directory |
Sorry, I wasn't clear. I'm setting $smarty->compile_id to the database schema name so that use_sub_dirs breaks out the subdirectories under templates_c as:
nychp/
sbhccf/
trms/
I did ... |
Topic: Including template in same directory |
auggiedoggie
Replies: 6
Views: 6611
|
Forum: General Posted: Sun Mar 30, 2008 5:35 pm Subject: Including template in same directory |
$smarty->template_dir and $smarty->compile_dir are set in the parent class. And use_sub_dirs is set to true to permit duplicate template names in different directories. That's not the issue.
... |
Topic: Including template in same directory |
auggiedoggie
Replies: 6
Views: 6611
|
Forum: General Posted: Sun Mar 30, 2008 3:57 pm Subject: Including template in same directory |
I have an application which is supporting multiple logical sites. Each site has its own set of editable templates, i.e.
$trms->fetch('attachments/sbhccf/contact_reminder.tpl');
E ... |
|