Description 📝 To Do: Redirect on Click of Control Card
Description:
Implement functionality so that when a user clicks on a control card, they are redirected to the specific page related to that card.
Steps:
Create the page that the control card will redirect to.
Inside the Content folder, create an include file for the new page.
The include file should follow the naming convention: TWS-(FILE NAME FIRST LETTERS IN CAPITAL) .
Example: If the page is for "Dashboard", the include file name should be TWS-D.
Use the include in the newly created page.
Add an event listener for the click action on each control card.
Ensure each card has a unique URL associated with it (can be dynamically set or hardcoded).
Use JavaScript to handle the redirection logic when the user clicks on a control card.
Test to ensure the redirection works as expected.
Additional Notes:
Ensure the URL for the redirection is dynamically fetched or passed to the event listener based on the control card clicked.
Apply proper validation and error handling to ensure smooth redirection.
Keep consistent naming conventions and organization of files to maintain structure.
File is inside
Assets/Accounts/Contents
TWC-DCC.php
Reactions are currently unavailable
You can’t perform that action at this time.
📝 To Do: Redirect on Click of Control Card
Description:
Steps:
Contentfolder, create anincludefile for the new page.includefile should follow the naming convention:TWS-(FILE NAME FIRST LETTERS IN CAPITAL).TWS-D.Additional Notes:
File is inside
Assets/Accounts/ContentsTWC-DCC.php