Author |
Message |
Topic: Evaluate Smarty code within block functions |
wvdploeg
Replies: 1
Views: 7178
|
Forum: Smarty Development Posted: Wed Jan 12, 2005 9:17 pm Subject: Evaluate Smarty code within block functions |
When I write a block function and want to have the smarty code evaluated WITHIN the function, what should be the proper way to do it ?
For example, I want to make a block function doing some actio ... |
Topic: Just curious, who is the founder of Smarty ? |
wvdploeg
Replies: 2
Views: 5529
|
Forum: General Posted: Mon Sep 29, 2003 7:56 pm Subject: Just curious, who is the founder of Smarty ? |
See subject... I was searching the Smarty site and although two names return quite often, I did not see anywhere who is/are the founder(s) of Smarty |
Topic: Multiple plugin directories ? |
wvdploeg
Replies: 5
Views: 14530
|
Forum: Installation and Setup Posted: Sat Sep 27, 2003 7:50 pm Subject: Multiple plugin directories ? |
Just curious, is this an undocumented feature, or did I just overlook it in the docs
And does this apply to all paths (template path, configs path etc) for Smarty |
Topic: Multiple plugin directories ? |
wvdploeg
Replies: 5
Views: 14530
|
Forum: Installation and Setup Posted: Fri Sep 26, 2003 6:20 pm Subject: Multiple plugin directories ? |
Is it possible to config multiple plugin directories ? I want to seperate my own plugins from the Smarty 'native' plugins, without having to register each function... is it possible in some way ? |
Topic: Two parameter commands ?????? |
wvdploeg
Replies: 1
Views: 3998
|
Forum: General Posted: Thu Sep 25, 2003 10:30 am Subject: Two parameter commands ?????? |
In the Smarty docs I found at {popup} for some attributes the note 'this is a two parameter command'.... how to understand this... should I assign a string containing the values (comma seperated ???), ... |
Topic: Multiple select in html_checkboxes |
wvdploeg
Replies: 3
Views: 14056
|
Forum: Feature Requests Posted: Mon Sep 22, 2003 4:10 pm Subject: Multiple select in html_checkboxes |
In {html_checkboxes} it's possible to set a box as checked with the 'checked'-attribute, but as far as I could discover, you only can set one value. Since checkboxes allow multiple values, it would be ... |
Topic: {section} and associative arrays |
wvdploeg
Replies: 4
Views: 7075
|
Forum: General Posted: Fri Sep 12, 2003 6:41 pm Subject: {section} and associative arrays |
no, section can only be used in conjunction with indexed arrays.
just curious: what are the "more possibilities" you have with sections?
greetings
messju
Well, according to the documentation i ... |
Topic: {section} and associative arrays |
wvdploeg
Replies: 4
Views: 7075
|
Forum: General Posted: Fri Sep 12, 2003 10:11 am Subject: {section} and associative arrays |
Is it possible to walk to an associtive array with {section} and somehow retrieve the key name ? Because {section} has more possibilities I do not want to do it with {foreach}, but I did not find anyw ... |
Topic: Best way to implement smarty on existing PHP/MySQL site |
wvdploeg
Replies: 4
Views: 7880
|
Forum: General Posted: Sun Sep 07, 2003 9:08 pm Subject: Best way to implement smarty on existing PHP/MySQL site |
Guess the best way is to install it all on a local computer, not on your life site. The secondbest way is to start experimenting in some subdirectory of the 'life site'. |
Topic: no tpl file, just 1 php file |
wvdploeg
Replies: 8
Views: 10970
|
Forum: General Posted: Sun Sep 07, 2003 9:05 pm Subject: Re: no tpl file, just 1 php file |
Just one question. Why <b>must</b> the header go through smarty ?
What 'problem' do you want to solve in the header, you can't solve by PHP or SSI ? |
Topic: How To Force a Recompile |
wvdploeg
Replies: 3
Views: 8048
|
Forum: General Posted: Tue Sep 02, 2003 5:27 pm Subject: Re: How To Force a Recompile |
I am running the tikiwiki CMS (good poo!), which uses smarty.
I have changed a template and although I read here that recompilation into templates_c is automatic, I am not gettin an auto recomp.
... |
Topic: Can I ask some newbie advice please? Thanks...! |
wvdploeg
Replies: 7
Views: 10460
|
Forum: General Posted: Tue Sep 02, 2003 5:14 pm Subject: Can I ask some newbie advice please? Thanks...! |
sorry, but I totally disagree with you, wvdploeg.
Anyway, DSUK is helped by your answer (nice to see how it works... question has been ignored for over a week by everybody, one reaction 'smarty is ... |
Topic: Can I ask some newbie advice please? Thanks...! |
wvdploeg
Replies: 7
Views: 10460
|
Forum: General Posted: Mon Sep 01, 2003 5:32 pm Subject: Re: Can I ask some newbie advice please? Thanks...! |
Well, you say by yourself the way you describe it is over simplified, so maybe you did simplify it to much, but as you put it, I would not think of Smarty as a solution. |
Topic: can I do $smarty->assign(); from within php functions |
wvdploeg
Replies: 4
Views: 7147
|
Forum: General Posted: Mon Sep 01, 2003 5:24 pm Subject: Re: error I am getting |
global $tpl;
$tpl = new Template_API();I did the global $tpl
but it still didnt work...
Fatal error: Call to a member function on a non-object in C:\FoxServ\www\TRAINER_DIRECTORY\formcheck.inc.php ... |
Topic: Output filters and nested templates |
wvdploeg
Replies: 3
Views: 5696
|
Forum: General Posted: Fri Aug 29, 2003 8:30 pm Subject: Output filters and nested templates |
When I use nested templates (templates included in another template), is it possible to run an output filter (or a pre- or postfilter) on only one of the included templates ? |
|