I have problem.... I write own sms gateway and now i need show in cgi-bin/Templates/payment_buy_with.html value user ID.
But if I use <TMPL_VAR usr_id> nothing is displayed.
4 posts • Page 1 of 1
Last edited by creco on Sep 19, 2011 7:21 pm, edited 1 time in total.
nyan wrote:Figure out in what sub payment_buy_with.html is called in index.cgi (ctrl+f)
in the print template , add
'usr_id' => $ses->getuserid,
I'm not 100% sure if it's $ses->getuserid , search the script for $ses and you'll find the correct variable.
On what line I insert 'usr_id' => $ses->getuserid, ???
In template my_account.html displeyed value <TMPL_VAR usr_id> correctly.
Why will not appear in payment_buy_with.html?
Who is online
Users browsing this forum: No registered users and 1 guest