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

Comment input field is not displayed
If I want to leave a comment on a post, I click on the button and a new page wit...
2 Replies
Posted on Friday, 20 December 2024
  • New
  • HotSpots Pro 6.0.12 crashes on FrontEnd with Conso
    Hi there, Not sure what happened but all of a sudden nothing shows up and giv...
    3 Replies
    Posted on Wednesday, 11 December 2024
    CComment - field - website address
    Hello In previous versions of CComment, it was possible to enable a field in ...
    0 Replies
    Posted on Saturday, 14 December 2024
  • New
  • Profile image for admin not showing
    Hi, profile image for administrator is not showing in comment. https://www.hu...
    0 Replies
    Posted on Friday, 13 December 2024
    How can I integrate the CComment input field into
    I’ve created com_content and a module for displaying the latest comments, which ...
    3 Replies
    Posted on Friday, 06 December 2024
    • #CComment
    • #comments
    • #module
    • #comments editor
    • #Ccomment Pro
    • #Joomla 5