Realsmart Help

โ† Realsmart Help

Smart Attendance

Show logged-in users their attendance record as a doughnut chart on your school website.


Overview

Smart Attendance displays a visual attendance chart for the currently logged-in user. Data is fetched from the SmartLogin API when the page loads, so it always reflects the latest attendance information from your school's systems.

Add the shortcode to a pupil dashboard or parent portal page.


Getting Set Up

No admin configuration is needed.

  1. Add [show_user_attendance] to a page accessible to logged-in users.
  2. Publish and test while logged in.

Features

Shortcode Description
[show_user_attendance] Doughnut chart showing the logged-in user's attendance

Requirements: User must be logged in through school SSO.


Tips & Best Practice

  • Place on pages visible only to logged-in pupils or parents.
  • The chart updates each time the page is loaded โ€” no caching of attendance data on the website.

Troubleshooting

The attendance chart is empty

Why it happens: The user may not be logged in, or their SSO token may be invalid.

How to fix it:

  1. Confirm the user is logged in through school SSO.
  2. Log out and back in to refresh the token.

Last updated: 9 July 2026 ยท Plugin version: 1.0.0

Was this helpful?