• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

custom HTML block ( like css and JS )

Status
Not open for further replies.

knova15

💖 Chevereto Fan
Hi

Is it possible to add a custom HTML block too in the admin ? there is a css and JS part but it would be great to carry on using the default theme and just be able to add a html block bellow the content so it “sticks” when an update happens and not using any child themes.

so like huge wallpaper / featured imgs / details etc about the site(html block - own code)
OR huge wallpaper / details etc about the site(html block - own code)


It would deff be a huge boost to the new front page options from admin.


What do you think ?


Thx
 
Main problem with this is that while you can add JS and CSS blocks easy (because they go in </head>) you can't do the same with HTML because you may need the HTML in certain point of the code or maybe in another one. So there is no much sense in this unless I change how templates works and do a complete abstraction of the templates from the backend. Main issue with that is that the resources will be higher and we will need to add cache and stuff like that.

An alternative for this is use the custom_hooks folder because in that files you can add anything and I never use those files and I believe that the main problem with this is that I include those files (so the thing thinks trends to replace them with the empty files). I think that I could remove them, simple as that so in that way you won't loose your stuff by updating.
 
Status
Not open for further replies.
Back
Top