vForums Support > Programming & Coding :: Code Requests & Support :: > Topic description

Topic description - Posted By blanka (blanka) on 1st Aug 08 at 2:42am
http://support.virtualforums.co.uk/board/database/action/view_topic/topic/1464/#21065

Wrighty told me to make a thread a long time ago....

So basically i want it so that if they don't have a type in a description, the code would go into effect. If you get what i mean.

Re: Topic description - Posted By Ross (admin) on 1st Aug 08 at 7:28pm
Are you referring to something similar as we're using in the announcements board? Except without the pop-up?

http://support.virtualforums.co.uk/board/announcements/

Code:
 
  1. <td class="window1" width="6%" align="center">
  2.     <font size="2">
  3.         {topic_icon}
  4.     </font>
  5. </td>
  6. <td class="window2" width="54%">
  7.     <font size="2">
  8.         <span style="float: left;">
  9.             {new} {prefix}
  10.             <b>
  11.                 {topic_subject}
  12.             </b>
  13. <br />
  14. <span style="font-size: 11px; width: 320px; display: block;">
  15. {topic_description}
  16. </span>
  17.         </span>
  18.         <span style="float: right; font-size: 11px;">
  19.             Started by {topic_starter}
  20.         </span>
  21.         <br />
  22.         <span style="float: right; text-align: right; font-size: 11px; width: 120px;">{topic_time}</span>
  23.     </font>
  24. </td>
  25. <td class="window1" width="5%" align="center">
  26.     <font size="2">
  27.         {topic_replies}
  28.     </font>
  29.     <br />
  30.     <font size="1">
  31.         Replies
  32.     </font>
  33. </td>
  34. <td class="window1" width="5%" align="center">
  35.     <font size="2">
  36.         {topic_views}
  37.     </font>
  38.     <br />
  39.     <font size="1">
  40.         Views
  41.     </font>
  42. </td>
  43. <td class="window2" width="30%">
  44.     <font size="2">
  45.         {last_post_time} by {last_post_user}
  46. <br />
  47. {topic_pages}
  48.     </font>
  49. </td>
 


That would go into "Admin" -> "Manage Templates" -> "Topic Listing Templates" -> "Default Topic Template"