Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 6 matches
Smarty Forum Index
Author Message
  Topic: Internationalization. Best Practices?
auggiedoggie

Replies: 4
Views: 3609

PostForum: 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: 3609

PostForum: 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: 16196

PostForum: 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: 3475

PostForum: 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: 3475

PostForum: 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: 3475

PostForum: 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 ...
 
Page 1 of 1
All times are GMT
Jump to:  


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