...
Go to Administration and select ‘Zones’; then select ‘Tables’ under Core.
Add a table (Eg. `banner`). Be sure to implement the table after adding it.
Add `image' field (use data type = single file - image) under the table just added. Be sure to implement the field after saving it.
Go to ‘Records’ (in Administration), select ‘Core’ for the Zone and ‘Banner’ for the table (this will be the table name added in step 2)
Upload the new banner image
Records
Select ‘Core’ under Tables header, and ‘Logo’ under the Tables header
Click on Add
Set the purpose to ‘Banner’ and upload the file.
Click on Save
Click on ‘View’ to view the newly uploaded image, and copy the URL in the browser when viewing the image.
Go to ‘Settings’ in Administration, then modify ‘application/banner-image-path’
Paste the path URL from step 6 (starting with /api)
In Administration, click on ‘Access Control’
Click on ‘Create’, then select ‘Add Rule by Model’
If you named the table ‘banner’ in step 2, then you will use ‘core/c-banner’ as the model name.
You will select the ‘Public’ Role and Method ‘GET’ (see example below)
Enter * in the file field, since the access is for a file.
Click on ‘Save’. You should now see the new banner image on the index and dashboard pages
...
and update or save the path
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | ||
---|---|---|
| ||
|