The content store allows for courses in Programs and Compliance to be available for administrators sharing the same domain to be available to their students. If the content store makes programs available, other sites on the domain may request these programs and the content store owner has the ability to accept or reject these requests. Once the content store owners accept these requests, the requesting site will make a copy of all the course content with its activities and resources and will then be able to make any changes necessary including adding new enrolments.
To begin using the content store, the menu requires to be set up as displayed below with the English label, required links, appropriate role capability and icons entered into Menu Management.
English Label |
Link |
Content Store Requests |
/local/content_store/access_requests.php |
Content Store List |
/local/content_import/stores.php |
Content Program List |
/local/content_store/programs.php |
The minimum requirements for administrators to setup their menus is as follows:
Requester |
/local/content_import/stores.php |
Store |
/local/content_store/access_requests.php |
/local/content_store/programs.php |
Step 1. Select Site Administration from the menu.
Step 2. Select the Plugins tab
Step 3. Scroll down the page to Admin tools and select Manage
Step 4. Select the Add button to add a new token.
Step 5. Enter the following details for the token
Username/User id |
Enter the Username or User id of the person receiving the token |
Service |
Select the local_content_store service token from the list. |
IP Restriction |
Enter any IP Restrictions |
Valid until |
Enter the date that the token is valid till |
There is a limit to only one token per site for the service of local_content_store and the user must have the following permissions set to Allow: local/content_store:import_programs and webservice/rest:use
|
Step 6. Save the token using the Save changes button
Step 7. The token for the selected user will be displayed with the Service, IP restrictions and the date that the token is Valid till
Tokens may be deleted if the token is no longer required or new tokens may be added
The content store site should only have a token assigned to "local_content_store service" The requesting site should have a token assigned to "local_content_import" |
Step 8. Select Content Store List from the main menu
Step 9. The administrator will be able to view the sites that have made their programs available and to make a request for their courses to be available
The following information and actions may be performed in the content store
Name |
The name of the store |
Status |
Available, Access requested or Linked |
URL |
The url of the site |
Actions |
The actions that are available include: |
Cancel the request to a store |
|
![]() |
Request to link to the store |
Link to view the contents of the store |
Step 10. To request a store to make their programs available, select the request icon
![]() |
![]() |
Step 11. For the hosting site to accept a request from a store, select Content Store Requests from the main menu and select the Accept button
The requesting store will be listed displaying the following information
URL |
The url of the requester to the programs |
Status |
Request Pending/Request Accepted |
Date Requested |
The date the store requested the programs from the store |
Date Accepted |
The date the content store accepted the programs from the requesting store |
Accept/Reject |
Accept |
Step 12. The Content store has accepted the request and the requester will see the message “Linked” in their Store List
Step 13 If the Content store rejects the request, it needs to select the reject button and the request will disappear from the Content store list
Step 14. The requesting site will see the content become available again.