Plans List Column Layout - titles without hyperlink to detail

  • Ezequiel Lidijover
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago #147039 by Ezequiel Lidijover
Hello, how can I do so that in Plans List Column Layout the titles (name of the plan) do not have a hyperlink to detail (I need that view only have the subscribe button)
Is there a simple way to adjust that or do I need to order it as a ticket?

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

More
3 years 2 months ago #147052 by Tuan Pham Ngoc
Hello

You can try to do the modification yourself:

1. Open the file components/com_osmembership/view/common/tmpl/columns_plans.php

2. Find the code below:
Code:
<a href="<?php echo $url; ?>" title="<?php echo $item->title; ?>"> <?php echo $item->title; ?> </a>

3. Change it to:
Code:
<?php echo $item->title; ?>

And it should work OK. When everything is done, you should move that modified file to PATH_TO_TEMPLATE/html/com_osmembership/common folder so that the change won't be lost when you update to future releases of the extension. PATH_TO_TEMPLATE is path to the template which you are using on your site

Regards,

Tuan

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

  • Ezequiel Lidijover
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago #147067 by Ezequiel Lidijover
Replied by Ezequiel Lidijover on topic Plans List Column Layout - titles without hyperlink to detail
thanks it worked perfectly

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

More
3 years 2 months ago #147073 by Tuan Pham Ngoc
Great. Remember to move the modified file to PATH_TO_TEMPLATE/html/com_osmembership/common as I said

Regards,

Tuan

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