How to Notify Members of New Updates on your Webflow Site

This post will teach you how to notify members of new updates on your webflow site, what notifying members of new updates looks like on your webflow site and when/why you might want to notify members of new updates in your project.

Ajoutez des adhésions à votre projet Webflow en quelques minutes.

En savoir plus

Plus de 200 composants Webflow clonables gratuits. Aucune inscription n'est nécessaire.

Voir la bibliothèque

Ajoutez des adhésions à votre projet React en quelques minutes.

Commencer

How to Notify Members of New Updates on your Webflow Site

Memberscripts needed:

  1. https://www.memberstack.com/scripts/69-notify-members-of-new-cms-items

Tutorial:

Cloneable:

https://webflow.com/made-in-webflow/website/updates-and-annoucements

Why/When Would you need to Notify Members of New Updates on your Webflow Site?

  1. Notify users of new features, products, or any new change that’s taken place on your website since their last visit.

If you want to notify your users of updates when they visit your website, an easy way to do it is with MemberScript #69.

It will essentially just display a modal populated with the most recent CMS items from a CMS collection. If the update title is saved on the member, that means they’ve seen already seen it and the modal won’t show up if there’s nothing new to show.

Notifying members of updates on Webflow sites

To notify members of updates on your Webflow site, we’re going to use MemberScript #69 – Notify Members of New CMS Items. Follow the link to get the code you’ll need to add to your page and watch a video tutorial on how to set everything up.

Setting it up

The first thing you’ll need to do is create and style the modal where the CMS items will be displayed, then add this attribute to it:

  • ms-code-update-ui=””

Keep in mind that the modal will be displayed using display: block when there are updates, so make sure that your modal looks the way you want it to using that display setting.

You can hide it by default, so you don’t need to work around it when making changes in the Webflow designer.

Now inside each CMS item, the title needs to have the following attribute:

  • ms-code-update-item=””

This is what’s going to be saved as the ID of the CMS item.

Making it work

Now that you’ve got the modal built and styled, all you need to do is add the MemberScript #69 custom code to your page, before the closing body tag.

The only thing you might want to change in the code is this line:

  • const displayForNewUsers

By default it’s set to “yes,” which means the modal will also display for new users. Otherwise, if you set it to “no,” it will only display for returning users.

Conclusion

That’s everything, you can now go ahead and test your modal and see if it’s working as intended.

Si vous souhaitez utiliser notre projet de démonstration pour commencer, cliquez simplement sur le bouton ci-dessous pour l'ajouter à votre site Webflow.

Our demo can help you add a modal populated with CMS items detailing updates about your site, products, or whatever else you need.

Take me to the Script!

TABLE DES MATIÈRES
Ovidiu
Qu'est-ce que Memberstack ?

Auth & paiements pour les sites Webflow

Ajoutez des logins, des abonnements, du contenu à accès limité, et plus encore à votre site Webflow - facile et entièrement personnalisable.

En savoir plus
Commencer à construire

Essayez Memberstack et découvrez ce que vous pouvez construire !

Memberstack est 100% gratuit jusqu'à ce que vous soyez prêt à vous lancer - alors, qu'attendez-vous ? Créez votre première application et commencez à construire dès aujourd'hui.