Subject: Need help! using php block

Posted on: 08/03/2012 02:12am
By: 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.

Re: Need help! using php block

Posted on: 08/03/2012 08:28am
By: ::Ben

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

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=93995