1. Ben
  2. Bugs
  3. Tuesday, 23 August 2016
  4.  Subscribe via email
I am trying to configure CMC 3.0.0 on a standard Joomla 3.6.2 install. I have supplied my API key and so far so good. I am able to connect to my Mailchimp account, but for some reason, I am only seeing the first 10 lists in the component when attempting to sync while there are 18 in my Mailchimp account. Importantly, the list I would like to sync w/ Joomla is not available in the list.

I am running PHP 5.5.38 on a LAMP stack and am using the default admin template. Do you have any suggestions for me to try? This really seems like a well-made component and I'm willing to help troubleshoot with whatever dev knowledge I can offer.

Based on the Mailchimp API v. 3, it seems that the default list limit is 10, so what I'm seeing would make sense if there's no 'count' query parameter passed.

http://developer.mailchimp.com/documentation/mailchimp/guides/get-started-with-mailchimp-api-3/#parameters

Can you address this? I see where I could hack the CmcHelperChimp class to add a 'count' parameter to the lists() call, but was wondering if you had any thoughts on supporting more than 10 lists officially.
Responses (2)
Accepted Answer Pending Moderation
To confirm my suspicion, my hack worked and I was able to fetch all lists and not just the first 10 by changing /administrator/components/com_cmc/helpers/chimp.php, line 83 from:

$lists = $this->get('/lists');

to:

$lists = $this->get('/lists', array('count'=>'50'));
  1. more than a month ago
  2. Bugs
  3. # 1
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Okay, change made. Thanks for the help Ben!
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

How to close commenting on an article?
I've installed CComment Core on Joomla 4. I just can't seem to find out how to c...
2 Replies
Posted on Sunday, 05 December 2021
  • New
    • #CComment
    Trying to override default_form.php in Joomla 4 bu
    I've installed CComment Core on my Joomla 4 site. Looks good so far, except for ...
    1 Replies
    Posted on Thursday, 02 December 2021
  • Resolved
  • New
  • Cant save Hotspot global settings
    Using Joomla 4.0.2 and Yootheme installed. After installing Hotspot Core success...
    5 Replies
    Posted on Saturday, 23 October 2021
    • #hotspot
    • #hotspots core
    • #joomla 4
    How much do you take to develop a plugin to displa
    Hello, I have a site with Hotspots Pro 6 installed. How much do you take to ...
    2 Replies
    Posted on Wednesday, 24 November 2021
    • #hotspots pro
    Installing Compojoom
    Hi, I just bought the Matukio Events and tried to install the extension via Comp...
    11 Replies
    Posted on Sunday, 28 November 2021