Home Forums Newsletter Plugin Support Set Selected List in Theme template

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8973
    WallyO
    Participant

    In my newsletter templates I can set the Subject by setting
    $theme_subject = 'My Newsletter Subject';
    How can I set a specific list preference to be pre-selected when I choose a specific theme template?

    I think I want list_1=1, but am unsure of the correct syntax to use in the theme template to do this.

    Is this possible?
    If so could you show example code please?

    #8974
    WallyO
    Participant

    OK. I think I have worked out one way (possibly not the best way) of doing this.
    In the theme.php file of my template I added the code
    $email['preferences'] = '2';
    to preselect my subscribers list preference number 2, or
    $email['preferences'] = '1,2';
    to preselect my subscribers list preference number 1 and 2.
    Awesome. Thanks Stefano.

    #8982
    Stefano
    Keymaster

    Ok, it’s a little bit tricking but it can work. I’ll try to add an official way, anyway.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.