Author |
Message |
Topic: Speed of smarty->fetch() dependents on network speed!!! |
Wom.bat
Replies: 8
Views: 11652
|
Forum: General Posted: Wed Dec 17, 2003 9:47 pm Subject: Speed of smarty->fetch() dependents on network speed!!! |
use output buffering... |
Topic: CVS: Bug in simple math and modifiers |
Wom.bat
Replies: 3
Views: 11302
|
Forum: Bugs Posted: Mon Sep 29, 2003 4:01 pm Subject: CVS: Bug in simple math and modifiers |
a fix for this issue is in the works... |
Topic: {include} and Array[] |
Wom.bat
Replies: 10
Views: 15994
|
Forum: General Posted: Sat May 31, 2003 11:00 pm Subject: {include} and Array[] |
or update to 2.5.0 |
Topic: to assign() or not to assign() |
Wom.bat
Replies: 2
Views: 7341
|
Forum: General Posted: Fri May 30, 2003 11:36 pm Subject: to assign() or not to assign() |
no, in the second example, $name cannot be addressed from within the template. you have to implicitely assign every variable you plan to use in your template
hth
David |
Topic: Forum Suggestion |
Wom.bat
Replies: 9
Views: 21309
|
Forum: General Posted: Fri May 30, 2003 11:35 pm Subject: Forum Suggestion |
yep, good idea, :vote: |
Topic: Accessing smarty variable in the {php} block |
Wom.bat
Replies: 6
Views: 11007
|
Forum: General Posted: Fri May 30, 2003 2:54 pm Subject: Accessing smarty variable in the {php} block |
doesn't $this work? |
Topic: Caching: general question |
Wom.bat
Replies: 1
Views: 6432
|
Forum: General Posted: Mon May 26, 2003 8:55 pm Subject: Caching: general question |
yes, use an uncached index.tpl which includes other small apps via include_php. these apps can use cached templates |
Topic: best way to build a multi-language site with smarty |
Wom.bat
Replies: 210
Views: 1206562
|
Forum: Tips and Tricks Posted: Tue May 20, 2003 9:12 pm Subject: best way to build a multi-language site with smarty |
err... I might be wrong, but I guess it's illegal in most countries on this planet if I just provide translations done by babelfish and "sell" them as my own service or whatever... |
Topic: Weird Insertion Point? |
Wom.bat
Replies: 4
Views: 12057
|
Forum: General Posted: Tue May 20, 2003 11:48 am Subject: Weird Insertion Point? |
by the way... you better do not create the "<td>"s in your PHP code
instead, populate an array with all entries and do
<table>
<tr>
{foreach from=$array item="en ... |
Topic: Weird section problem |
Wom.bat
Replies: 5
Views: 13721
|
Forum: General Posted: Mon May 19, 2003 2:00 pm Subject: Weird section problem |
create a multi-dimensional array and use foreach instead of section... |
Topic: insert/include/fetch etc subpage caching |
Wom.bat
Replies: 2
Views: 9382
|
Forum: General Posted: Sun May 18, 2003 3:19 pm Subject: insert/include/fetch etc subpage caching |
I usually do include_phps in my index.tpl, and in the php files, I enable caching and display/fetch the template... it's that easy |
Topic: Really Really New At THis |
Wom.bat
Replies: 8
Views: 16691
|
Forum: General Posted: Sun May 18, 2003 10:14 am Subject: Really Really New At THis |
well... I guess you should buy a book and learn PHP first, then |
Topic: $smarty.session compiles as $GLOBALS['HTTP_SESSION_VARS'] |
Wom.bat
Replies: 13
Views: 39722
|
Forum: Feature Requests Posted: Sat May 17, 2003 12:50 am Subject: $smarty.session compiles as $GLOBALS['HTTP_SESSION_VARS'] |
... but maybe I want only compiled templates on the target machine
huh?
but currently, we have
$smarty.request.* => $GLOBALS["HTTP_REQUEST_VARS"]
$smarty.server.* => $GLOBALS["HTTP_SERV ... |
Topic: $smarty.session compiles as $GLOBALS['HTTP_SESSION_VARS'] |
Wom.bat
Replies: 13
Views: 39722
|
Forum: Feature Requests Posted: Fri May 16, 2003 10:12 pm Subject: $smarty.session compiles as $GLOBALS['HTTP_SESSION_VARS'] |
no, please no automatic decision at compile time
some reasons:
1) the production environment does likely differ from the development environment
2) maybe I use $GLOBALS["HTTP_*_VARS"] on machines w ... |
Topic: $smarty.session compiles as $GLOBALS['HTTP_SESSION_VARS'] |
Wom.bat
Replies: 13
Views: 39722
|
Forum: Feature Requests Posted: Fri May 16, 2003 6:21 pm Subject: $smarty.session compiles as $GLOBALS['HTTP_SESSION_VARS'] |
I have already suggested this once, as I always use these "new" superglobals and so cannot use the builtin smarty stuff, as these variables don't get updated if I change the $_* vars...
something lik ... |
|