SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict
    Join Date
    Dec 2001
    Posts
    395
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Content Management

    I have a question, how do I creat the form where a client can change the details of a page? I know how to do everything, except that I want to make a box like this one where the can do paragraphs and it will show exatly like that on the page? also I see that this box makes you line break after a certain number of characters, how do I do that as well? Thanks for your help, Sean.

  2. #2
    SitePoint Addict
    Join Date
    Jan 2002
    Location
    NJ/NY
    Posts
    346
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The box is just the <textarea> form tag. You can use the nl2br function to generate the line breaks:
    http://us2.php.net/nl2br

  3. #3
    SitePoint Member
    Join Date
    Aug 2004
    Location
    Chicago, IL, USA
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you mean the format editing like on sitepoint, where it lets you choose font, size, etc.

    In which case, i know they are out there, but I dont have the slightest idea how.

  4. #4
    SitePoint Guru Husain's Avatar
    Join Date
    Sep 2001
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by grendel_x86
    I think you mean the format editing like on sitepoint, where it lets you choose font, size, etc.

    In which case, i know they are out there, but I dont have the slightest idea how.
    If that is what you are looking for, have a look at SPAW Editor. It only works in IE though.

  5. #5
    SitePoint Addict Chillijam's Avatar
    Join Date
    Nov 2003
    Location
    England
    Posts
    293
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I used WYSIWYG pro on several projects, and it works in more than just IE, too.
    Your mind is like a parachute. It works best when open.
    (HH The Dalai Lama)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •