Help popup
From Sohowiki
(Difference between revisions)
(→Notes) |
(→How to create a help popup within you plugin's php code) |
||
Line 3: | Line 3: | ||
==How to create a help popup within you plugin's php code== | ==How to create a help popup within you plugin's php code== | ||
− | + | ===Basic Syntax=== | |
+ | help_popup("popup-id-name", "title text", $htmlcontent [,additional inline css]); | ||
==Notes== | ==Notes== | ||
*'''You can use it anywhere.''' The help_popup() function is included in shared_functions.php and is therefore available globally in both the Soholaunch admin tool window as well as on the client (website) side. | *'''You can use it anywhere.''' The help_popup() function is included in shared_functions.php and is therefore available globally in both the Soholaunch admin tool window as well as on the client (website) side. |
Revision as of 15:40, 14 July 2008
Within the Soholaunch product architecture there is a php function called help_popup. It standardizes the creation of popup layers that can be used to include help text or even config options.
How to create a help popup within you plugin's php code
Basic Syntax
help_popup("popup-id-name", "title text", $htmlcontent [,additional inline css]);
Notes
- You can use it anywhere. The help_popup() function is included in shared_functions.php and is therefore available globally in both the Soholaunch admin tool window as well as on the client (website) side.