Solved: 7 Years, 7 Months, 4 Weeks ago Wrapping the category description in a <p>
#1
Solved: 7 Years, 7 Months, 4 Weeks ago
Is it possible to wrap the category description in a paragraph ? As in, when there's a description.

I don't want the paragraph to show when there's no description.

Thanks.

Edit: and also for the forums description..
Reply
#2
Solved: 7 Years, 7 Months, 4 Weeks ago
You can use the Template Conditionals plugin: http://mybbhacks.zingaburga.com/forumdisplay.php?fid=29

Activate it, then for example in forumbit_depth2_forum change {$forum['description']} to:
<if $forum['description'] then><p>{$forum['description']}</p></if>
Reply
#3
Solved: 7 Years, 7 Months, 4 Weeks ago
Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)