Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 06:40 am EDT

Geeklog Forums

Need help! using php block


newbie.my

Anonymous
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

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

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