2010-03-06, 07:12:28
On line 101 you’ll find the following:
Change these to the following:
I didn’t test it but it shouldn’t break the contact form in any way and should also fix your problem with $thisfile.
Code:
// Run the plugin in the theme
function sc_show() {
add_action('content-top', 'sc_mail', array($thisfile, 'Simple Contact'));
add_action('content-bottom', 'sc_form', array($thisfile, 'Simple Contact'));
}
Code:
// Run the plugin in the theme
add_action('content-top', 'sc_mail', array($thisfile, 'Simple Contact'));
add_action('content-bottom', 'sc_form', array($thisfile, 'Simple Contact'));
I didn’t test it but it shouldn’t break the contact form in any way and should also fix your problem with $thisfile.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!