Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    6
    Member #
    15362
    I have a job site in development where my clients will be entering in long job descriptions.
    We are using a simple text area for now, but that is clumping everyone's paragraphs into one lump and also not recognizing URLs.
    I see other sites like eLance that have a simple posting interface that retains the intended layout of the poster, as well as URLs.
    Any advice on what I should work with?

  2.  

  3. #2
    Senior Member Steax's Avatar
    Join Date
    Dec 2006
    Location
    Bandung, Indonesia
    Posts
    1,207
    Member #
    14572
    Hang on - what CMS is this?

    If its your own, then it has to do with how your site's server-side code handles database entries. This should really be in its appropriate section.

    If you were to use PHP, its just a matter of applying the function nl2br(). For HTML, it should be parsed normally, but to allow the use of HTML characters like & and <, usually they are encoded too. It really depends on where your problem is..
    Note on code: If I give code, please note that it is simply sample code to demonstrate an effect. It is not meant to be used as-is; that is the programmer's job. I am not responsible to give you support or be held liable for anything that happens when using my code.

  4. #3
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    There are many advanced editors for HTML, but as Steax said, it depends on what you want. I think one of the neatest and simplest solutions is to apply something like textile to your text. Textile also lets you apply HTML markup in a very clean, easy way in plain text while you're at it.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:56 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com