Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Forms Management
#1
If you would modify the \admin\inc\theme_functions.php
from:
Code:
function set_contact_page() {
  global $EMAIL;
  $style='<style>.pot {display:none;}</style>';
  echo $style;
  include('contactform.php');
}
to
Code:
function set_contact_page($page = 'contactform.php') {
  global $EMAIL;
  $style='<style>.pot {display:none;}</style>';
  echo $style;
  include_once($page);
}
We could then specify our own form back-end (saved in /data/other for example) without having to worry about updates wiping out our new form backend code by calling set_contact_page('../../data/myform.php'); in our template.
Reply
#2
I like this idea. I will add it to the SVN now for the next release. Just to be completely honest though, I think we will be splitting out the contact form into a plugin soon. This should allow for others to make/improve upon the contact form. Right now as it sits, it is functional, but doesn't have the necessary features and SPAM protection like a good contact form should.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
yep - I alluded to this issue here: http://get-simple.info/forum/viewtopic.p...2282#p2282 The core GS stuff needs to sit separate from user generated/uploaded content.
Reply




Users browsing this thread: 1 Guest(s)