13 May 2008


Google
www
www.trowbridge.gov.uk

Test News Page

ContentWorx 2 Demo Page

This page is designed to show you how ContentWorx 2 works.

Several "tags" are recognised, which are as follows:
  • <**RENDERHEADLINE**>
    Displays a rendered headline (image) of the current news article


  • <**HEADLINE**>
    Displays a non-rendered headline (plaintext) of the current news article


  • <**SYNOPSIS**>
    Displays the summary of the news article (if provided)


  • <**DATEPOSTED**>
    Displays the date/time the article was originally written


  • <**CONTENT**>
    Displays the full content of the news article


  • <**AUTHOR**>
    Displays the original author of the news article


  • <**USERNAME**>
    Displays the system username of the person who created the news article (not normally used)


  • <**ITEMNUMBER**>
    Displays the current news article position in the total number available


  • <**ITEMCOUNT**>
    Displays the total number of news articles in the database


  • <**TABLE_<tablename>:<border>:<headercolor>:<headerbgcol>:<padding>:<font face>:<font size>**>
    Displays a user-created table. "tablename" specifies the name of the user-created table in the database, "headercolor" is a hexidecimal RRGGBB representation of the first row column foreground (font) colour, "headerbgcol" is a hexidecimal RRGGBB representation of the first row background colour. "padding" is the pixel spacing between each row/column, "font face" is the font used to create the table, "font size" is the size of this font face.

Example output

<!-- ContentWorx START -->
<center>
<table width=600 cellpadding=1 cellspacing=0 border=0>
<tr><td align="left" valign="top" bgcolor="#DADADA">
<table width="100%" cellpadding=5 cellspacing=0 border=0>
<tr><td align="left" valign="top" bgcolor="#AAAAAA">
<tr>
   <td align="left" valign="top" bgcolor="#FFFFFF"><font face="Verdana" SIZE=2><b><**RENDERHEADLINE**></b></font></td>
</tr>
<tr>
   <td align="right" valign="top" bgcolor="#FFFFFF"><font face="Verdana" SIZE=1 COLOR="#A5A5A5"><**DATEPOSTED**> by <**USERNAME**></font></td>
</tr>
<tr>
   <td align="left" valign="top" bgcolor="#FFFFFF">
   <table width="100%" cellpadding=5 cellspacing=0 border=0>
   <tr>
      <td width=50><!-- Padding --></td>
      <td align="left" valign="top"><font face="Courier" size="2"><**CONTENT**></font></td>
   </tr>
   <tr><td colspan="2" height="15"><!-- Padding --></td></tr>
<**IFTABLE**>
   <tr>
      <td width=50><!-- Padding --></td>
      <td align="left" valign="top"><font face="Verdana" size="1"><**TABLE:1:FFFFFF:2222FF:5:Tahoma:9**></font></td>
   </tr>
<**ENDIFTABLE**>
   </table>
   </td>
</tr>
</table>
</td></tr>
<tr>
   <td height=5><!-- Padding --></td>
</tr>
</table>
</center>
<!-- ContentWorx END -->


Welcome to the Trowbridge Community Website
04/08/2004 10:22:17 by counciladmin

Cultural Fayre
Thursday 5 June
~~~~~


Find out about a Choral Workshop taking place in June
~~~~~~


21st Anniversary Celebrations
Can you help?
~~~~~

weekend of entertainment in June
Community Spotlight &
Veterans Day Celebrations.


~~~~~~~~~~~~~~~~~


Help make Trowbridge "blooming marvellous".

Open to gardeners, artists & photographers
New Photography Competition
Entry Forms available

Businesses can get involved too.

~~~~~~~~~~~

COMMUNITY AREA PLAN
Click on the image below to access  the latest update to the Area Plan.
 
  You can also 
view the orginal community plan, find out the  latest news  and  become involved ....
~~~~~~~~~


This is the bottom of the page, which - like the top - is not dynamic.
Website design by WEBcouk