Hide Columns Front End Manage Subscriptions View

  • andybon
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 10 months ago #100057 by andybon
Can you help me hide 2 of the columns on the front end Manage Subscriptions view?

(with the Members List page I see there are config options to hide certain columns in the menu item options tab, but that doesn't seem to exist with the Manage Subscriptions page - so I'm hoping I can do an easy code tweak somewhere to achieve what I need)

I'm trying to hide the 'Plan' and 'Gross Amount' columns because in my case, with just 1 plan, these are always the same - so I'm trying to save some screen space for the other columns.

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

More
7 years 10 months ago #100078 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Columns Front End Manage Subscriptions View
For this, you will need to modify the layout yourself to remove the columns you don't want. Please open the file components/com_osmembership/view/subscribers/tmpl/default.php

You then should be able to edit the layout to remove these two columns

Regards,

Tuan

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

  • andybon
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 10 months ago - 7 years 10 months ago #100099 by andybon
Thanks.. but for some reason I cannot get this to work.

I've edited my components/com_osmembership/view/subscribers/tmpl/default.php but don't see any changes front-end

I tried refreshing / clearing browser memory. I then renamed the file on the server - expecting the page not to load - but it still did.

Is this definitely the right file path? Any idea why if I temporarily rename the file on the server, the page would still load?
Last edit: 7 years 10 months ago by andybon.

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

More
7 years 10 months ago #100115 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Columns Front End Manage Subscriptions View
Yes. That's correct path. Maybe the page was cached? Or someone made template override (move the file to your template before) ?

If you cannot figure it out, submit a support ticket so that I can ask my dev to check and correct it for you

Regards,

Tuan
The following user(s) said Thank You: andybon

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

  • andybon
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 10 months ago #100144 by andybon
Ah yes, that's helped me understand! A solution to one of my support tickets created a template override for this file.... so that's what the issue was.

All good now I understand, and your advice here helps me make the changes I need. Wonderful!

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

More
7 years 10 months ago #100158 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Columns Front End Manage Subscriptions View
Great !

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