I have a valid page name that I need to resolve to a page title. Example:
(:title Page One:)
I am the page of which the title needs to be got.
(:title Example Page:)
I am the page that the PHP script is being run from.
How can I get the title of Main.TargetPage
from Main.CurrentPage
?
You can get the title of a page with this function call:
$PageTitle = PageVar(ResolvePageName('Main/TargetPage'), '$Title');