Forums

MailPress
Can I manage Newsletter per subcategories? (5 posts)

  1. boost2029
    Member
    Posted 1 year ago #

    Hi there!

    First of all let me say a big thank you for this amazing plugin :)

    I would like to know if it would be possible to offer my users the option to subscribe to subcategories. Unfortunately for me I only have 3 main categories, the ones that are interesting to choose are subcategories. In my case to let them choose main categories is not leting them choose too much.

    I have inspected the admin interface and the documentation and found nothing so I guess it's not implemented, right? If so, could you please point me where to start to try to add this functionality myself? Any tip on how to approach the coding would be greatly appreciated.

    Thanks!

  2. RENAUT
    Member
    Posted 12 months ago #

    it's not implemented

    try to develop your own add-on

    see \mailpress\mp-content\add-ons\MailPress_newsletter_categories.php

  3. boost2029
    Member
    Posted 11 months ago #

    Thanks a lot!

  4. davydov-denis
    Member
    Posted 7 months ago #

    Dear boost2029,

    have you succeed in implementing that plugin? I'm also thinking about this functionality.

    Cheers,
    Denis.

  5. RENAUT
    Member
    Posted 7 months ago #

    in mailpress/mp-content/add-ons/MailPress_newsletter_categories.php

    just change following line

    if ($category->category_parent) continue;

    in

    //if ($category->category_parent) continue;

    but be carefull if a subcriber is subscribed to parent category and child category he will receive one mail for each !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags