The user loads some material that uses a shared resource. The resources are not working on an iPad.
The system automatically creates a folder which links to the shared content in the zip file. Note the limitations when creating a zip file.
There are limitations when creating a zip file:
- Content creators should use a standard structure to put the materials into the correct folder. The contents of the zip file are unzipped directly into a folder with the same name as the zip file name.
- The zip file should not have a folder inside of it with the same name as the zip file.
- The shared resources can be referenced at this path: ./shared/<folder structure inside the zip>.
- Zip files for content that refer to a shared resource key message should not have a 'shared' folder inside of them. It is overwritten by the symlink to the shared resource.
To correct this problem, compress the folder directly.
The shared resource is: cholecap_shared_resources.zip\css
The shared resource zip file and its contents are shown below:
This is an example of how to reference the shared resource from a code editor:
<link href="./shared/css/base.css" rel="stylesheet" type="text/css">
CRM documentation: Using Shared Resources