![]() |
Forum category description is not displayed
|
You need to edit the display_Forums_list template and add this code just under the "category-header" code section on or about line 10. You can also add this code to the display_Forums_item template to display the description in the individual forum view. This CSS will also need to be written for the responsive view with @media queries
Code:
<tr> Code:
a.category-description { |
What is the process for making this work with version 5.1.10?
|
1 Attachment(s)
The code supplied by Replicant is good for vb5.1.10
Style manager> style name> edit templates> display templates> display_forum_list |
Thanks!
--------------- Added [DATE]1450711399[/DATE] at [TIME]1450711399[/TIME] --------------- One more question, how would I move over the txt right under the Heading? See below for an example https://vborg.vbsupport.ru/external/2015/12/13.png |
If you are using Replicant code the category description is wrap in link <a></a> which I think it may not actually serve the purpose as description as it is not link. We can change the link<a> to <div></div> or a<p></p> or any html tag that serve your purpose as text description.
1)so change first in Style manager> style name> edit templates> display templates> display_forum_list> Replace the replicant code with this one. Please see above screenshot in my first reply to see the exact location. HTML Code:
<tr> HTML Code:
.category-description { Try increase or decrease value as fit because I have not tested it. I prefer padding from margin. |
Awesome! Thank you very much for your time, I greatly appreciate your reply.
Saved me a lot of time and effort trying to figure this out. I also want to thank you for explaining the changes. |
Hi , i was trying on my forum , but doesn't work
|
Thank you
|
I am sorry it is still working with vb5.2.4
|
1 Attachment(s)
This template mod is verified working in 5.2.4. If you have short descriptions and want to save some realestate, you can slide the description in right next to the category by using a span in the existing line instead.
On or about line 8 in display_forum_list, you will find this code. Code:
<tr class="category-header" id="forum{vb:raw channel.nodeid}"> Code:
<tr class="category-header" id="forum{vb:raw channel.nodeid}"> |
Personally, I prefer to display the forum description over the category description to let users know what a forum channel is about. I think when posting, users will care more on what a forum channel is for rather than what a category is for.
I have a free mod for that which doesn't require editing templates. http://vbmods.rocks/forum/vbulletin-...g-an-ad-module |
All times are GMT. The time now is 03:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|