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 17 matches
Smarty Forum Index
Author Message
  Topic: Getting a warning using filemtime() in smarty_resource.php
nielsNL

Replies: 1
Views: 6102

PostForum: Bugs   Posted: Wed May 23, 2012 7:03 am   Subject: Getting a warning using filemtime() in smarty_resource.php
Hello we are using the latest SVN version of Smarty and we getting lots of below messages, not sure of this is any problem:

Warning: filemtime() [<a href='function.filemtime'>function.filemti ...
  Topic: How to do this in Smarty3
nielsNL

Replies: 0
Views: 4781

PostForum: Smarty 3   Posted: Fri May 06, 2011 9:23 pm   Subject: How to do this in Smarty3
In previous version i had the next code:

function smarty_block_category ($params, $content, $smarty, &$repeat) {
if ($repeat) {
$query="select * mytable ...
  Topic: help with getting the documention
nielsNL

Replies: 3
Views: 5479

PostForum: Smarty 3   Posted: Wed Nov 10, 2010 8:41 am   Subject: help with getting the documention
thanks Uwen
  Topic: help with getting the documention
nielsNL

Replies: 3
Views: 5479

PostForum: Smarty 3   Posted: Tue Nov 09, 2010 8:01 am   Subject: help with getting the documention
Hello,

I was just wanted to ask something like this myself.

The only difference is that i was hoping to find a link to a html version that can be updated automatically each day.

thanks for yo ...
  Topic: Just found a problem in the smarty->fetch() method
nielsNL

Replies: 2
Views: 5407

PostForum: Smarty 3   Posted: Sun Sep 12, 2010 7:14 am   Subject: Just found a problem in the smarty->fetch() method
Thanks for your replay U.Tews
  Topic: Just found a problem in the smarty->fetch() method
nielsNL

Replies: 2
Views: 5407

PostForum: Smarty 3   Posted: Sat Sep 11, 2010 8:24 pm   Subject: Just found a problem in the smarty->fetch() method
Hello all,

Today i was looking at the smarty.class.php file to see how i can a nice way to check of a templete file existed or not.

And was reading the fetch() method and found this:
...
  Topic: checking multiple resource for existing template.
nielsNL

Replies: 3
Views: 6896

PostForum: Smarty 3   Posted: Wed Mar 31, 2010 6:03 pm   Subject: checking multiple resource for existing template.
1) Smarty can not check in different resources if a template exist or not. You must check if the template exist in the database in your script and then make the smarty->display() call depending on ...
  Topic: checking multiple resource for existing template.
nielsNL

Replies: 3
Views: 6896

PostForum: Smarty 3   Posted: Wed Mar 31, 2010 11:59 am   Subject: checking multiple resource for existing template.
Hello,

Thanks for your perfect work guys i love the work you are doing.

1) In our current project we store now the templates in files.
Now we have the idea to allow users to change the template ...
  Topic: Missing the tpl files in the \development\TestScripts folder
nielsNL

Replies: 0
Views: 4035

PostForum: Smarty 3   Posted: Sat Jan 23, 2010 4:26 pm   Subject: Missing the tpl files in the \development\TestScripts folder
Hello,

I'm starting to play with Smarty3.
By trying to understand how all is working i was looking at the files in \development\TestScripts but somehow the template files are not there.
Are they ...
  Topic: {if $data==$data2|cat:'xx'} doesn't work in beta 6
nielsNL

Replies: 8
Views: 13565

PostForum: Smarty 3   Posted: Tue Jan 12, 2010 10:40 pm   Subject: {if $data==$data2|cat:'xx'} doesn't work in beta 6
i like this restriction, it makes it very clear where the modifier belongs to.
When it is not to much work can you make it optional or so?
  Topic: Short way to use constants in Smarty3
nielsNL

Replies: 1
Views: 7717

PostForum: Smarty 3   Posted: Tue Oct 27, 2009 10:24 am   Subject: Short way to use constants in Smarty3
Hello,

In our Fusion Ticket project we use now a hacked version of smarty2.6.
This hack helps us to use constants more easier then the Smarty.const.<constname>

For this we introduced the ...
  Topic: how can i execute correctly
nielsNL

Replies: 3
Views: 5553

PostForum: General   Posted: Wed Sep 02, 2009 9:30 am   Subject: how can i execute correctly
thank you marte,

This works perfect. How does it work in Smarty3?

have a good day

Niels
  Topic: how can i execute correctly
nielsNL

Replies: 3
Views: 5553

PostForum: General   Posted: Tue Sep 01, 2009 8:31 pm   Subject: how can i execute correctly
How can i get this working?

{gui->Tabbar menu='#pos_currenttickets# | #pos_paidlist# | #pos_unsentlist#'}

thanks
  Topic: Smarty 3 and constants
nielsNL

Replies: 2
Views: 9243

PostForum: Smarty 3   Posted: Tue Sep 01, 2009 8:17 pm   Subject: Smarty 3 and constants
About constands I did made a hack to the smarty2 version that alows us to get the define as !define! insteed of $smarty.const.FOO.

Is it posible to add this in Smarty3 too?

btw: I can send to yo ...
  Topic: Need some advice about generic language selections.
nielsNL

Replies: 3
Views: 5225

PostForum: General   Posted: Mon May 04, 2009 8:22 am   Subject: Need some advice about generic language selections.
thanks jLix and u.Tews,

I can't remove the {en} ... {/en} block structure yet. I'm search for a simpler method to handle does language blocks more general, insteed of creating a php file for each l ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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