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
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

Slow web page loading
Hi I have a question about HotSpot - Mapview. I've uploaded several 36 differen...
4 Replies
Posted on Saturday, 28 October 2017
  • #Hotspots
  • #mapview
Page Navigation!
The admin bar is currently on top before site visitors see the comments. How can...
0 Replies
Posted on Wednesday, 25 May 2022
  • New
  • Exporting Markers and Importing via PHPMyAdmin
    This is not a question, unless someone reading this knows a better way to do thi...
    3 Replies
    Posted on Monday, 22 July 2019
    • #Export
    • #import
    • #phpmyadmin
    • #markers
    Show all markers (and keep paginated list)?
    For my particular use case it makes more sense to do marker clusters than tiles....
    1 Replies
    Posted on Thursday, 19 May 2022
    Two message dialogs when submitting hotspot
    Hi! I noticed that there are two Joomla messages shown when a hotspot is subm...
    1 Replies
    Posted on Thursday, 05 May 2022