1. Rene
  2. Bugs
  3. Friday, 15 December 2017
  4.  Subscribe via email
Dear Compojoom Devs,

we got a problem with your mailchimp plugin. It seems, that JRoute isn't parsing your form action properly. The path within the action is not forwarding to the controller, because it is not bypassing the /blog

http://www.example.com/blog

it was
/component/cmc/?format=raw&task=subscription.save

and it should be something like
../component/cmc/?format=raw&task=subscription.save

I had to create an override for your default.php template and remove JRoute.

Can you guys help us with a propper solution so that we can remove the template override?

Cheers

René
Responses (2)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
The line in the file is:


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


That is perfectly valid and should work in your case as well. Are you using some 3rd party routing component?

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
Sarantos Menoutis
Hotspots supporter
Accepted Answer Pending Moderation
Hi i change the code

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

to

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

An now it is working
  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

I cannot post more than 1 comment.
Hello, I just purchased CComment to integrate in my website. I am using K2. ...
38 Replies
Posted on Sunday, 03 January 2021
EasyDiscuss Avatar Integration
Hello. Can you integrate avatars from EasyDiscuss?...
0 Replies
Posted on Tuesday, 19 January 2021
  • New
  • Matukio events not bookable after joomla update
    Hello, suddenly all events are not bookable in the frontend! I think this happe...
    4 Replies
    Posted on Friday, 15 January 2021
  • New
  • OSM in Hotspots - News?
    Hallo Daniel, gibt es Neuigkeiten, ob oder wann in Zukunft OSM mit Hotspot fu...
    5 Replies
    Posted on Monday, 11 January 2021
    testing site upgrade to production site with corre
    Dear Sirs during development the website is under a temp subdomain : cclhk.ua...
    3 Replies
    Posted on Thursday, 14 January 2021
  • New
    • #hotspot pro