1. Ray
  2. Bugs
  3. Tuesday, 16 December 2014
  4.  Subscribe via email
Hi,
We have a site with CMC Mailchimp 1.3.1 on Joomla 3.2.4 and the site is using SSL and https urls. We are getting an error on the site in Chrome because of the newsletter sign-up form;
(Note: Chrome will show a security error for any secure page with an insecure <form> call on the page)

The form is using a link with out the https, just http, <form action="http:// . I have looked for the setting for this in the component and module, the Webhooks is using a https url. How can I change the form action to a url with https or just //?
Ray
PS Sorry for post in General forum, didn't notice the Category field on the post.
Responses (4)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Ray!
I had a look at our current code base and the action url is:

<?php echo JRoute::_('index.php?option=com_cmc&format=raw&task=subscription.save'); ?>


Joomla then decides how it should look in the html of the page and if it should have the http or https in front of that.
I don't remember what we had in version 1.3, but this is what we have in verslon 1.5, so maybe update to it? Your other option would be to create a template override and to hardcode the url in the module.

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. Bugs
  3. # 1
Accepted Answer Pending Moderation
Hi Daniel ,
That looks like the same code I found in 1.3.1 in the default.php file
<form action="<?php echo JRoute::_('index.php?option=com_cmc&format=raw&task=subscription.save');?>"
but SSL is enabled in Joomla's Global Configuration settings, why would Joomla use a http url? The url before the index.php?option is not a site url it is like this;
<form id="mc-embedded-subscribe-form" class="validate" novalidate="" target="_blank" name="mc-embedded-subscribe-form" method="post" action="http://ourdomain.us4.list-manage.com/subscribe/post?u=***********************************">
So it is a "manage.com" domain url. I don't know where CMC is getting that domain but the one it has in its Webhooks field is a https url.
Thanks for looking at this,
Ray
  1. more than a month ago
  2. Bugs
  3. # 2
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
the code that you've pasted doesn't come from cmc. you've added another module to your site for subscriptions.
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. # 3
Accepted Answer Pending Moderation
Hi Daniel,
I am very sorry to have taken up your time, the site has CMC 1.3.1 installed but the newsletter sigin-up is in a custom module I have now found.
Thank you
Ray
  1. more than a month ago
  2. Bugs
  3. # 4
  • 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 override default_form.php in Joomla 4 bu
I've installed CComment Core on my Joomla 4 site. Looks good so far, except for ...
0 Replies
Posted on Thursday, 02 December 2021
  • New
  • 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
  • New
  • How to enable or disable comments for a category o
    Hi, How do I enable/disable comments for a category? Or menu/menu item? I can'...
    2 Replies
    Posted on Monday, 29 November 2021
  • Resolved
  • New
  • Where is the most recent plugin for Community Buil
    Hi! I have an older version of the plugin for HotSpots locations to integrate...
    6 Replies
    Posted on Sunday, 21 November 2021