Author |
Message |
Topic: {function being displayed as literal rather than grabbing.. |
guido
Replies: 1
Views: 4466
|
Forum: General Posted: Wed Aug 18, 2004 6:00 am Subject: {function being displayed as literal rather than grabbing.. |
I'm building a CMS function and I'd like to have pre-defined smarty plugin calls in the database field structure, but right now it's displaying the code as literal in smarty. Either i'm screwing it up ... |
Topic: calling a variable in a variable confusion |
guido
Replies: 1
Views: 4668
|
Forum: General Posted: Fri Nov 07, 2003 5:12 pm Subject: calling a variable in a variable confusion |
as I've done before I've answered my own question
on the tpl:
{ezroll front="session" middle=$whatpart back="_amount"}
in a new plugin:
function sm ... |
Topic: calling a variable in a variable confusion |
guido
Replies: 1
Views: 4668
|
Forum: General Posted: Thu Nov 06, 2003 8:59 pm Subject: calling a variable in a variable confusion |
I swear I've fixed this before, but right now I"m not sure how
I have a mysql table with fields like:
"buy_amount"
"buy_items"
"hold_amount"
"hold_items"
all in a table called "sessions"
... |
Topic: First/Last values for {foreach} |
guido
Replies: 4
Views: 68332
|
Forum: Feature Requests Posted: Tue Jul 15, 2003 1:05 am Subject: First/Last values for {foreach} |
messju, since this isn't documented anywhere ..
what values work for foreach? compared to section..
I tried rownum and it didn't work in the foreach.. a list would be great. |
Topic: 2 variables in a section/for else |
guido
Replies: 1
Views: 4162
|
Forum: General Posted: Fri Jul 11, 2003 7:25 pm Subject: 2 variables in a section/for else |
I'm sure there is an answer in the forums somewhere, but i can't find, although i'll leep looking..
but what i'm trying to do is dynamically, call the values in a key..
so the data would be disp ... |
Topic: access a plugin from another plugin? how? |
guido
Replies: 4
Views: 7312
|
Forum: General Posted: Thu Jun 19, 2003 6:47 pm Subject: access a plugin from another plugin? how? |
cool, that worked ..
just in case anybody else needs to do this i'll recap here:
# add in this line to include the other function:
# format is ('function name: modifier,functio ... |
Topic: access a plugin from another plugin? how? |
guido
Replies: 4
Views: 7312
|
Forum: General Posted: Thu Jun 19, 2003 5:32 pm Subject: access a plugin from another plugin? how? |
I have a plugin that i'm writing that I want to get input from another plugin but I can't seem to get it to work...
say the normal .tpl call would be
{functiona num='1234' data='abc' ... |
Topic: help with a dynamic section variable... |
guido
Replies: 1
Views: 9481
|
Forum: General Posted: Fri May 02, 2003 5:33 pm Subject: help with a dynamic section variable... |
i'll answer my own question in case anyone else runs into this:
{foreach item=page from=$pages}
<tr bgcolor="white">
{foreach key=key item=item from=$page}
... |
Topic: help with a dynamic section variable... |
guido
Replies: 1
Views: 9481
|
Forum: General Posted: Fri May 02, 2003 3:03 pm Subject: help with a dynamic section variable... |
I've run into a stumbling block that hopefully somebody can help with.
I'm unsure how to access a field in an array that is dynamic and not
pre-defined. (ie display it on the fly)
I have 2 sect ... |
|