Welcome to Geeklog, Anonymous Monday, February 26 2024 @ 02:57 am EST

Geeklog Forums

FAQ Manager: Calling Function


I have installed the FAQ Manager. Because I want the FAQ on the main page, I made a php block - however what do I do to call the function. YES I have read the documentation. YES I have looked on the internet for an answer elsewhere.

The block wants something sort (this whole thing doesn't fit??) and it has to start with phpblock_. I am confused.

* Returns the items for this plugin that should appear on the main menu
function plugin_getmenuitems_faqman() {
global $_CONF,$LANG_FAQ;

$menuitems[$LANG_FAQ['headerlabel']] ="{$_CONF['site_url']}/faqman/index.php";
return $menuitems;

* returns the administrative option for this plugin
* *


Status: offline


Site Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You'll have to implement your own function for a PHP block.

See the FAQ: What are the different block types for?

bye, Dirk

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