Adding code to a module

  • Dave McErvale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 weeks ago #21907 by Dave McErvale
Adding code to a module was created by Dave McErvale
Hi,
How do i get the subscriptions to work from a module.
Regards
Dave

Please Log in or Create an account to join the conversation.

More
12 years 3 weeks ago #21932 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adding code to a module
Hi Dave

Could you please explain more detail about what you want ? You want to display subscription history of the current user in a module ? Or you want something different ?

Tuan

Please Log in or Create an account to join the conversation.

  • Dave McErvale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 weeks ago #21943 by Dave McErvale
Replied by Dave McErvale on topic Re: Adding code to a module
Hi Tuan,
How can i get the subscriptions to load in a module, i can use this code {membershipplans ids="1"} for an article but they will not load in a mosule, is there another way to do this.
Regards
Dave

Please Log in or Create an account to join the conversation.

More
12 years 3 weeks ago #22002 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adding code to a module
Hi Dave

At the moment, the extension doesn't have a module allows you to display subscription plans within a module. We can have two options here :

1. Using one of available third party extension which allows you to load component within a module. I did a quick search on the JED and found this module. Maybe you can give it a try :

extensions.joomla.org/extensions/core-en...mbed-a-include/18121

2. The module I mentioned on option #1 is commercial, so maybe you won't want to purchase it. I will try to develop the module for Membership Pro within this week. Maybe you can wait ?

Tuan

Please Log in or Create an account to join the conversation.

  • Dave McErvale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 weeks ago #22008 by Dave McErvale
Replied by Dave McErvale on topic Re: Adding code to a module
Hi Tuan,
Thanks, i have a module called Flexi Custom Code This module allows us to insert any code like php, javascript PHP, CSS and html at site modules positions, unfortunately your code dose not work, it would be a good idea to create a module as they are more flexible with positioning the subscription plans.
I can wait as i have the subscriptions working in an article on the front page, the component is excellent and works very good.
Regards
Dave

Please Log in or Create an account to join the conversation.

More
12 years 3 weeks ago #22018 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adding code to a module
Hi Dave

I have a good news for you. Please download latest version and upgrade it to your site. After that, you can find and publish the Membership Plans module on a position on your site template. After that, you will see list of subscription plans displayed in the module.

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Dave McErvale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 weeks ago #22092 by Dave McErvale
Replied by Dave McErvale on topic Re: Adding code to a module
Thanks Tuan,
Absolutely brilliant, great customer service.
Regards
Dave

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #22093 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adding code to a module
No problem Dave. If you have few minutes, please help me by giving Membership Pro a 5 stars rating and a nice review at extensions.joomla.org/extensions/e-comme...-subscriptions/20725 to support my development !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Dave McErvale
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 weeks ago #22094 by Dave McErvale
Replied by Dave McErvale on topic Re: Adding code to a module
Happy too :)

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #22095 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adding code to a module
Thanks Dave. The sooner you do, the better for me, so please do it ASAP !

Tuan

Please Log in or Create an account to join the conversation.