Membership plan detail page layout

  • mcitc-group
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 2 weeks ago #112219 by mcitc-group
Membership plan detail page layout was created by mcitc-group
Hello Tuan,

On the detail page of the Membership plan, I would need to remove the table "Duration & Price". I believe is outdated and doesn't look very good in respect of aligning with the plan details information.

So, How I can remove that table permanently and to not be affected by future updates?

All the best and thanks's for your great support.

Mark

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

More
7 years 2 weeks ago #112220 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership plan detail page layout
Hi Mark

Try to look at components/com_osmembership/view/plan/tmpl/default.php file, you will see the code and can remove it

Once the modification is done, move the modified file to PATH_TO_TEMPLATE/html/com_osmembership/plan folder so that the change won't be lost when you update to future releases the extension

It's called template override in Joomla, read docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core

Regards

Tuan

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

  • mcitc-group
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 2 weeks ago #112221 by mcitc-group
Replied by mcitc-group on topic Membership plan detail page layout
Hi Tuan,

I already made the needed modification on the php file, but the part two I was not aware.
Thanks for your help and support.

Mark

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

  • mcitc-group
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 2 weeks ago #112222 by mcitc-group
Replied by mcitc-group on topic Membership plan detail page layout
Hi Tuan,

Unfortunately such folder path does not existent. So, I have to create and place the default.php on that folder to eliminate the overwriting ? Please advice.

Thanks for everything.
Mark

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

More
7 years 2 weeks ago #112224 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership plan detail page layout
Hi Mark

Yes, you will have to create the folders yourself.

Regards

Tuan

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