nl_manage.php - Choose Mailing Lists to subscribe to

3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: June 22, 2018   (RSS)

By gversion - June 22, 2018 - edited: June 22, 2018

Hello,

Currently on the nl_manage.php template file all mailing lists are displayed. Could someone please help me choose which mailing lists display on this page? I only want one mailing list to display. Ideally I could specify the mailing list based on its ID number.

Thank you,

Greg

By leo - June 22, 2018

Hi Greg,

On your nl_manager.php or other pages that generates the list of newsletter lists, you can add an if statement to select which list you want to show. For example:

<?php foreach($lists as $list): ?>
...
<?php if($list['num'] == 1): ?>
...
<?php endif ?>
<?php endforeach ?>

Hope that answers your question and let me know if you need more help!

Thanks,

Leo - PHP Programmer (in training)
interactivetools.com