Say what ![]()
Insert the following code anywhere in the site:
<a href="javascript:openHelpWindow(1)"><img alt="" border="0" src="/sites/default/files/icon_mini_question.gif" /></a>
... and a
button appears. Clicking on that button will bring up a pop-up box containing the help topic for the number enclosed in the parenthesis. In the code above, it brings up topic #1. The button right above, brings up help topic 2.
If you are UberAdmin, the pop-up box has a section along the top where you can directly edit the summary and detail for the help topic. Sorry, it is raw html. At the bottom of the pop-up box, the "formatted" text shows for the help topic. This is what everyone else sees.
If you are not UberAdmin, only the formatted text shows.
If you want to edit an existing help topic, simply log in as UberAdmin, click the button and edit away.
If you want to place a new help topic anywhere in the system, simply insert the code above, using a unique help number. If the number does not exist in the system, it will be automatically created.
Try to use the next sequential number up from the last used number, this way, we won't run out of numbers. Check the server statistics (/node/166) page to see the last used help id number, and use the next one up.
If, for example, id numbers 1, 2 and 3 exist in the soccer_club_help table, and you create a help topic with id = 10, the system will now have 1,2,3 and 10. The /node/166 will show 10 as the last used number. So, 4 to 9 are not set, but can be used at any time.
Maybe in v.2.0 of this site, the server stats code will be re-written to show the "next available id number" as the first non-set integer value > 1
With some creative CSS, this pop-up help box might actually look good!


