how to hide subscription plan on membership list

  • ken adcock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #58062 by ken adcock
I want to show the members list but hide the plan each is subscribed to. I did not see that option anywhere. Also I would like to hide the details button when all of the text is in the short description and there is no text in the description field.

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

More
9 years 3 months ago #58087 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic how to hide subscription plan on membership list
Hi Ken

You will need to edit the code to remove the column and the button.

I want to show the members list but hide the plan each is subscribed to


=> The file you need to modify is components/com_osmembership/views/members/tmpl/default.php

Also I would like to hide the details button when all of the text is in the short description and there is no text in the description field.


=> You will need to modify code. Depend on the layout you are using, you will need to modify code of one of the files in components/com_osmembership/views/common folder

Tuan

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

  • ken adcock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #58091 by ken adcock
Replied by ken adcock on topic how to hide subscription plan on membership list
Thanks for the quick reply, Tuan. I wasn't sure if there was a toggle or configuration step I missed.

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

More
9 years 3 months ago #58133 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic how to hide subscription plan on membership list
Unfortunately, we don't have that config option. However, modifying the code is not hard in this case, just take few minutes. If you could not do the modification to remove the column yourself, you can submit a support ticket asking us modify it for you

Tuan

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

  • ken adcock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 3 months ago #58148 by ken adcock
Replied by ken adcock on topic how to hide subscription plan on membership list
I found a modded file you had on another post. It worked great. Thanks!

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

More
9 years 3 months ago #58171 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic how to hide subscription plan on membership list
That's great. Congratulations !

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