- Posts: 11
- Thank you received: 0
Remove Details button from Default layout
- Beckles
- Topic Author
- Offline
- New Member
Less
More
11 years 3 months ago - 11 years 3 months ago #35187
by Beckles
Remove Details button from Default layout was created by Beckles
Last edit: 11 years 3 months ago by Beckles. Reason: added screenshot
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
11 years 3 months ago #35242
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Remove Details button from Default layout
Hi Beck
Open the file modules/mod_membershipplans/tmpl/default.php, find the code below and remove it :
After that, the button will be removed !
Regards,
Tuan
Open the file modules/mod_membershipplans/tmpl/default.php, find the code below and remove it :
Code:
<li>
<a href="<?php echo $url; ?>">
<?php echo JText::_('OSM_DETAILS'); ?>
</a>
</li>
After that, the button will be removed !
Regards,
Tuan
The following user(s) said Thank You: Beckles
Please Log in or Create an account to join the conversation.
- Beckles
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
11 years 3 months ago #35296
by Beckles
Replied by Beckles on topic Re: Remove Details button from Default layout
Perfect! Thank you!
Please Log in or Create an account to join the conversation.
- Beckles
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
11 years 3 months ago #35299
by Beckles
Replied by Beckles on topic Re: Remove Details button from Default layout
Is there anyway to stop the Plan title from being hyperlinked as well?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
11 years 3 months ago #35328
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Remove Details button from Default layout
In the same file, find the code below :
Change it to :
After that, it will work as expected !
Regards,
Tuan
Code:
<a href="<?php echo $url; ?>" title="<?php echo $item->title; ?>">
<?php echo $item->title; ?>
</a>
Change it to :
Code:
<?php echo $item->title; ?>
After that, it will work as expected !
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.