I have a JS alternative.
In the Website > HTML Code (head), place the new values to show on all pages:
Code:
<script>
var newPrice="£123.45";
var newVersion = "16.3.0.12345"
</script>
In the Website > HTML Code (body), place the JavaScript to make the changes:
Code:
<script>
var priceElements = document.getElementsByClassName("showPrice");
for(var i = priceElements.length - 1; i >= 0; --i)
{
priceElements[i].innerHTML = newPrice;
}
var versionElements = document.getElementsByClassName("showVersion");
for(var i = versionElements.length - 1; i >= 0; --i)
{
versionElements[i].innerHTML = newVersion;
}
</script>
On the design pages add text placeholders (e.g., Price, Version) and for each type include the
Name (showPrice, showVersion). These can be any text format you like.
The following demonstration file, two pages only, and no Variants checked,
JS-Price & Version Global Change.xar, might help in understanding the above.
There is one bug that I would appreciate help with: all changed values drop down a line...
Acorn
Bookmarks