Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Variable value visible only on specific pages?

2 years ago

As the title suggests, is there a way to have a variable value visible only on a few certain pages?  

I would assume I might need some scripting knowledge to make this possible, but any support would be awesome!

Variable value visible only on specific pages?

2 years ago

You can make a variable visible on a specific page by using on-page commands or pagetext commands.  Either "Variable:  %%VARIABLE%%" on the page iteslf, or $PAGETEXT := $PAGETEXT + "Variable:  " + %VARIABLE in the page script would work.  You'd then do this on each page you wanted the variable to be visible.

Variable value visible only on specific pages?

2 years ago

Perfect, thank you!