- Posts: 29
- Thank you received: 0
cancel from within a module
- Rob Smith
- Topic Author
- Offline
- Junior Member
-
Less
More
5 years 6 months ago #132271
by Rob Smith
cancel from within a module was created by Rob Smith
Hello,
I created a menu of type 'User Profile'.
I set 'Show my subscriptions tab' to 'Yes' and all other options to 'No'
I then include this component into a page using the ''Components Anywhere' plugin ( extensions.joomla.org/extension/components-anywhere/ ).
It works fine, except that the cancel button for recurring subscriptions doesn't work.
When I click on 'Cancel Subscription', the browser pops up the question 'Are you sure want to cancel the recurring subscription ?'. But then when I click 'OK', the url in the address bar changes to <previous url>+'??task=register.process_cancel_subscription'
ie it has 2 question marks followed by the string above. Also, the subscription is not cancelled.
Is it possible to somehow include the subscriptions tab on another page, with the ability for users to cancel their subscription ?
Thanks
I created a menu of type 'User Profile'.
I set 'Show my subscriptions tab' to 'Yes' and all other options to 'No'
I then include this component into a page using the ''Components Anywhere' plugin ( extensions.joomla.org/extension/components-anywhere/ ).
It works fine, except that the cancel button for recurring subscriptions doesn't work.
When I click on 'Cancel Subscription', the browser pops up the question 'Are you sure want to cancel the recurring subscription ?'. But then when I click 'OK', the url in the address bar changes to <previous url>+'??task=register.process_cancel_subscription'
ie it has 2 question marks followed by the string above. Also, the subscription is not cancelled.
Is it possible to somehow include the subscriptions tab on another page, with the ability for users to cancel their subscription ?
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 6 months ago #132273
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic cancel from within a module
Hi Rob
The solution is not using Components Anywhere , just use our View module to display the page in a module
Then check it again. If it still does not work, we can check it further. See membershipprodoc.joomservices.com/advanc...splay-view-in-module for detailed instructions, setup it and let us know if you need more help
Tuan
The solution is not using Components Anywhere , just use our View module to display the page in a module
Then check it again. If it still does not work, we can check it further. See membershipprodoc.joomservices.com/advanc...splay-view-in-module for detailed instructions, setup it and let us know if you need more help
Tuan
Please Log in or Create an account to join the conversation.
- Rob Smith
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
5 years 6 months ago #132275
by Rob Smith
Replied by Rob Smith on topic cancel from within a module
Thanks for your advice. This worked, though it is displaying the 'Edit Profile' and 'Subscriptions History' tabs which we did not want to display. But I will hide them with javascript.
Thankyou.
Thankyou.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 6 months ago #132276
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic cancel from within a module
You do not have to hide it using javascript. You just need to:
- Create a hidden menu item link to user profile menu option of Membership Pro, choose the right settings to hide the tabs you don't want
- Then check the module you created again. In Query String parameter, append Itemid=ID_OF_MENU_ITEM above
Then check it again. It should work OK (the module will use the settings from hidden menu item)
If it does not work, maybe you should download latest package of Membership Pro, update to your site and it will work (I remember I fixed a bug related that option sometime ago)
Tuan
- Create a hidden menu item link to user profile menu option of Membership Pro, choose the right settings to hide the tabs you don't want
- Then check the module you created again. In Query String parameter, append Itemid=ID_OF_MENU_ITEM above
Then check it again. It should work OK (the module will use the settings from hidden menu item)
If it does not work, maybe you should download latest package of Membership Pro, update to your site and it will work (I remember I fixed a bug related that option sometime ago)
Tuan
Please Log in or Create an account to join the conversation.
- Rob Smith
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
5 years 6 months ago #132277
by Rob Smith
Replied by Rob Smith on topic cancel from within a module
Hi,
I put 'Itemid=423' (without the quotes) in the 'Query String' field of the module .
This is the ID of a hidden menu item of type 'Membership Pro » User Profile', which has the options that I require.
But it is not changing the output of the module.
Is there anything else that I need to do ?
I have Membership Pro version 2.19.0 - the most recent version.
Thanks,
Alice
I put 'Itemid=423' (without the quotes) in the 'Query String' field of the module .
This is the ID of a hidden menu item of type 'Membership Pro » User Profile', which has the options that I require.
But it is not changing the output of the module.
Is there anything else that I need to do ?
I have Membership Pro version 2.19.0 - the most recent version.
Thanks,
Alice
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 6 months ago #132278
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic cancel from within a module
As I said, I fixed a bug related to that option recently. So please access to My Downloads menu item, download latest package, upgrade it to your site, then the issue should be sorted
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Rob Smith
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
5 years 6 months ago #132279
by Rob Smith
Replied by Rob Smith on topic cancel from within a module
Yes, that worked.
Thankyou
Thankyou
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 6 months ago #132280
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic cancel from within a module
Great. Thanks for confirming
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.