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

$Alert variable?

#1
Hey Guys,
I'm trying to customize the look of the alerts and conversation pop-ups.

I found the account_alerts_popup template that is setup perfectly...but there's a problem.

No matter what, the $alerts variables return false, including the other related variables like $alertsUnread and $alertsRead.

How can I set things up so I have access to those variables outside their normal scope?
 
#5
Thanks for pointing me in the right direction!

It still isn't working, though. I found instructions for the xen:container syntax on this page:
http://xenforo.com/community/threads/conditional-tags.33598/#post-382934

But pasting the following code in the navigation_visitor_tab template returns null:

Code:
<xen:container var="$userAlert">{$alertsRead}</xen:container>
{xen:helper dump, $userAlert}

Declaring the variable using <xen:set> doesn't help. Also, the other variables won't pass including $alert and $alertsUnread.
 
Last edited: