TracCloud: Custom Widgets: Difference between revisions
From Redrock Wiki
Created page with "{{WIP}} {{TracCloudGuideTabs}} <div class="tcWidgetPage"> <div class="category"> {{TracCloudModulesTOC}} </div> <div style='text-align: center;'> <big><b> ==Custom Widgets== </big></b></div> Description.<br><br> 850px<br><br> <syntaxhighlight lang="html"> <iframe src="https://traccloud.go-redrock.com/example/trac/ajax.php?proc=drawCustomWidget&widgetNo=1"> </iframe> </syntaxhighlight> </div> <!--Category:TracCloud Manual-->" |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{TracCloudGuideTabs}} | {{TracCloudGuideTabs}} | ||
<div class="tcWidgetPage"> | <div class="tcWidgetPage"> | ||
{{NoTier}} | |||
<div class="category"> | <div class="category"> | ||
{{TracCloudModulesTOC}} | {{TracCloudModulesTOC}} | ||
</div> | </div> | ||
<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> | |||
[[File:8753305.png|850px]]<br><br> | [[File:8753305.png|850px]]<br><br> | ||
* <b>Custom Widget Width</b> | |||
::Choose whether the widget is half or full width on the dashboard. If set to full width, it's recommended to also set your [[TracCloud:_Welcome_Messages|welcome message]] to full width to match. | |||
::<i>Half width</i> | |||
::[[File:2496284.png|700px]] | |||
::<i>Full width</i> | |||
::[[File:5003336.png|700px]]<br><br> | |||
<syntaxhighlight lang="html"> | * <b>Target</b> | ||
::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. | |||
::<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"> | ||
</iframe> | </iframe> | ||
</syntaxhighlight> | </syntaxhighlight><bR> | ||
* <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> | |||
<big>Group Permissions</big> | |||
::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. | |||
::[[File:8533911.png|500px]] | |||
</div> | </div> | ||
<!--[[Category:TracCloud Manual]]--> | <!--[[Category:TracCloud Manual]]--> | ||
Latest revision as of 22:52, 23 September 2025
Additional Features
Custom Widgets
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.
- 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 the Trac System. 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.
- 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 and add the custom widget you want to share with them.

