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)
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. # 1
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. # 2
  • Page :
  • 1


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

Last questions

Trying to resize the image in the comments
Hey everyone, Basically I am trying to make the images in the comments smalle...
9 Replies
Posted on Wednesday, 12 August 2009
J5 compatibility for Hotspots
Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
2 Replies
Posted on Monday, 24 February 2025
  • #Hotspots
  • #hotspots Joomla 5
error message when adding/cofiguring email address
When configuring the email plugin that send a email message to admin when a new ...
0 Replies
Posted on Friday, 09 May 2025
CMigrator: Path from Drupal 6 to J5?
(Category s/b CMigrator, but didn't see it on the list) I'm interested in usi...
0 Replies
Posted on Monday, 28 April 2025
Dowload all Hotspots entries
Hi there, I'm looking for a way to dowload all the Hotspots entries. I've got t...
0 Replies
Posted on Sunday, 06 April 2025
  • #kml
  • #download