Forum Replies Created

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

    This issue is resolved for me after update to Newsletter Version 3.9.0
    Thanks Stefano for the fast update.

    WallyO
    Participant

    I am having the same issue.

    It occurs when the theme being previewed has post images inserted into the html by the theme.
    It happens on all supplied themes that have images.

    It generates the server errors…
    PHP Fatal error: Call to undefined function nt_post_image() in /home/theaccount/public_html/wp-content/plugins/newsletter/emails/themes/vimeo-like/theme.php on line 94
    PHP Fatal error: Call to undefined function nt_post_image() in /home/theaccount/public_html/wp-content/plugins/newsletter/emails/themes/theme-1/theme.php on line 78
    PHP Fatal error: Call to undefined function nt_post_image() in /home/theaccount/public_html/wp-content/plugins/newsletter/emails/themes/theme-3/theme.php on line 79
    PHP Fatal error: Call to undefined function newsletter_get_post_image() in /home/theaccount/public_html/wp-content/plugins/newsletter/emails/themes/pint/theme.php on line 47
    PHP Fatal error: Call to undefined function newsletter_get_post_image() in /home/theaccount/public_html/wp-content/plugins/newsletter/emails/themes/linear/theme.php on line 99
    PHP Fatal error: Call to undefined function newsletter_get_post_image() in /home/theaccount/public_html/wp-content/plugins/newsletter/emails/themes/default/theme.php on line 96

    The functions are defined in modules.php but appear unavailable when called from the context of the theme preview.php

    in reply to: Set Selected List in Theme template #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.

Viewing 3 posts - 1 through 3 (of 3 total)