building your own THEME EDITOR

Discussion in 'PHP' started by mz906, Jan 30, 2009.

  1. #1
    I'm looking for advice from anyone that has built their own "theme editor"?

    this would be similar to wordpress' theme editor, where the user has a textarea and they can enter php/html/css code that would over write a specific file.

    any advice would be greatful as well as links anyone can provide?
     
    mz906, Jan 30, 2009 IP
  2. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #2
    build a layout first.. then all css ids, and classes must be into 1 file..
    fopen(), fwrite(), fclose() functions will come in place..

    by using these functions you can edit the file within the website..
    on the other hand php editor in a webpage is not possible because it is on the server side..
     
    bartolay13, Jan 30, 2009 IP
  3. mz906

    mz906 Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks, for the reply, is it troublesome opening the file within a textarea? and saving out the contents of that textarea?
     
    mz906, Jan 30, 2009 IP
  4. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #4
    Not going to be troublesome.
    try google it you will find lots of useful information regarding this
     
    ads2help, Jan 30, 2009 IP