Welcome, Guest
  • Author Topic: Form to textfile BUT using html formatting as well????  (Read 1480 times)

    3stripe

    • Seasoned Programmer
    • ***
    • Posts: 153
      • View Profile
      • www.3stripe.net
    Hello,

    I've just uploaded a flash site (http://www.dban.co.uk/flash_content.html) which pulls a lot of its text content from external text files.

    Now the client would like to be able to update these text files himself... so I was thinking I could modify the Form to Textfile example at http://www.flash-db.com/remoting/?serviceID=6&category=Tools so that he could update them himself.

    My problem though is what to do about the HTML formatting in these text files...

    The client is not a web designer so I don't think he will understand the HTML tags which I've used... does anyone know of a way to add some sort of dropdown menu to the interface so that he could select say a header, and then select 'HEADER' from the dropdown menu, which would then automatically add a <b> and </b> on either side of it? (pretty similar to the text formatting options on this message board i guess!) It would also be great if he could add in links etc too...

    Thanks for your time,

    James
    james@thirdeyedesign.co.uk

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Check http://www.flash-db.com/Components/?swfID=28&sComType=Text%20Editor
    Currently it loads from SO (i think) and can save into any other external source. If you can modify to load textfiles (not so difficult) could cover your needs.

    Jorge