Results 1 to 5 of 5

Thread: Modifying openWYSIWYG

  1. #1
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Modifying openWYSIWYG

    1) Script Title: openWYSIWYG

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...iwyg/index.htm

    3) Describe problem:

    I am using ver. 1.4.7 (available here) with PHP / MySQL to add content to a website I am using. I am having issues with the table portion of openWYSIWYG. I select the border styles I would like to see, generally solid. However, tables always come through with a 'dashed' border.

    If possible, I would like to modify openWYSIWYG to ONLY use 'solid #000000' borders instead of the 'dashed #AAAAAA' that keep coming out.

    Any help is appreciated.

    Thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    As I've replied to several questions,
    This script is incredibly complex in the way it is written, so any modifications are a huge amount of work. The original creators are also unresponsive, though you might have a better chance if you went through their site.
    I'm not sure what to suggest.

    It's a powerful script, but basically as-is at this point, as modifications are so difficult.
    This might help, as a sidenote:
    http://www.dynamicdrive.com/forums/s...ead.php?t=9295

    Sorry I don't have a better answer for you.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Damn

    What a pain.

    I like the script, it does everything I need. I was just hoping to there was an easy fix for forcing the borders to be solid.

    How difficult do you believe it would be to achieve this with PHP?

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Replacing that with PHP wouldn't be all that hard at all, I don't think.
    str_replace('find','replace',$string);
    Just search for enough info, like all of border=".....", rather than just the value AAAAAA, etc.

    However, if you want to look at the source for the JS, that doesn't seem impossible to change in the first place. Do a search for that current value (in notepad, for example, ctrl+f), then just change it. Since this is a value, rather than a functional piece of the code, it may not be hard to change. Changing how the code operates is tough; changing it's content is a bit easier-- hard part there is just finding it.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Cool. I'll look into it further a bit later.

    Thanks for your help

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
  •