Welcome to Geeklog, Anonymous Friday, March 01 2024 @ 07:43 pm EST

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.

Status: offline


Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France

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.

I'm available to customise your themes or plugins for your Geeklog CMS

All times are EST. The time is now 07:43 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