Module Title Online Donation H1
- Dave B
-
Topic Author
- Offline
- Platinum Member
-
Less
More
5 years 2 weeks ago #137486
by Dave B
Module Title Online Donation H1 was created by Dave B
Hello, when using a donation module on a page the module adds the "Online Donation" to the page, which is fine but it should not be an H1 tag. The H1 should be the page heading or whatever the page creator sets the H1 to be for SEO reasons. There should only be one H1 tag on any page. That needs to be what we set for SEO, this is hard coded and creates a double H1 tag.
Can the module be changed in a future release to be an H3 or set by us the users? Or have it removed as a setting? Hiding it with CSS is not an option.
Thank you
Can the module be changed in a future release to be an H3 or set by us the users? Or have it removed as a setting? Hiding it with CSS is not an option.
Thank you
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13255
- Thank you received: 1729
5 years 2 weeks ago #137492
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Module Title Online Donation H1
Hi,
You can modify Donation layout to replace H1 tag by H2 or H3, and Joom Donation supports template override feature, so you can create Donation layout in your Template folder and making modification in that layout replace H tag.
Find code in Donation layout
and change it to H2, or H3 based on your using purpose.
Good luck
Dam
You can modify Donation layout to replace H1 tag by H2 or H3, and Joom Donation supports template override feature, so you can create Donation layout in your Template folder and making modification in that layout replace H tag.
Find code in Donation layout
Code:
<h1 class="jd-page-title"><?php echo JText::_('JD_DONATION'); ?></h1>
Good luck
Dam
Please Log in or Create an account to join the conversation.
- Dave B
-
Topic Author
- Offline
- Platinum Member
-
5 years 3 days ago #137820
by Dave B
Replied by Dave B on topic Module Title Online Donation H1
I am going to need a bit more direction on what file to edit, etc.
I really don't understand why you won't just fix this anyway? It's not standard practice for any module to have an H1 title. No other developers do this.
I really don't understand why you won't just fix this anyway? It's not standard practice for any module to have an H1 title. No other developers do this.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13255
- Thank you received: 1729
5 years 2 days ago #137870
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Module Title Online Donation H1
root -> components -> com_jdonation -> view -> donation -> tmpl -> simpleflow_layout.php
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Dang Dam
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.