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

Add alert preferences to add-on


Well-known member

I created a template with this code:
<h3 class="sectionHeader">{xen:phrase dad_newsticker_navtab}</h3>
<dl class="ctrlUnit">
    <dt>{xen:phrase dad_newsticker_preferences_explain}...</dt>
            <li><input type="hidden" name="alertSet[newsticker_want_see]" value="1" />
                <label><input type="checkbox" value="1" name="alert[newsticker_want_see]" {xen:checked "!{$alertOptOuts.newsticker_want_see}"} /> {xen:phrase dad_newsticker_want_see_tickers}</label>
                <p class="hint">{xen:phrase dad_newsticker_want_see_tickers_explain}</p>
And I'm showing it using TM in alert preferences page.

Can someone tell me how to check it now? I want show/hide something based on each user's choice. If he checked, then see it, and if un-checked, not see it.


@Chris D @Brogan