The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forum category description is not displayed
|
#2
|
||||
|
||||
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> <td colspan="4"><a class="category-description">{vb:raw channel.description}</a></td> </tr> Code:
a.category-description { background: #F0F0F0; float: left; color: black!important; width: 100%; } |
Благодарность от: | ||
MarkFL |
#3
|
|||
|
|||
What is the process for making this work with version 5.1.10?
|
#4
|
|||
|
|||
The code supplied by Replicant is good for vb5.1.10
Style manager> style name> edit templates> display templates> display_forum_list |
#5
|
|||
|
|||
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 |
#6
|
|||
|
|||
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> <td colspan="4"><div class="category-description">{vb:raw channel.description}</div></td> </tr> HTML Code:
.category-description { padding-left:14px; } Try increase or decrease value as fit because I have not tested it. I prefer padding from margin. |
Благодарность от: | ||
MarkFL |
#7
|
|||
|
|||
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. |
Благодарность от: | ||
MarkFL |
#8
|
||||
|
||||
Hi , i was trying on my forum , but doesn't work
|
#9
|
|||
|
|||
Thank you
|
#10
|
|||
|
|||
I am sorry it is still working with vb5.2.4
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|