Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

$PAGETITLE??

10 years ago
What's the proper script attribute for the page title? I've tried $TITLE and $PAGETITLE in a global page script, is there no way to incorporate a specific title for every page? Am I just blind and stupid? Is it something stupidly obvious like capital letters or am I using a completely wrong script?

I assumed that it would work like adding a global script to page text. ($PAGETEXT := $PAGETEXT + "Text or Code") except I replaced $PAGETEXT with $PAGETITLE, $TITLE, $HEAD, and some other things but none of them seem to work :(

$PAGETITLE??

10 years ago

Heh. There's only $PAGETEXT. There's no such thing as the other things you mentioned. Hence why it didn't work. 

$PAGETITLE??

10 years ago
Well damn. I suppose there's some more tedious ways to change the title with JS but man...I really didn't want to take the time to do that xD

$PAGETITLE??

10 years ago

Why do you need to be able to dynamically change the title anyway?

$PAGETITLE??

10 years ago
Global script a default page background instead of the pure white.

$PAGETITLE??

10 years ago

I...

Why not use the pagetext for that?

$PAGETITLE??

10 years ago
Doesn't work. If it worked I wouldn't have this question -.-

$PAGETITLE??

10 years ago

Yes it does.

There's kind of an entire article on how to do it:

http://chooseyourstory.com/help/articles/article.aspx?ArticleId=108

$PAGETITLE??

10 years ago
I'm well aware, it doesn't work. It used to work - it doesn't anymore. I don't know why, but it doesn't. Even if I put the code on the page with the text manually, it doesn't change the page background unless the code is in the title.

$PAGETITLE??

10 years ago

Well...There's this little problem with inserting pictures, and whatnots ever since a few months back. Perhaps that's messing with the background codes or whatever. 

$PAGETITLE??

10 years ago

Well that sucks.

Stupid new editor. Alex really needs to change it back already.

$PAGETITLE??http://fc04.deviantart.net/fs71/f/2014

10 years ago
Putting it into the title doesn't seem to work, but I just tried putting $PAGETEXT := "< body background='URL' >" + $PAGETEXT into the Global Page Script and it seems to be working.

$PAGETITLE??

10 years ago
That thread title xD I face palmed so hard thinking you were serious...

The thread title is a joke...right? :I

doesn't seem to work.

$PAGETITLE??

10 years ago

LOL, sure, let's go with that. It totally wasn't me not paying attention to what I was typing on my phone.

Hm, what about this?

$PAGETITLE??

10 years ago
Ok, I'm a little teeny tiny bit impressed that worked... to be honest, I probably should have thought of that...

$PAGETITLE??

10 years ago

Great! Dunno why that one worked while the previous one didn't though. We could do a whole lot more if we could edit the headers, but I don't think the advanced editor allows that.