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)
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. # 1
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. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Download Pro Version of C Comment
I have looked all over the site, and I do not see where I can download the Pro v...
0 Replies
Posted on Sunday, 28 May 2023
  • New
    • #download
    Missing image in backend comments list
    Hi! In the backend view of the comments list the image for 'published' is missin...
    5 Replies
    Posted on Wednesday, 15 March 2023
    • #CComment
    • #bug
    Certificates are not attached to the email
    Hello! We have a problem with certificate notifications. The PDFs are not attach...
    0 Replies
    Posted on Monday, 22 May 2023
  • New
  • How do i add locations automatically from google m
    Ok, so I have hotspots which I bought a few months ago, and I have been adding l...
    0 Replies
    Posted on Sunday, 21 May 2023
    • #google maps
    • #locations
    Integration to com_contact
    Dear staff, is it possible to integrate com_contact component?...
    0 Replies
    Posted on Wednesday, 17 May 2023