34 | | * The ''modulePage'' should provide HTML markup and ''moduleJS'' attach JavaScript handlers to set ADEI variables and, hence, control ADEI engine. The global variable ''adei'' should be used to access ADEI functionality. |
---|
35 | | * In certain cases the care on resizing should be taken. The following function registering callbacks can be useful: ''adei.popup.RegisterOnCallback'', ''adei.popup.RegisterOffCallback'', ''adei.popup.RegisterReHeightCallback'', ''adei.popup.RegisterReWidthCallback'', ''control_modules''.RegisterCallback'', and some others. For examples, take a look on ''virtual.php'' and ''source.php'' in the modules folder. |
---|
36 | | * Finally, the module should be enabled. Just add the control name into the $CONTROLS variable in the configuration. The '''false''' value in array will enforce starting of a new line of controls. |
---|
| 34 | * The ''modulePage'' should provide HTML markup and ''moduleJS'' attach !JavaScript handlers to set ADEI variables and, hence, control ADEI engine. The global variable ''adei'' should be used to access ADEI functionality. |
---|
| 35 | * In certain cases the care on resizing should be taken. The following function registering callbacks can be useful: ''adei.popup.!RegisterOnCallback'', ''adei.popup.!RegisterOffCallback'', ''adei.popup.!RegisterReHeightCallback'', ''adei.popup.!RegisterReWidthCallback'', ''control_modules.!RegisterCallback'', and some others. For examples, take a look on ''virtual.php'' and ''source.php'' in the modules folder. |
---|
| 36 | * Finally, the module should be enabled. Just add the control name into the $CONTROLS variable in the configuration. The ''false'' value in array will enforce starting of a new line of controls. |
---|
40 | | * ''adei.SetCustomProperties'' will adjust ADEI variables |
---|
41 | | * ''adei.OpenControl'' will open specified control in the sidebar |
---|
42 | | * ''adei.SwitchPopup'' will open/close the specified popup |
---|
43 | | * ''adei.OpenModule'' will open the specified page |
---|
44 | | * ''adei.SetStatus'' will set an informational message in the ADEI statusbar |
---|
45 | | * ''adei.ReportError'' will set error message in the ADEI statusbar |
---|
46 | | * ''adei.SetSuccessStatus'' will set short living confirmation message in the ADEI status bar |
---|
47 | | * ''adei.ProposeStatus'' will set an informational message in the ADEI statusbar if nothing important is currently on display |
---|
48 | | * ''adei.SetExtraStatus'' will extend the current statusbar message |
---|
49 | | * ''adei.UpdateDIV'' will update content of the specified DIV using supplied service |
---|
50 | | * ''adei.Search'' will perform search and open results in the searchtab |
---|
| 40 | * ''adei.!SetCustomProperties'' will adjust ADEI variables |
---|
| 41 | * ''adei.!OpenControl'' will open specified control in the sidebar |
---|
| 42 | * ''adei.!SwitchPopup'' will open/close the specified popup |
---|
| 43 | * ''adei.!OpenModule'' will open the specified page |
---|
| 44 | * ''adei.!SetStatus'' will set an informational message in the ADEI statusbar |
---|
| 45 | * ''adei.!ReportError'' will set error message in the ADEI statusbar |
---|
| 46 | * ''adei.!SetSuccessStatus'' will set short living confirmation message in the ADEI status bar |
---|
| 47 | * ''adei.!ProposeStatus'' will set an informational message in the ADEI statusbar if nothing important is currently on display |
---|
| 48 | * ''adei.!SetExtraStatus'' will extend the current statusbar message |
---|
| 49 | * ''adei.!UpdateDIV'' will update content of the specified DIV using supplied service |
---|
| 50 | * ''adei.!Search'' will perform search and open results in the searchtab |
---|
56 | | * The simplest way to make part of control appear depending on the current page, is to define the css class for considered elements and, then, show/hide it using 'cssShowClass', 'cssHideClass' functions. Unfortunately, not all HTML objects can be easily hidden in all browsers (yes, again mainly IE is the problem). It is safer to hide div's if possible. |
---|
57 | | |
---|
58 | | * '' |
---|
59 | | * The complete removal of controls is not supported in current version of ADEI. |
---|
| 56 | * The simplest way to make part of control appear depending on the current page, is to define the css class for considered elements and, then, show/hide it using ''cssShowClass'', ''cssHideClass'' functions. Unfortunately, not all HTML objects can be easily hidden in all browsers (yes, again mainly the IE is a problem). It is safer to hide div's if possible. |
---|
| 57 | * The complete removal of controls is not supported in current version of ADEI. Implementation idea and/or patch are welcome ;) |