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

Search found 14 matches
Smarty Forum Index
Author Message
  Topic: New outputfilter : pdml2pdf
idxman01

Replies: 20
Views: 44997

PostForum: Plugins   Posted: Fri Oct 12, 2007 3:25 pm   Subject: New outputfilter : pdml2pdf
(bringing this up from the grave)

One thing I've had to do is add ob_end_clean() before any header calls in order for this to work properly.


ob_end_clean();
Header('Cont ...
  Topic: for($i=1;$i<=$count;$i++)
idxman01

Replies: 4
Views: 6107

PostForum: General   Posted: Wed Dec 03, 2003 8:33 pm   Subject: for($i=1;$i<=$count;$i++)
Thanks for the info messju, that's what I was just looking for.

Although I'm running into a problem during the loop. Basically I have a variable number of loops per row, where the variable name co ...
  Topic: Thats why Smarty sucks - Swedish discussion
idxman01

Replies: 3
Views: 6922

PostForum: General   Posted: Thu Jul 03, 2003 5:32 am   Subject: Thats why Smarty sucks - Swedish discussion
Wink Looks like fun timing comparisons and that his engine (Min template motor ?) is faster.. Of course an actual transation might be nice.

Hey, if smarty butters your bread, then use it. Otherwi ...
  Topic: smarty_function_pager examples?
idxman01

Replies: 16
Views: 32400

PostForum: Plugins   Posted: Thu Jul 03, 2003 5:20 am   Subject: smarty_function_pager examples?
* Last Modified: July 7, 2003


Sweet.. Futureware. Very Happy



I'll have to try it at work sometime soon.. Last time I tried budda's version (w/ the 4.14 changes), but it was doing something wei ...
  Topic: How often should i use clear_compiled_tpl
idxman01

Replies: 9
Views: 11512

PostForum: General   Posted: Thu Jul 03, 2003 5:12 am   Subject: Re: Thanks, I think I have it
Don't compile check (for speed)
Get rid of compile and cache to cause an application to re-compile and re-cache


More or less.. but as always it depends on the app. You may not necessarily need ...
  Topic: How often should i use clear_compiled_tpl
idxman01

Replies: 9
Views: 11512

PostForum: General   Posted: Mon Jun 23, 2003 10:05 pm   Subject: How often should i use clear_compiled_tpl
If you have $compile_check on, then it'll recompile it automatically. Otherwise, only call it if you changed a template.

-r
  Topic: Wont display cached version
idxman01

Replies: 4
Views: 4600

PostForum: General   Posted: Sun Jun 22, 2003 9:07 pm   Subject: Wont display cached version
Not using PHPA at home and I'll have to get back to you next week on the errors. (vacation w00t!)

It wont load the debug template and gives weird errors on basic items like a cycle statement...
...
  Topic: Wont display cached version
idxman01

Replies: 4
Views: 4600

PostForum: General   Posted: Fri Jun 20, 2003 5:09 am   Subject: Wont display cached version
I wish it did help. I've flushed both directories a few dozen times tonight while testing.. Just makes no sense since the same code works at work. (maybe its trying to tell me to keep work at work ...
  Topic: newbie - curency formating
idxman01

Replies: 2
Views: 3873

PostForum: General   Posted: Fri Jun 20, 2003 4:18 am   Subject: newbie - curency formating
php function: number_format()

...there's also a smarty plugin that calls this function.
  Topic: Wont display cached version
idxman01

Replies: 4
Views: 4600

PostForum: General   Posted: Fri Jun 20, 2003 4:14 am   Subject: Wont display cached version
...This has to be something simple I'm overlooking or an incompatibility between PHP versions.

I've been testing out Smarty and its caching with some of my programs at work and its great. So I cvs ...
  Topic: smarty_function_pager examples?
idxman01

Replies: 16
Views: 32400

PostForum: Plugins   Posted: Thu Jun 19, 2003 12:39 pm   Subject: smarty_function_pager examples?
I just download it from http://smarty.php.net/contribs/plugins/ the other day and it lists 2 changes in March'03.

-r
  Topic: smarty_function_pager examples?
idxman01

Replies: 16
Views: 32400

PostForum: Plugins   Posted: Wed Jun 18, 2003 7:04 pm   Subject: smarty_function_pager examples?
I get odd URL's with this plugin.

eg:


{pager rowcount=$total_pages limit=1 posvar="offset" no_first=false separator="|" txt_pos="side"}


produces:
...
  Topic: Newbie question: cannot disable caching for the life of me!
idxman01

Replies: 6
Views: 6116

PostForum: General   Posted: Wed Jun 18, 2003 6:53 pm   Subject: Newbie question: cannot disable caching for the life of me!
$objSmarty->compile_check = $this->bitCompileCheck;
//maybe try: $objSmarty->compile_check = TRUE;
// just to see if your bitCompileCheck var is the culprit


I know you said you've ...
  Topic: Useful Smarty wrapper
idxman01

Replies: 13
Views: 20146

PostForum: Smarty Development   Posted: Mon Jun 16, 2003 6:36 pm   Subject: Useful Smarty wrapper
Not sure I get it either..

Here's my typical assign statement:


$tpl->assign('results', $obj->searchResults);


$obj being the class I'm retrieving data for and var searc ...
 
Page 1 of 1
All times are GMT
Jump to:  


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