• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: How To Eliminate Unneeded Page/Details Link

How To Eliminate Unneeded Page/Details Link 13 years 2 months ago #12689

  • paputxi
  • paputxi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
I must have something configured wrong.

From the front-end, one sees a membership being offered which has a Subscribe button and a Details link. However, clicking either of these takes the user to a second page that presents the same identical information as the previous page, except this time without the Details link. It's only after the user clicks the Subscribe button a second time does it take him/her to the registration/login page.

1. How do I eliminate the unnecessary middle step (second page) from appearing as it is not needed?
2. How can I eliminate the Details link from being displayed on the first page as it too is not needed?

Any advice would be greatly appreciated.

Thanks in advance.
The administrator has disabled public write access.

Re:How To Eliminate Unneeded Page/Details Link 13 years 1 month ago #13032

  • rexous
  • rexous's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi,

Had the same problem and found the solution.

1. Go to components/com_rsmembership/views/rsmembership/tmpl/default.php
2. Remove/Disable/ - line 47, 48 ,49

<?php if ($this->show_buttons == 1 || $this->show_buttons == 2) { ?>
<a href="<?php echo $link; ?>" class="readon"><?php echo JText::_('RSM_DETAILS'); ?></a>
<?php } ?>

Now the DETAILS button should be gone :)

Haven't figured out how to disable link to details page on the title yet but will post as soon as I find a solution.

Hope this helps.
The administrator has disabled public write access.

Re:How To Eliminate Unneeded Page/Details Link 13 years 1 month ago #13056

  • rexous
  • rexous's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
To disable the link to details page do the following:

1. go to \components\com_rsmembership\views\rsmembership\tmpl\default.php. Here around line 42 you will find the code line:

<h2 class="rsm_title contentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>"><?php if ($this->params->get('show_category', 0)) { ?><?php echo $item->category_id ? $item->category_name : JText::_('RSM_NO_CATEGORY'); ?> - <?php } ?><a href="<?php echo $link; ?>"><?php echo $item->name; ?></a> - <?php echo $price; ?></h2>

which you will have to change to:

<h2 class="rsm_title contentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>"><?php if ($this->params->get('show_category', 0)) { ?><?php echo $item->category_id ? $item->category_name : JText::_('RSM_NO_CATEGORY'); ?> - <?php } ?><?php echo $item->name; ?> - <?php echo $price; ?></h2>

This will eliminate the link to details page :)

Hope this helps
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!