Ignore:
Timestamp:
May 8, 2008, 3:13:13 AM (16 years ago)
Author:
rvelices
Message:

2 template features:

  • added a {html_head} smarty block - allow any template file to add content just before </head> tag (handy for plugins and allows to move more presentation logic to tpls); the content is usually <style> or <link> which must appear inside html <head> tag
  • by config allow some language strings to be replaced during template compilation -> better performance. drawback: changes in the language file will not be propagated until template is recompiled.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config_default.inc.php

    r2313 r2334  
    691691// or other plugin variables etc
    692692$conf['local_data_dir'] = dirname(dirname(__FILE__)).'/_data';
     693
     694// if true, some language strings are replaced during template compilation
     695// (insted of template output). this results in better performance. however
     696// any change in the language file will not be propagated until you purge
     697// the compiled templates from the admin / maintenance menu
     698$conf['compiled_template_cache_language'] = false;
     699
    693700?>
Note: See TracChangeset for help on using the changeset viewer.