Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 11:41 am EDT

Geeklog Forums

input form question


Status: offline

etam

Forum User
Newbie
Registered: 07/17/02
Posts: 9
Hi, I have been trying to get a fillable form to work in Geeklog. The form works outside of Geeklog and will input into the DB. I would like to get it to work like the 'new user' link. Which files do I need to change? Thanks Ed
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 08/12/02
Posts: 300
I would just wrap Geeklog around your code. If it is strictly php then use this: <?php require_once('lib-common.php'); $display = COM_siteHeader('none'); // use 'menu' if you want the left blocks // Put your php code here and add everything to the $display variable you want displayed // $display .= COM_siteFooter(no); // use yes if you want the right blocks echo $display; ?> If you have mixed html and php then use this: <?php require_once('lib-common.php'); echo COM_siteHeader('none'); // use 'menu' if you want the left blocks ?> // Put your html or mixed html/php code here // <?php echo COM_siteFooter(no); // use yes if you want the right blocks echo $display; ?> You can get these templates from my site The Pigstye. Tom
 Quote

Status: offline

etam

Forum User
Newbie
Registered: 07/17/02
Posts: 9
I'm a little lost. Am i just modifing "registrationform.thtml" ?
 Quote

All times are EDT. The time is now 11:41 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content