- Posts: 4
- Thank you received: 0
Remove Online Donation from module and Menu Item
- Jemmyn Buchanan
- Topic Author
- Offline
- New Member
-
Less
More
9 years 2 months ago #74769
by Jemmyn Buchanan
Remove Online Donation from module and Menu Item was created by Jemmyn Buchanan
Is there a language override that I cause use to remove "Online Donation" from the top of Joom Donation module and menu item?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 2 months ago #74790
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Remove Online Donation from module and Menu Item
Hi
I think you can edit the code abit to remove the title. Please:
1. Open the file components/com_jdonation/view/donation/tmpl/default.php
2. Find this line of code and remove it
After that, it should work as expected
Tuan
I think you can edit the code abit to remove the title. Please:
1. Open the file components/com_jdonation/view/donation/tmpl/default.php
2. Find this line of code and remove it
Code:
<h1 class="jd-page-title"><?php echo JText::_('JD_DONATION'); ?></h1>
After that, it should work as expected
Tuan
Please Log in or Create an account to join the conversation.
- Jemmyn Buchanan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
9 years 2 months ago #74822
by Jemmyn Buchanan
Replied by Jemmyn Buchanan on topic Remove Online Donation from module and Menu Item
Thanks for your information. Based on what you posted here I was able to go into Languages under the Extensions menu then choose Overrides
I created a New Override with the Language Constant as JD_DONATION
Then I just saved it and it removed the text. This way when I upgrade as long as you keep JD_DONATION it will continue to work.
So far it seems to be a very good product and I am excited to use it for my clients.
I created a New Override with the Language Constant as JD_DONATION
Then I just saved it and it removed the text. This way when I upgrade as long as you keep JD_DONATION it will continue to work.
So far it seems to be a very good product and I am excited to use it for my clients.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 2 months ago #74893
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Remove Online Donation from module and Menu Item
Ah, OK. That's an option, too. But the down side is that there is still contains empty h1 tag in the output. But I guess that's not a big deal, so this solution is OK, too
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Jemmyn Buchanan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
9 years 2 months ago #74912
by Jemmyn Buchanan
Replied by Jemmyn Buchanan on topic Remove Online Donation from module and Menu Item
Indeed there is a gap at the top.
It would be great if there was an option to just disable it through your gui.
Thanks.
It would be great if there was an option to just disable it through your gui.
Thanks.
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2025 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.