Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 07:25 pm EST

Geeklog Forums

Examples of forms wrapped in Geeklog?


Status: offline

tingo

Forum User
Chatty
Registered: 06/05/02
Posts: 57
Location:Oslo, Norway
curious
Does anybody have one or more examples of a form wrapped in Geeklog? I was thinking of a form where you put in details like name, address, etc, and when you click \"submit\" the form is mailed to a predefined mail address.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
If you already have the logic for your form, you only need a few lines of PHP to wrap it into Geeklog:
Text Formatted Code
require_once ('lib-common.php');

echo COM_siteHeader ('menu');
echo COM_startBlock ('Your headline here');

... your code here ...

echo COM_endBlock ();
echo COM_siteFooter ();
bye, Dirk
 Quote

All times are EST. The time is now 07:25 pm.

  • 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