Yes! This feature will allow clients to change their phone numbers, email addresses, etc., in one place and automatically change every element that is referencing to them.
To my last comment, adding API to the needs for get/set these vars. Which of course means, Logic as well.
The use case I'm currently facing is a requirement to generate aggregateRating JSON+LD markup. Ratings are in a collection, and all are scored, but there's no internal way to get an average and bind it into my markup.
I can have that calculated externally through Zapier/Make or hopefully via Logic someday, but where to store the resulting average value? It needs to go into a global var that I can then include in my site.
This is going to be useful for us, we have 2 sites (1 for staging, 1 for production) for each of the env i would like to add redirection link to its specific env, eg.
Staging -> Staging
Prod -> Prod
Tested the design in staging, export and import to Prod
With env variables set for the redirect link domain, it doesn't impact the link(reference to global variable), when I export and import my pages from Staging to Prod
Currently we have to update the link manually everytime.
e.g. we often mention starting prices for products and service in our copy all across our site (where a CMS or symbol doesn't make sense). It would be great to have this updatable from one location.
I have found a way to do this realtively easily with JavScript and I SUCK at Javascript. I have a snippet of Javascript that changes the Copyright Date on everypagel. Every year it will update itsef. I tried this with just using the company name and it works. It is done on page load so I am not sure the SEO implications/impact. Also this is great for pricing if you do not have enough items to warrant a CMS site - I.E. I have a customer that has one product and is going to sell via PayPal but I want to be able to advertise the price everywhere and not have to worry about changing 50 places or missing one change down the road.
I am not sure I can paste the code in here so message me and I will send it to you.
This can be done in a very crude way, using a JSON chunk in your site header, and script to search/replace specific areas you want to apply it. But that's very ugly and prevents clients from managing those variables through the Editor interface.
I have a similar need for popup notifications, with a chunk of richtext and the ability to turn that alert on/off.
This is so needed for things like centralized emails, phone numbers, etc.
Attachments Open full size
Yes! This feature will allow clients to change their phone numbers, email addresses, etc., in one place and automatically change every element that is referencing to them.
Attachments Open full size
To my last comment, adding API to the needs for get/set these vars. Which of course means, Logic as well.
The use case I'm currently facing is a requirement to generate aggregateRating JSON+LD markup. Ratings are in a collection, and all are scored, but there's no internal way to get an average and bind it into my markup.
I can have that calculated externally through Zapier/Make or hopefully via Logic someday, but where to store the resulting average value? It needs to go into a global var that I can then include in my site.
Attachments Open full size
NICE. I just came here looking to add this wishlist item.
Ideally these vars will need to be strongly typed, e.g.;
strings, e.g. for site name
emails, e.g. for support@mycompany.com
numbers, e.g. "X" customers served
phone numbers
measurements, especially to support Interactions, where several different parts of an animation need the same measurements e.g. open/close animations
timing durations, also for animations
We'd want the ability to reference these variables from;
Designer elements, as appropriate for content, links, emails, default input values, etc.
Page config elements, like {{ var.sitename }} in Page titles
Scripts, via webflow.js
Related - https://wishlist.webflow.com/ideas/WEBFLOW-I-1787
Attachments Open full size
This is going to be useful for us, we have 2 sites (1 for staging, 1 for production) for each of the env i would like to add redirection link to its specific env, eg.
Staging -> Staging
Prod -> Prod
Tested the design in staging, export and import to Prod
With env variables set for the redirect link domain, it doesn't impact the link(reference to global variable), when I export and import my pages from Staging to Prod
Currently we have to update the link manually everytime.
Attachments Open full size
Another use case: for pricing info
e.g. we often mention starting prices for products and service in our copy all across our site (where a CMS or symbol doesn't make sense). It would be great to have this updatable from one location.
Attachments Open full size
I have found a way to do this realtively easily with JavScript and I SUCK at Javascript. I have a snippet of Javascript that changes the Copyright Date on everypagel. Every year it will update itsef. I tried this with just using the company name and it works. It is done on page load so I am not sure the SEO implications/impact. Also this is great for pricing if you do not have enough items to warrant a CMS site - I.E. I have a customer that has one product and is going to sell via PayPal but I want to be able to advertise the price everywhere and not have to worry about changing 50 places or missing one change down the road.
I am not sure I can paste the code in here so message me and I will send it to you.
Attachments Open full size
This can be done in a very crude way, using a JSON chunk in your site header, and script to search/replace specific areas you want to apply it. But that's very ugly and prevents clients from managing those variables through the Editor interface.
I have a similar need for popup notifications, with a chunk of richtext and the ability to turn that alert on/off.
Attachments Open full size
Yes please
Attachments Open full size
Reallllly need this one. Any update? If not, can this be achieved by a script?
Attachments Open full size
Is there any way we could do a workaround on this with the CMS?
Attachments Open full size
Yes, please
Attachments Open full size
More Use Cases:
Attachments Open full size
Related:
Style Variables: https://wishlist.webflow.com/ideas/WEBFLOW-I-55
Symbol Variables: https://wishlist.webflow.com/ideas/WEBFLOW-I-1558
Attachments Open full size