Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

Conditional Page Title?

3 years ago
Is there any way to change the title of a page based on a variable? Like if I wanted a page representing an area to display "???" until the variable %AREA1 equals 1 (indicating that the player has discovered the area through information provided by an NPC) at which point it displays the area's name, how would I do that, if it's at all possible?

Thanks in advance.

Conditional Page Title?

3 years ago
You may be over thinking this. Why not just redirect them to a new place with a different title?

Conditional Page Title?

3 years ago
Because I don't want to have to rewrite the entire page text onto a different page, along with all the necessary coding. I'd basically be cloning everything about that page save for the Page Title and a few links. I'm trying to avoid having a page clone by finding a way to change JUST the page title, and have the links show/hide as needed. Easier that way.

Conditional Page Title?

3 years ago
I'm sure it's doable with JavaScript. Either way, if it's doable at all it'll have to be something Brad helps you with.

Conditional Page Title?

3 years ago
Pretty sure you can, in the same way you can have conditional Link titles.