TracCloud: Custom Widgets: Difference between revisions

From Redrock Wiki

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
<div class="tcWidgetPage">
<div class="tcWidgetPage">
{{NoTier}}
{{NoTier}}
<div class="category">
<div class="categoryDynamic">
{{TracCloudModulesTOC}}
{{TracCloudModulesTOC}}
</div>
</div>
<div class="pageTitle">Custom Widgets</div>
<div class="pageTitle">Custom Widgets</div>


Custom widgets can be used to add additional messaging to the dashboard of your Trac System for various user types. Additionally, these widgets can be made accessible anonymously for the purpose of being embedded in other websites as an iframe.<br><br>
Custom widgets can be used to add additional messaging to the TracCloud dashboard for various user types. Additionally, these widgets can be made accessible anonymously for the purpose of being embedded in other websites as an iframe.


[[File:8753305.png|850px]]<br><br>
[[File:8753305.png|850px]]<br><br>
Line 20: Line 20:
* <b>Target</b>
* <b>Target</b>
::Choose which user types can view this custom widget.
::Choose which user types can view this custom widget.
::If "Anonymous Web" is selected, it will be possible to embed the contents of this widget in an iframe outside of the Trac System. See example below.
::If "Anonymous Web" is selected, it will be possible to embed the contents of this widget in an iframe outside of TracCloud. See example below.
::<syntaxhighlight lang="html">
::<syntaxhighlight lang="html">
<iframe src="https://traccloud.go-redrock.com/example/trac/ajax.php?proc=drawCustomWidget&widgetNo=1">
<iframe src="https://traccloud.go-redrock.com/example/trac/ajax.php?proc=drawCustomWidget&widgetNo=1">
Line 27: Line 27:


* <b>Widget Content</b>
* <b>Widget Content</b>
::Enter the contents of your custom widget message here. You can optionally edit the HTML directly by clicking on <i>Tools > Source Code</i>.<br><br>
::Enter the contents of your custom widget message here. You can optionally edit the HTML directly by clicking on Tools Source Code.<br><br>


<big>Group Permissions</big>
===Group Permissions===


::In order to view custom widgets, you must provide that group access to it (with the exception of Student and Anonymous Web). Go to <i>Other > Other Options > Groups > [The group you want to modify] > Admin / Modules > Custom Widgets / Field Locations</i> and add the custom widget you want to share with them.
::In order to view custom widgets, you must provide that group access to it (with the exception of Student and Anonymous Web). Go to Other Other Options Groups [The group you want to modify] Admin / Modules Custom Widgets / Field Locations, then add the custom widget you want to share with them.


::[[File:8533911.png|500px]]
::[[File:8533911.png|500px]]


</div>
</div>
<!--[[Category:TracCloud Manual]]-->
[[Category:TracCloud Manual]]

Latest revision as of 23:53, 12 June 2026

Optional Add-on
Custom Widgets

Custom widgets can be used to add additional messaging to the TracCloud dashboard for various user types. Additionally, these widgets can be made accessible anonymously for the purpose of being embedded in other websites as an iframe.



  • Custom Widget Width
Choose whether the widget is half or full width on the dashboard. If set to full width, it's recommended to also set your welcome message to full width to match.
Half width
Full width


  • Target
Choose which user types can view this custom widget.
If "Anonymous Web" is selected, it will be possible to embed the contents of this widget in an iframe outside of TracCloud. See example below.
<iframe src="https://traccloud.go-redrock.com/example/trac/ajax.php?proc=drawCustomWidget&widgetNo=1">
</iframe>

  • Widget Content
Enter the contents of your custom widget message here. You can optionally edit the HTML directly by clicking on Tools ➜ Source Code.

Group Permissions

In order to view custom widgets, you must provide that group access to it (with the exception of Student and Anonymous Web). Go to Other ➜ Other Options ➜ Groups ➜ [The group you want to modify] ➜ Admin / Modules ➜ Custom Widgets / Field Locations, then add the custom widget you want to share with them.