Welcome to Geeklog, Anonymous Thursday, July 10 2025 @ 03:58 am EDT

Geeklog Forums

Need help! using php block


Hi and hello everyone.

I 'm new in geeklog and have some problems.My problems is that I want to build a new php form (which act as Contact Us page-user visited the website can give their information etc...etc.).I have already designed the forms and it works perfectly with its own database.

The questions:

1.How can i implemented the forms in the geeklog?
2.How can i show in the right side of the website?(similar to topics links in geeklog)

Any help would be very appreciated.Thanks.
 Quote

Status: offline
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Hi,

From the FAQ

PHP blocks let you call a PHP function and display that functions' output in the block. The PHP function should be added to the lib-custom.php (not lib-common.php). Please note that the function's name must start with phpblock_ and that it must return the content of the block instead of outputting it directly.


Ben
 Quote

All times are EDT. The time is now 03:58 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