Skip to content

Snippets #536

@keepexploring

Description

@keepexploring

Is your feature request related to a problem? Please describe.
I've currently used quite a bit of HTML sections within the CMS to achieve the formatting that I want on the pages. This is fine, but it is not very user friendly for the client.

Describe the solution you'd like
I'd like to add these as reusable snippets - where the client can edit the content of the snippet. I can see there is this file in the https://github.com/coderedcorp/coderedcms/blob/56a00d2f9ff2628867351c3a74f9d1b06d8bae40/coderedcms/models/snippet_models.py and wondering if there is a recommended approach to add snippets - do I simply seek to override this file? I did not see any documentation on this, but it would be a very useful thing to be able to do.

Describe alternatives you've considered
Currently using raw HTML 'blocks' in some parts in order to achieve what I am looking for.

Additional context
I'm wondering if this is documented anywhere or otherwise if you might be able to point me in the right direction as to the right approach to achieve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions