Guest Posted July 28, 2006 Share 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 Link to comment Share on other sites More sharing options...
Guest Posted July 28, 2006 Share Posted July 28, 2006 Using this, the install button does not work: 'tep_cfg_textarea(', Quote Link to comment Share on other sites More sharing options...
Guest Posted July 28, 2006 Share 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 Link to comment Share on other sites More sharing options...
jaderrosa Posted December 28, 2008 Share Posted December 28, 2008 Thank you !! http://www.aminhaloja.com.br Quote Link to comment Share on other sites More sharing options...
jaderrosa Posted January 10, 2009 Share Posted January 10, 2009 works well but the database is not updated Quote Link to comment Share on other sites More sharing options...
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.