1. Dan
  2. CMC - Mailchimp for Joomla!
  3. Tuesday, 30 September 2014
  4.  Subscribe via email
Hi there, I wonder if somebody could help me out. I have updated the plugin to the latest dev build after losing the "Module Class Suffix" option as noted here :
https://compojoom.com/forum/cmc-mailchimp-for-joomla/19592-problem-with-1-4-to-1-5-update#27458 but I also having trouble using a template override that was working prior to the update to v1.5. I don't seem to get the option to select my overriding template from within the module any more.

Any help is much appreciated,
Regards,
Dan
Responses (3)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Dan,
What do you mean from within the module? Also make sure that you update your template override, as the default template file in the module has changed quite a bit. (if you were using any other version than 1.5 in the past)

Regards,
Daniel
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. CMC - Mailchimp for Joomla!
  3. # 1
Accepted Answer Pending Moderation
Hi Daniel,
Thanks for the quick response.
Apologies, I was referring to using a module layout override for mod_cmc within my site template folder.

I was expecting to see an "Alternative Layout" dropdown on the "Advanced" tab after setting up a CMC module within the Joomla! module manager. This would let me choose from available templates in the folder below :
/templates/[template_name]/html/mod_cmc/


I have created a new template based on the 1.5 version to test with which is now in the same overriding folder (the path above) in my template, but I still don't see any option to select the template I've created. Sorry if I'm missing something obvious :blush: :whistle:

Regards,
Dan
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 2
Accepted Answer Pending Moderation
Just to follow up on this, I have resolved my issue by adding the field I was looking for into the mod_cmc.xml in the following place and editing mod_cmc.php

[site root]\modules\mod_cmc\mod_cmc.xml
[site root]\modules\mod_cmc\mod_cmc.php


In mod_cmc.xml I added the following at the start of the <fieldset name="advanced"> node :


<field name="layout"
type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_MODULE_LAYOUT_DESC"/>
<field name="moduleclass_sfx" type="text" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"/>


And in mod_cmc.php I added the following at line 20 - 21 (commented out the original line) :

//$layout = 'default';
$layout = $params->get('layout', 'default');


This will add the the "Alternative field" dropdown onto the modules advanced tab.
@Daniel, any chance this could be added to the next release? :)

Thanks again for a great plugin,
Dan
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 3
  • Page :
  • 1


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

Last questions

Link to maps.google.de in default.php
Hi, i have a question about the default.php under hotspot. i want to integrate...
0 Replies
Posted on Sunday, 19 May 2024
  • New
  • Veranstaltung im Frontend sichtbar obwohl nicht ve
    Hallo, folgendes Problem stellt sich mir: Wenn ich eine Veranstaltung dupl...
    4 Replies
    Posted on Friday, 09 February 2024
    Suche bei der Matukio - Fehler Ö Ä Ü..
    Hallo, evtl. könnt ihr mir weiterhelfen. Bei mir funktioniert die suche bei ...
    3 Replies
    Posted on Wednesday, 15 May 2024
  • New
  • When is CComment compatible with Joomla 5?
    When is CComment compatible with Joomla 5?...
    4 Replies
    Posted on Tuesday, 05 December 2023
    • #CComment
    • #Joomla 5
    _MATUKIO_NO_EVENTS appears in the frontend if no e
    Hello, there ist still the problem, that on the frontpage appears COM_MATUKIO...
    2 Replies
    Posted on Sunday, 12 May 2024
  • New