The guide states the things to note, like Admin Access, Custom Code, Notes, APIs, etc.
Admin Rights
Note: Most of the template content is directly pulled from the database. Please do not delete an entire Data Thing unless you are sure of what you are doing. However, feel free to delete any template content you prefer.
For security purposes, this template has limited rights for potential customers. Meaning, you will not be able to use the admin features at its fullest until you purchase the template and enable admin rights.
If you want to make someone an admin, you'll have to change the field
userAdmin
within the User datatype to yes. Note: Remember to hit the SAVE button.
After you do that, this user will have the ability to modify data inside the dashboard page. If a non-admin user accesses the admin page, he will not be able to do any manipulations because of the conditions on edit/delete actions, when the
userAdmin
field value is set no for this particular user.An additional limitation is set on the
dashboard
page via Variables datatype admin
field. If a demo user with admin rights gets to this page, he will not be able to access the page or do any manipulations because of the conditions on edit/delete actions.Under the Data tab click the icon in the Editor, go to the Data Type
Variables
and look for the admin
field with the Yes/No boolean type. To enable the editing rights set the value to
yes
, so the admin user will be able to manage the platform, deleting students, instructors and courses on the dashboard
page.Note: Remember to hit the SAVE button.
The
dashboard
page has buttons with admin restriction conditions in the workflow which are locked when admin
is no.If you have already purchased the template, you can simply delete the following Conditional of these elements in order to gain full access to dashboard features:
- Find other variants of workflows to remove the condition "Search for Variables: first item's
Access_rights
is "no" if you don't need them.
- Done. After these changes, you can check the respective actions on page.
Congrats: You have successfully granted admin rights. Now you can use all the admin page and its features as an admin user.
Also, delete the warning group that says to check the template's documentation:
- Locate the container “Group wrapper" on
dashboard
page and delete it:
Custom Code
On certain pages, there are some HTML elements used for some solutions that are not available by default.
You can find these codes on the following pages:
dashboard
page - HTML heights - keeps the hero section height at 100%.header reusable element - HTML A - keeps the hero section height at 100%.
Feel free to customize the styles, but please note that changing the code may break the described functionality. Strong CSS/Javascript and Bubble skills recommended.
For all things Bubble check: https://manual.bubble.io/.
For CSS/Javascript check: https://www.w3schools.com/.
Hidden Design Elements
Tip: Initially, on some pages, design elements in Bubble Editor might be hidden.
Here is an example of how to unhide 👀 them:
Plugins
In this section, we describe additional plugins used in templates on pages for different purposes.
ZQ Fuzzy Search & Autocomplete plugin
Tip: The
search
and dashboard
pages have ZQ Fuzzy Search & Autocomplete plugin as an element on the page, which allows searching for not-perfect matches accounting for typos and close matches.Example of used element:
Embedded Notes in Bubble Editor
This template comes with explicit Notes for Database fields, Option sets and their fields, and Privacy rules, which will guide you with the modification process.
In order to preview a Note of any data type or field, click on the 💬 icon.