Author |
Message |
Topic: How to access a scoped var from inside debug.tpl? |
vain
Replies: 2
Views: 5982
|
Forum: General Posted: Sat May 21, 2011 9:43 am Subject: How to access a scoped var from inside debug.tpl? |
Ahh, Uwe... you are right.. there is "value" in between.
I forgot about that. Thanks for pointing it out.
This is my solution. Looks a bit scary though... anyway, works.
{$con ... |
Topic: How to access a scoped var from inside debug.tpl? |
vain
Replies: 2
Views: 5982
|
Forum: General Posted: Sat May 21, 2011 1:55 am Subject: How to access a scoped var from inside debug.tpl? |
Hello,
i'm inside the Smarty Debug Console (debug.tpl).
I want to access a variable assigned to one template of the page which i'm debugging.
It's a configuration var needed for toggling the pop ... |
Topic: Search is not working on official website |
vain
Replies: 2
Views: 20026
|
Forum: Documentation Posted: Thu Nov 18, 2010 7:45 pm Subject: Search is not working on official website |
Thank you! |
Topic: Search is not working on official website |
vain
Replies: 2
Views: 20026
|
Forum: Documentation Posted: Thu Nov 18, 2010 2:49 pm Subject: Search is not working on official website |
Hello,
the search does not work on the official website.
Try:
http://www.smarty.net/search?q=modifier
http://www.smarty.net/search?q=function&show=manual-en&x=4&y=7
Regards Jens |
Topic: unknown 'registerVariableFilter' / assign and assignGlobal |
vain
Replies: 10
Views: 16444
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 3:44 pm Subject: unknown 'registerVariableFilter' / assign and assignGlobal |
Thanks Heiner, works! Seems to be a documentation problem.
3. assignGlobal() does not accept an array as $varname.
If you try that, you will get an illegal offset type error.
the following snip ... |
Topic: unknown 'registerVariableFilter' / assign and assignGlobal |
vain
Replies: 10
Views: 16444
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 3:15 pm Subject: unknown 'registerVariableFilter' / assign and assignGlobal |
Hello,
i'm reporting some bugs for v3.0.0.
1. registerVariableFilter unknown
Please take a look at the usage example of registerVariableFilter in the section Variable Filters of http://www.sm ... |
Topic: smarty_modifier_firebug |
vain
Replies: 0
Views: 3873
|
Forum: General Posted: Sun Mar 28, 2010 2:23 pm Subject: smarty_modifier_firebug |
Hello guys,
I've created an smarty modifier for variable debugging with firebug from inside the template, like {$variable|firebug}.
Please take a look at the code snippet.
Add: FireBug and F ... |
Topic: Smarty 3.0 Alpha 1: Proof of Concept |
vain
Replies: 93
Views: 249381
|
Forum: Smarty 3 Posted: Sat Oct 04, 2008 5:28 pm Subject: Smarty 3.0 Alpha 1: Proof of Concept |
Wooh! Smarty 3 on the horizon! Very good news!
Some thoughts to discuss:
1) Trac for Smarty
Unless you are already hosted on GoogleCode or some other environment, i would suggest to setup a pro ... |
Topic: Missing closing bracket@if function@example 7-16 |
vain
Replies: 0
Views: 12438
|
Forum: Documentation Posted: Sun Aug 03, 2008 8:53 pm Subject: Missing closing bracket@if function@example 7-16 |
http://www.smarty.net/manual/en/language.function.if.php
Example 7-16. {if} with more examples
{if isset($name) && $name == 'Blog'}
{* do something *}
{elseif $name == $foo}
... |
Topic: how to get internal variables |
vain
Replies: 1
Views: 5642
|
Forum: General Posted: Sun Jul 13, 2008 2:13 am Subject: how to get internal variables |
Hmm.. this is dirty but works! Has anyone an alternative solution to this problem?
smarty.class.php Line 1533ff:
function _fetch_resource_info(&$params)
{
if(!is ... |
Topic: how to get internal variables |
vain
Replies: 1
Views: 5642
|
Forum: General Posted: Sun Jul 13, 2008 12:16 am Subject: how to get internal variables |
Hi,
is there a variable for getting the path/base_path into the current template?
Found this 3 vars around Line 1540 in smarty.class.php:
$_params['resource_base_path']
$_params['resource_type ... |
Topic: Plugin for tafelTree (Very good JavaScript TreeView) |
vain
Replies: 2
Views: 19357
|
Forum: Plugins Posted: Fri Aug 24, 2007 1:37 pm Subject: Plugin for tafelTree (Very good JavaScript TreeView) |
nice work! thanks a lot!
regards vain |
Topic: Smarty 3.0: initial discussion |
vain
Replies: 172
Views: 533650
|
Forum: Smarty Development Posted: Mon Jul 16, 2007 4:51 pm Subject: Smarty 3.0: initial discussion |
In my opinion the only way that Smarty3 can be more/better than the current Smarty is expanding onto different grounds. For example additional support for making a CMS, or language parsing modules (sm ... |
Topic: SEO URLs using a smarty postfilter & $_SERVER['REQUEST_U |
vain
Replies: 6
Views: 25536
|
Forum: Plugins Posted: Wed May 02, 2007 4:13 am Subject: SEO URLs using a smarty postfilter & $_SERVER['REQUEST_U |
but let me first say, that i never got the clue, why myself should shorten urls or search-engine-optimize them, when all the really big sites don't do this. it seems that nowadays the webcrawlers and ... |
Topic: dhtml_calendar |
vain
Replies: 66
Views: 147471
|
Forum: Plugins Posted: Wed May 02, 2007 3:40 am Subject: dhtml_calendar |
i found a typo bug in functions.dhtml-calender.php, while trying to assing text to each day-field via dateText. the error is in the whitelist of javascript functions for jscalender at line #189:
y ... |
|