Membership Pro

More
9 years 3 months ago #55596 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership Pro
Hi Tony

Issue #1 seems to be a bug. Please submit a support ticket sending us super admin account of your site so that I can check to see what's wrong and get it corrected.

Issue #2, I can help you to edit the code to make it sort by organization. However, we could not make it configurable (we could not sort the list by any fields you want, only sorting by core fields is possible

Sometime, you might have to customize the extension abit to make it meets your need. It could not meet the requirement of all customers

Tuan

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

More
9 years 3 months ago #55605 by Tony Cline
Replied by Tony Cline on topic Membership Pro
HI Tuan,
I have submitted the ticket as you have requested.
I really like both of your components Membership Pro and Events Booking! Thanks for your great support with them too!

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

More
9 years 3 months ago #55643 by Brian
Replied by Brian on topic Membership Pro
The Membership List is great. I also have the pagination problem, though. We only have less than 100 members, so is there a quick way to turn off pagination and simply display the entire list? I don't mind editing the core files if necessary.

(All components are working very well, by the way! Great suite.)

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

More
9 years 3 months ago #55646 by Tony Cline
Replied by Tony Cline on topic Membership Pro
Like Brian, I would prefer to have Pagination turned off as well.

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

More
9 years 3 months ago #55814 by Tony Cline
Replied by Tony Cline on topic Membership Pro
Tuan,
I have submitted a support ticket and responded to an initial question regarding the pagination but I see others have had the issue too. Is there an update or a way to turn pagination off?

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

More
9 years 3 months ago #55834 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership Pro
I tried to edit code to turn of pagination. If you want to try, please get this file, unzip it, upload to components/com_osmembership/models folder and check it again, then let me know the result

Regards,

Tuan
Attachments:

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

More
9 years 3 months ago #55931 by davewee
Replied by davewee on topic Membership Pro
That works for me. Thanks.

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

More
9 years 3 months ago #56685 by hjames
Replied by hjames on topic Membership Pro
For those of you who want to make your membership table sortable you can follow this quick guide:

1. Download the attached sortable.js file and upload it to templates/your_template/js
2. Open your templates file which references the "head: of the template (Different frameworks do this differently)
  • Check the template root "index.php
  • Check the template root > layouts > blocks
3. Find the references to other JS and add a new line as follows:
Code:
$this->API->addJS($this->API->URLtemplate() . '/js/sortable.js');
4. Open the file: default.php in the following folder: components/com_osmembership/views/members/tmpl
5. Edit the following line 30:

from:
Code:
<table class="table table-striped table-bordered table-condensed">

to:
Code:
<table class="table table-striped table-bordered table-condensed sortable">
6. Upload this new file to the following: your_template/html/com_osmembership/members

Once all of these changes have been made and are in the correct places your entire table will be sortable.

Thanks,
James

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

More
9 years 3 months ago #56686 by hjames
Replied by hjames on topic Membership Pro
If you want to remove the subscription date or any other CORE coded field you can do so using CSS quite simply.

Follow these steps to hide the Subscription Date:
1. Open the file: default.php from the folder: components/com_osmembership/views/members/tmpl
2. Edit the following lines of code line44:
from:
Code:
<th class="center">
to:
Code:
<th class="center sub">
and Line 82:
from:
Code:
<td class="center">
to:
Code:
<td class="center sub">
3. Upload this new file to the following folder: your_template/html/com_osmembership/members
4. Open your templates, template.css file or alternatively if your template has a custom.css or override.css open it and add the following code at the end:
Code:
/*Hide Subscription Date on Members List*/ .center.sub { display: none; }

Now the subscription date should be hidden as well as its header.

Thanks,
James

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

More
9 years 3 months ago #56703 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership Pro

hjames wrote: For those of you who want to make your membership table sortable you can follow this quick guide:

1. Download the attached sortable.js file and upload it to templates/your_template/js
2. Open your templates file which references the "head: of the template (Different frameworks do this differently)

  • Check the template root "index.php
  • Check the template root > layouts > blocks
3. Find the references to other JS and add a new line as follows:
Code:
$this->API->addJS($this->API->URLtemplate() . '/js/sortable.js');
4. Open the file: default.php in the following folder: components/com_osmembership/views/members/tmpl
5. Edit the following line 30:

from:
Code:
<table class="table table-striped table-bordered table-condensed">

to:
Code:
<table class="table table-striped table-bordered table-condensed sortable">
6. Upload this new file to the following: your_template/html/com_osmembership/members

Once all of these changes have been made and are in the correct places your entire table will be sortable.

Thanks,
James


Thanks James for sharing the solution. However, I think this will only works for your site template as I don't see the command below in Joomla core API:
Code:
$this->API->addJS($this->API->URLtemplate() . '/js/sortable.js');

Tuan

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