Forum closed. New forum available at http://community.wymeditor.org/

iframeHTML

Discuss features, code, contributions, ideas, suggestions, ...
For bugs, patches and feature requests, please post on the Trac:
http://trac.wymeditor.org/

iframeHTML

Postby hinch on Mon Jan 21, 2008 6:15 pm

I use a file called wymcfg.php to generate lots of stuff for WYMeditor, such as file and link lists but this is troubling me.

I usually just edit the iframe.html manually to include basepath but I wanted to use something abit more dyanamic in my config.

This however just breaks WYMeditor...

Is there anyone who has used iFrameHTML before successfully? Do I need to modify my iframe.html at all?

Code: Select all
iframeHtml:  "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'"
            + " 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>"
            + "<html><head>"
            + "<title>WYMeditor</title>"
            + "<link rel='stylesheet' type='text/css' media='screen' href='wymiframe.css' />"
            <?php echo "+ \"<base href='$baseurl' />\""; ?>
            + "</head>"
            + WYM_IFRAME_BODY
            + "</html>",
hinch
 
Posts: 8
Joined: Wed Sep 19, 2007 5:06 pm

Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest