- Posts: 12
- Thank you received: 0
All questions about EDocman extension
Change H1 Header titles
- SolarStorm
- Topic Author
- Offline
- New Member
Less
More
1 year 7 months ago #157916
by SolarStorm
Change H1 Header titles was created by SolarStorm
Good evening,
I'd like to know if the following are possible:
1) How do I limit the amount of text shown for sub-categories description ?
2) How I can change the H1 header titles used for categories/subcategories to H2 or something else?
Many thanks once again!
I'd like to know if the following are possible:
1) How do I limit the amount of text shown for sub-categories description ?
2) How I can change the H1 header titles used for categories/subcategories to H2 or something else?
Many thanks once again!
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
1 year 7 months ago #157950
by Mr. Dam
Replied by Mr. Dam on topic Change H1 Header titles
Hi,
1. You can enter value for configure option: "Number words of category description to be shown" in Edocman Configuration -> Tab: Themes to limit number words showing.
2. If you want to change H1 tag to H2 in Categories page, you can modify layout file: root -> components -> com_edocman -> view -> categories -> tmpl -> default.php
You can make overrides layout for that file in current using template to avoid overridden in future.
Thanks
Dam
1. You can enter value for configure option: "Number words of category description to be shown" in Edocman Configuration -> Tab: Themes to limit number words showing.
2. If you want to change H1 tag to H2 in Categories page, you can modify layout file: root -> components -> com_edocman -> view -> categories -> tmpl -> default.php
You can make overrides layout for that file in current using template to avoid overridden in future.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- SolarStorm
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
1 year 7 months ago #157959
by SolarStorm
Replied by SolarStorm on topic Change H1 Header titles
Hello Dam,
Thanks for the reply.
I changed from H1 > H3 the following tags in the default.php file, but it didn't make any difference:
<h1 class="edocman-page-heading"><i class="edicon edicon-folder-open"></i> <?php echo $heading; ?></h1>
and
<h1 class="edocman-page-heading"><?php echo $this->category->title;?> <i class="edicon edicon-rss"></i></h1>
Can you please advise what I might have missed?
Also, how do you create an overide template so that the changes are not overridden in the future?
Many thanks,
Thanks for the reply.
I changed from H1 > H3 the following tags in the default.php file, but it didn't make any difference:
<h1 class="edocman-page-heading"><i class="edicon edicon-folder-open"></i> <?php echo $heading; ?></h1>
and
<h1 class="edocman-page-heading"><?php echo $this->category->title;?> <i class="edicon edicon-rss"></i></h1>
Can you please advise what I might have missed?
Also, how do you create an overide template so that the changes are not overridden in the future?
Many thanks,
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
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.