Customization of DashBoard
Administrators can customize Dashboard of their PayPlans by addin additional information to it.In order to do this, it is required to create a dashboard widget app from backend.
Note: First create apps(which support widget creation) for those, whose widget you want to show.
To create a dashboard widget app,you need to follow the following steps.
Step 1:- Go to Joomla Backend->Components->PayPlans->App. Click on the "new" Button which appear in the toolbar.
Step 2:- A pop-up will appear as shown in the below diagram. Find the Dashboard Widget option there and click on it.
Step 3:-After selecting the dashboard option,another pop-up will be shown. Just click on the select button.
Step 4:- Fill the following fields
Under the Details section
- Name: It shows name of the app(#1 in the below diagram).
- Published: It indicates the status of the app (published or not).
- Apply to all Plans: Select yes, if you want this widget to be core means you want to show the widget irrespective of the plan selected. Else set it to no. and set the selected plan in "Apply On Selected Plans" input box(#2 in the below diagram).
Note:- It should always be used as core app for its proper working.
5. Description: It shows the description of the app. The administrator can edit it too.
Under Parameter Section
- Widget App: Select the App whose widget you want to show.(Those app will appear whose instance is already created)(#3 in below diagram)
- Title: Give a title to it(optonal)(#4 in the below diagram)
- Widget Position: Set the position of the widget where you want to display the Widget(You can also edit the position. #5 in the below diagram).
- Widget Class Suffix: You can customize widget CSS by adding class name here.
After following the above steps, dashboard widget app is successfully created. For instance, if an administrator create a User detail app then, it will be visible on front-end as: