James

Think it only works when you are looping Children, not other templates and yeah, just throws a Server Error

zemiacsik

And so when you do $Top.Up.TopLevelTitle then you get an error?

James

Basically seeing if a news article category matches to the page title, and if so display content for that article

James

Yes, that's right. Inside the PageTemplate I am trying to compare a piece of data in that template to the TopLevelTitle outside of the loop to see if they match

zemiacsik

So you are like <h1>$TopLevelTitle</h1> <% loop PageTemplate %> $Here?

James

It will only take me to the top level of "<% loop PageTemplate %>", if I try to force my way any higher it just throws off an error as it doesn't seem to see that there is anything above it

wmk

of course you could try to chain Ups, like $Up.Up.TopLevelTitle, but that's a bit ugly. $Up is one level up, Top is "bring me to top level"

wmk

oh, it should be $Top.TopLevelTitle, according to your <h1>