1
littletern
Problem with editor in Mastop Publish version 1.0
  • 2007/3/21 13:34

  • littletern

  • Just popping in

  • Posts: 44

  • Since: 2005/6/5 2


I have just one big stress problem.
Backgound in form editor are the same like in theme CSS.
Take a look
http://www.jedanglas.org/share/pozadina.jpg

So, if any one know WHERE Mastop Publish calls style.css i will be happy.

I just want to change background in editor, but I can't find file where this CSS are calls...

2
frankblack
Re: Problem with editor in Mastop Publish version 1.0
  • 2007/3/21 16:17

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13



3
littletern
Re: Problem with editor in Mastop Publish version 1.0
  • 2007/3/22 10:31

  • littletern

  • Just popping in

  • Posts: 44

  • Since: 2005/6/5 2


ok, tnx

4
littletern
Re: Problem with editor in Mastop Publish version 1.0
  • 2007/3/22 11:58

  • littletern

  • Just popping in

  • Posts: 44

  • Since: 2005/6/5 2


Ok, BUT where is this file??
Where I can change content_css option??

Potential places are:
class/xoopseditor/tinymce/
class/xoopseditor/mastop_publish/
modules/mastop_publish/editor/tinymce/
modules/mastop_publish/extras/xoopseditor/mastop_publish/

5
littletern
Re: Problem with editor in Mastop Publish version 1.0
  • 2007/3/23 9:40

  • littletern

  • Just popping in

  • Posts: 44

  • Since: 2005/6/5 2


The answer that work come from franckblack:

you have to change the file
/class/xoopseditor/mastop_publish/formmpublishtextarea.php

there is already the tag for content_css

content_css : "'.XOOPS_THEME_URL.'/'.$GLOBALS['xoopsConfig']['theme_set'].'/style.css",


change it that way:

content_css : "http://www.yourdomain.com/editor.css",


take the content from style.css for the new editor.css and remove the background from the body (i assume). then you are done.

HTH

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits