How to stop users accidentally leaving a Wagtail edit page with JQuery

We had a request recently to implement a feature to stop users accidentally losing work while editing a page then forgetting to save. Especially now in Wagtail with features like StreamField, they can get pretty engrossed in their page layout design then forget to save, hit the 'Back' button my mistake etc. Although I believe …

Continue reading How to stop users accidentally leaving a Wagtail edit page with JQuery

Advertisements

More StreamField Examples – Top news stories block by tag

We thought it would be useful to be able to display say the top 5 news stories tagged with a certain word anywhere within a page using StreamField, so for example the latest sport related news stories could be added into a column next to something else on a page in Wagtail. You could adapt …

Continue reading More StreamField Examples – Top news stories block by tag

Parallax Background Image Block for Wagtail’s StreamField

Another custom block idea for Streamfield, to go with the ones described in a previous post I will also refer to some code in the previous post too, to save repeating code here. This block definition and block template allow you to add a column with a background image in the parallax style and allows …

Continue reading Parallax Background Image Block for Wagtail’s StreamField

Wagtail Version 1.0 Launched including Streamfield Feature!

Read more about it here : https://wagtail.io/blog/wagtail-10/ Exciting times in the CMS world. This version also contains an API built in. Hope to make some more blog posts very soon specifically on Streamfield, I have loads of ideas for using it in our current work, to make layout and integration of external information easier for our …

Continue reading Wagtail Version 1.0 Launched including Streamfield Feature!