Forums
This topic is locked
ASP Content Management System - HELP!
Posted 05 Dec 2001 20:07:46
1
has voted
05 Dec 2001 20:07:46 ian Kennedy posted:
<font face='Verdana'><font size=2>I am developing a content management system for a large site and have run into a problem.I have a database (Access 2000) with the following fields: <b>ID</b>(autonumber, key); <b>cms_poc</b>(email address for the point of contact); <b>cms_doctype</b> (specifies whether the document should be listed under memos, press releases, etc.); <b>cms_title</b> (single line title for a listings page); <b>cms_headline</b> (displays headline in h1 tag); <b>cms_content</b> (a multiline memo field in which the content of the memo, press release, whatever is stored); and <b>cms_date</b> (stores the date the record was inserted).
This is the problem: the data in the <b>cms_content</b> field writes to the page with no formatting whatsoever, not even line breaks. This happens even when I include html tags around the text submitted via form (this simply formats the text in the 'view source pages).
The code I am using to write to the document is this <font color=red><font face='Courier New'>rs_cms.Fields.Item("cms_content".Value)</font id='Courier New'></font id=red> (sorry, couldn't figure our how to write asp and html tags without them running...)
I want the administrators to be able to format their documents with bold, italic, etc... In fact, the system for posting here on UDZone is *awesome* and I would love to be able to build something similar. In the meantime, I just need something relatively basic.
If this is too long to post here, you can email me at .
Thanks in advance,
Ian Kennedy
</font id='Verdana'></font id=size2>
Replies
Replied 06 Dec 2001 18:01:41
06 Dec 2001 18:01:41 Joel Martinez replied:
well, you can use the same system that UDZone uses for their CMS
The Public Domain Online HTML Editor
www.udzone.com/showDetail.asp?TypeId=3&NewsId=578
Good stuff... either that, or check this FAQ out
www.udzone.com/showDetail.asp?TypeId=7&NewsId=1247
Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/
The Public Domain Online HTML Editor
www.udzone.com/showDetail.asp?TypeId=3&NewsId=578
Good stuff... either that, or check this FAQ out
www.udzone.com/showDetail.asp?TypeId=7&NewsId=1247
Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/