All questions about EDocman extension

Change H1 Header titles

  • SolarStorm
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 3 weeks 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!

Please Log in or Create an account to join the conversation.

More
11 months 3 weeks 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

Please Log in or Create an account to join the conversation.

  • SolarStorm
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 3 weeks 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>&nbsp;<?php echo $heading; ?></h1>

and

<h1 class="edocman-page-heading"><?php echo $this->category->title;?>&nbsp;<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