• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Visitor variable question

Jim Boy

Well-known member
I am modifying a template that is part of a bespoke add-on that I have inherited. I'm try to use the $visitor variable, but it doesn't seem to be available.

For example if I put
{xen:helper dump, $visitor}
into the the custom template, I get "NULL", put it into any other native template and I get the expected output.

Undoubtedly I'm missing something obvious, but any help would be appreciated.