Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 6 matches
Smarty Forum Index
Author Message
  Topic: Email templates
jpabian

Replies: 11
Views: 15462

PostForum: General   Posted: Thu Sep 04, 2003 7:16 pm   Subject: email templates
why not either:
1) unregister_postfilter("trimwhitespace")
2) add a '<pre>' tag to the email message template.. the postfilter ignores it..

ive tried to unregister the postfilter_trimwhites ...
  Topic: adding info to the smarty debug template
jpabian

Replies: 2
Views: 6551

PostForum: General   Posted: Wed Aug 13, 2003 8:29 pm   Subject: adding info to the smarty debug template
that does not work..

{assign_debug_info} plugin is closer to home

in the debug.tpl
  Topic: adding info to the smarty debug template
jpabian

Replies: 2
Views: 6551

PostForum: General   Posted: Wed Aug 13, 2003 7:48 pm   Subject: possible solution
i suppose i could add a set method to Smarty and add an element to the $_smarty_debug_info array.

function addDebug($key,$val){
$this->_smarty_debug_info[$key] = $val;
}

$view->addD ...
  Topic: adding info to the smarty debug template
jpabian

Replies: 2
Views: 6551

PostForum: General   Posted: Wed Aug 13, 2003 6:45 pm   Subject: adding info to the smarty debug template
i would like to add some profiling/timing info to the debug template instead of adding it to the production template itself. is there an easy way to do this??

thanks in advance

jsp
  Topic: html annotation of include files
jpabian

Replies: 2
Views: 6446

PostForum: General   Posted: Tue Aug 12, 2003 6:22 pm   Subject: html annotation of include files
thanks.. and thats as easy as it gets..

jeff
  Topic: html annotation of include files
jpabian

Replies: 2
Views: 6446

PostForum: General   Posted: Tue Aug 12, 2003 4:39 pm   Subject: html annotation of include files
at one time i thought smarty would annotate in html comment form the include files loaded

ie

<!-- include file=header.tpl -->
<table border>
<!-- end include file -->

ive ...
 
Page 1 of 1
All times are GMT
Jump to:  


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