At sponsor.tpl we can present multilevel sponsorship variables as: {SPONSORITEM1} ; {SPONSORITEM2} ; {SPONSORCHARGE1} ; {SPONSORCHARGE2} ;
I want to present them at edit.tpl but :
{SPONSORITEM} works but presenting all the items. {SPONSORITEM1} does not work. {SETTINGSPONSORITEM1} does not work. (this way is indicated at the manual)
{SETTINGNAME} means the actual setting name, not prepending {SETTING to anything. I don't know how I can make that clearer... will change to { + the name of the setting + }.
Anyhow the split sponsor values aren't actual settings, they're special template variables enabled on a per-page basis. I'll see about making them global in 4.1.12.
Comments on Multilevel Sponsorship Variables
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Paul,
At sponsor.tpl we can present multilevel sponsorship variables as:
{SPONSORITEM1} ; {SPONSORITEM2} ; {SPONSORCHARGE1} ; {SPONSORCHARGE2} ;
I want to present them at edit.tpl but :
{SPONSORITEM} works but presenting all the items.
{SPONSORITEM1} does not work.
{SETTINGSPONSORITEM1} does not work. (this way is indicated at the manual)
thanks
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Where does the manual say that?
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
At template variables:
" All settings work globally by using {SETTINGNAME}."
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
{SETTINGNAME} means the actual setting name, not prepending {SETTING to anything. I don't know how I can make that clearer... will change to { + the name of the setting + }.
Anyhow the split sponsor values aren't actual settings, they're special template variables enabled on a per-page basis. I'll see about making them global in 4.1.12.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Okay, the way to do it now will be this: {SPONSORITEM[1]}
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Paul,
I'm trying to present the following at edit.tpl but without effect, can you please take a look at this:
SPONSORITEM1: {SPONSORITEM[1]} - SPONSORCHARGE1: {SPONSORCHARGE[1]}
SPONSORITEM2: {SPONSORITEM[2]} - SPONSORCHARGE2: {SPONSORCHARGE[2]}
SPONSORITEM3: {SPONSORITEM[3]} - SPONSORCHARGE3: {SPONSORCHARGE[3]}
SPONSORITEM4: {SPONSORITEM[4]} - SPONSORCHARGE4: {SPONSORCHARGE[4]}
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Fixed.
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Paul,
Simmilar as we have discussed at this thread for links but now for membergroups,
Is it a way to present the member group sponsor charge value for each group at editmembers.tpl as:
SPONSORUGCHARGE[1] ; SPONSORUGCHARGE[2] ?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Doesn't appear to be, so I'll add {SPONSORUGCHARGE[x]}.