Difference between revisions of "I Want To bar customisation"

From All n One's bxp software Wixi

Jump to: navigation, search
(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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
  
The two functions in the library are  
+
The two functions in the library are Main and Item.
  
 
* function fn_General_IWT_Main_ShowHide ( blShow_All, blShow_TDReminders, blShow_TDChange, blShow_TDHelp, blShow_TDeCourse )
 
* function fn_General_IWT_Main_ShowHide ( blShow_All, blShow_TDReminders, blShow_TDChange, blShow_TDHelp, blShow_TDeCourse )
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 ( false, true, false, true, false, false, false, false, false );
+
</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>
  
Line 46: Line 53:
  
  
[[Category:JavaScript]]
+
Changing the appropriate variable to false will hide the item.
 +
 
 +
 
 +
 
 +
[[Category:Topic:JavaScript]]
 
[[Category:Module Specific:System Access Management]]
 
[[Category:Module Specific:System Access Management]]

Latest revision as of 20:55, 24 July 2017

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 Main and Item.

  • 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.