Форумы / Cotonti / Support / markItUp! preview background?

KillerSneak
#1 16.03.2009 10:28
So where can I alter the preview background? Or where does it take the backgroud from? I'm having issues witht the default backgroud view on my site.

I'm setting up my new cotonti install here:
http://new.donotargue.com

Before i go live:
http://www.donotargue.com

When i Hit the preview button on my site i get the main site background image as background :-( Hope someone can help me
Trustmaster
#2 16.03.2009 12:33
It tries to use your site's stylesheet in the preview iframe, but as I see now it would be more correct if you could set a TPL for the preview (which deserves being added to Trac tickets).

You could do a quick fix by editing plugins/markitup/markitup.ajax.php, here is the line that troubles you:
$style = '<link rel="stylesheet" type="text/css" href="skins/'.$skin.'/'.$skin.'.css" />'."\n";
May the Source be with you!
KillerSneak
#3 17.03.2009 02:53
yes thx, i put it to
$style = '<link rel="stylesheet" type="text/css" href="plugins/markitup/skins/style.css" />'."\n
And it works. I just have to redo some of the preview font's now to match the preview to the site template. Thx