Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.
MIT License
155
stars
30
forks
source link
Templates: convenience drop zone to upload files #95
When working with Templates, sometimes we need to simply upload an asset, like a logo, or hardcoded image. While we support the idea of having a File Upload field in raytha attached to content types, there's no convenient way to upload a static asset and have it hosted from Raytha.
Obviously the developer can easily host the static asset elsewhere and just link in, but I think it'd be a nice-to-have to just drop the file into Raytha's template engine and get a URL.
I think ideally, we turn the template editor into a drop zone. If that is too burdensome or difficult, we can add a dropzone to the right sidebar:
When working with Templates, sometimes we need to simply upload an asset, like a logo, or hardcoded image. While we support the idea of having a File Upload field in raytha attached to content types, there's no convenient way to upload a static asset and have it hosted from Raytha.
Obviously the developer can easily host the static asset elsewhere and just link in, but I think it'd be a nice-to-have to just drop the file into Raytha's template engine and get a URL.
I think ideally, we turn the template editor into a drop zone. If that is too burdensome or difficult, we can add a dropzone to the right sidebar: