Difference between revisions of "I Want To bar customisation"
From All n One's bxp software Wixi
Philip Lacey (talk | contribs) (Created page with "The I Want To bar provides a number of useful interface features for Business Express (BeX) users. For various operational reasons there may be reasons to turn off some / al...") |
Philip Lacey (talk | contribs) |
||
| Line 35: | Line 35: | ||
<syntaxhighlight lang="html4strict"> | <syntaxhighlight lang="html4strict"> | ||
| − | <script> | + | <script type="text/javascript" language="javascript"> |
fn_General_IWT_Main_ShowHide ( true, true, true, true, true ); | fn_General_IWT_Main_ShowHide ( true, true, true, true, true ); | ||
</script> | </script> | ||
| − | <script> | + | |
| − | fn_General_IWT_Item_ShowHide ( | + | </syntaxhighlight> |
| + | |||
| + | or | ||
| + | |||
| + | <syntaxhighlight lang="html4strict"> | ||
| + | |||
| + | <script type="text/javascript" language="javascript"> | ||
| + | fn_General_IWT_Item_ShowHide ( true, true, true, true, true, true, true, true, true); | ||
</script> | </script> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| + | |||
| + | |||
| + | Changing the appropriate variable to false will hide the item. | ||
| + | |||
[[Category:JavaScript]] | [[Category:JavaScript]] | ||
[[Category:Module Specific:System Access Management]] | [[Category:Module Specific:System Access Management]] | ||
Revision as of 14:03, 18 December 2014
The I Want To bar provides a number of useful interface features for bxp software (bxp) users.
For various operational reasons there may be reasons to turn off some / all the elements.
Whilst the engine for the pages will still be accessible IF the user knows the URL, (e.g. stored in the favourites) however the link can be removed.
Control of the I Want To bar is done through JavaScript from its own custom library available from https://ww3.allnone.ie/library/javascript/fn_javascript_iwantto.js
The two functions in the library are
- function fn_General_IWT_Main_ShowHide ( blShow_All, blShow_TDReminders, blShow_TDChange, blShow_TDHelp, blShow_TDeCourse )
- function fn_General_IWT_Item_ShowHide ( blShow_View, blShow_Add, blShow_MyDetails, blShow_Password, blShow_Wixi, blShow_Suggestion, blShow_HelpMe, blShow_Change, blShow_eCourse )
The first function allows the blocks to be quickly disabled.
The second function allows individual buttons to be disabled.
To make the effect happen on all pages in the system
Main Menu > System Access Management > System Management > System Settings > Page Footer
In this if you put
<script type="text/javascript" language="javascript">
fn_General_IWT_Main_ShowHide ( true, true, true, true, true );
</script>or
<script type="text/javascript" language="javascript">
fn_General_IWT_Item_ShowHide ( true, true, true, true, true, true, true, true, true);
</script>
Changing the appropriate variable to false will hide the item.