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

verschiedene URL's für Kursübersicht einer Kategor
Hallo, ich habe eine Frage in Bezug auf SEO: ein externer Spezialist macht die...
1 Replies
Posted on Monday, 29 April 2024
  • New
  • Google no index für bestimmte Seiten/Details
    Hallo ich habe eine kleine Frage: wo kann ich einstellen, dass Google die Seite...
    1 Replies
    Posted on Wednesday, 24 April 2024
  • New
  • Changes to Submission Form?
    Are you able to make changes to the Hotspot submission form? There are several f...
    0 Replies
    Posted on Friday, 26 April 2024
  • New
  • Question regarding custom fields
    How do I access custom fields after I have created them?...
    0 Replies
    Posted on Wednesday, 24 April 2024
  • New
    • #custom fields
    Language parameter in the link to the comment
    Hello. 1) I have a multilingual website (3 languages). If someone added a comme...
    1 Replies
    Posted on Saturday, 06 April 2024