Guest Posted July 28, 2006 Posted July 28, 2006 tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Payment Address:', 'MODULE_PAYMENT_MONEYORDER_PAYADDRESS', '', 'Address to send payments to?', '6', '1', 'tep_cfg_textarea(\'\')', now());"); Trying to make a custom payment module, and need to have a textarea in the module on the admin control panel to add the payment address, but when I use the codes 'tep_cfg_textarea()', 'tep_cfg_textarea('')', 'tep_cfg_textarea(\'\')', They all return errors, whats the correct function, Anyone? Quote
Guest Posted July 28, 2006 Posted July 28, 2006 Using this, the install button does not work: 'tep_cfg_textarea(', Quote
Guest Posted July 28, 2006 Posted July 28, 2006 Sorted, reinstalled and repaired the database and entered in tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Payment Address:', 'MODULE_PAYMENT_MONEYORDER_PAYADDRESS', 'Send Payment to Name\nAddress\nCountry\nPhone', 'Address to send payments to?', '6', '0', 'tep_cfg_textarea(', now());"); Thank god it works :) Quote
jaderrosa Posted December 28, 2008 Posted December 28, 2008 Thank you !! http://www.aminhaloja.com.br Quote
jaderrosa Posted January 10, 2009 Posted January 10, 2009 works well but the database is not updated Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.