login | register
Fri 21 of Nov, 2008 (11:48 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheHistoryPrint

setHelpInfo

TikiSystem->setHelpInfo Documentation

Created by: btodoroff, Last modification: Thu 13 of Nov, 2008 (18:18 UTC) by xing
icon This documentation is considered out of date or contains information that is not considered relevant to bitweaver.
It was scheduled for removal on 13-November-2008
Please update the contents of this page and remove this note or it will be removed in due course.


setHelpInfo is used to set the contextual help informaiton for the page you are about to display. It should be called just before the display function. It looks something like this:

$gTikiSystem->setHelpInfo('Features','Settings','Help with the features settings');

The three arguments are:

package: The package that help is provided for
context: The context within the package that the help is for
description: A discription of what type of help the link is for.

The system will use these paramaters to setup a Smarty variable called TikiHelpInfo with and associative array with the following members:

URL: The url where the help page can be found
Desc: The text of the description of the help that the link is for.

Comments