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

Search found 7 matches
Smarty Forum Index
Author Message
  Topic: Wrong documentation
Dwza

Replies: 1
Views: 1287

PostForum: Documentation   Posted: Mon Mar 15, 2021 10:58 am   Subject: Wrong documentation
I think there is a small mistake in the append prepend documentation parent.tpl
<html>
<head>
<title>{block name="title"}Title - {/block}</t ...
  Topic: random value in include
Dwza

Replies: 2
Views: 8737

PostForum: General   Posted: Thu Jan 23, 2020 11:02 am   Subject: random value in include
In Smarty 3 there is no Random or Rand function. Actually i could not find it for Smarty 2 either. So this must be a extra plugin? And if than its not needed.

You can handle +, -, /, *, abs, ceil, ...
  Topic: Creating a directory within the Templates folder
Dwza

Replies: 5
Views: 12046

PostForum: Installation and Setup   Posted: Tue Feb 07, 2017 1:28 pm   Subject: Creating a directory within the Templates folder
but he sayed ...but I still would like them to use the headers and footers and all the other smarty includes....
so he propably goes best with blocks. In the end its just a simply include but getting ...
  Topic: Smarty 3.1.6 with IIS 7.5 & 8.0 for Windows Server 2008R
Dwza

Replies: 7
Views: 60183

PostForum: Installation and Setup   Posted: Tue Feb 07, 2017 10:06 am   Subject: Smarty 3.1.6 with IIS 7.5 & 8.0 for Windows Server 2008R
Similar problem with WinSrv2012r2 but this doesnt solves it.

May take a look at my post

http://www.smarty.net/forums/viewtopic.php?t=26719
  Topic: Creating a directory within the Templates folder
Dwza

Replies: 5
Views: 12046

PostForum: Installation and Setup   Posted: Tue Feb 07, 2017 8:16 am   Subject: Creating a directory within the Templates folder
guess what you are looking for is something like this...

http://www.smarty.net/docs/en/language.function.block.tpl

here you can have planty of folders and include the header structure in every s ...
  Topic: Permissions problem with template_C in WinSrv2012r2 IIS8.5
Dwza

Replies: 4
Views: 7638

PostForum: Installation and Setup   Posted: Tue Jan 31, 2017 9:20 am   Subject: Permissions problem with template_C in WinSrv2012r2 IIS8.5
I have a small problem running smarty on WinSrv2012r2 IIS 8.5.

Actually everything is running like expacted... smarty->display shows me the cached template.

The only thing is when i render th ...
  Topic: SmartyFunktion mit JS oder Checkboxevent ausführen...
Dwza

Replies: 1
Views: 5360

PostForum: Language: German   Posted: Fri Jan 09, 2015 12:28 pm   Subject: SmartyFunktion mit JS oder Checkboxevent ausführen...
Hi Smile
Sagen wir ich habe in meinem kompilierten Template (demo.tpl)
Lets say i have this in my compiled template (demo.tpl)

{$foo = '{"aaa":"111","bbb" ...
 
Page 1 of 1
All times are GMT
Jump to:  


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