1
Catzwolf
Xoops Editor Documentation?
  • 2010/5/11 21:18

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


I've been trying to update the xoosla modules to use much of the newer parts of 2.4.4 and I seem to be hitting many brick walls, either through lack of documentation or bugs.

For some reason no matter what config options I use for the XoopsEditor class, only 1 option seems to work.

$options = array( 'name' => 'wfc_content',
    
'value' => $this->getVar'wfc_content''e' ),
    
'rows' => 35,
    
'cols' => 75,
    
'width' => '100%',
    
'height' => '400px'
    
);

$options_tray = new XoopsFormElementTray_MA_EWFC_PAGE_CONTENT ': ' $this->getVar'wfc_title' ), '<br />' );
$options_tray->setNocolspan);
$wfc_content = new XoopsFormEditor''wfp_getModuleOption'use_wysiwyg' ), $options$nohtml false$onfailure 'textarea' );
$options_tray->addElement$wfc_content );


Cols, width, and height do not seem to work no matter what I seem to do.

many thanks for the help :)

John

2
zyspec
Re: Xoops Editor Documentation?
  • 2010/5/11 21:40

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


John,

Have you tried just adding the XoopsFormEditor method straight into the form instead of putting it in a tray first? I know this won't let you use colspan but that would at least give you an idea of whether the XoopsFormElementTray was causing the problem...


3
Catzwolf
Re: Xoops Editor Documentation?
  • 2010/5/11 21:55

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Hiya Z,

This is a XoopsEditor issue passing on the config variables to the actual editors and not a form issue. I tried to bug fix this but I decided I needed to spend my time elsewhere.

So I wanted to see if anyone had the same issue and a possibloe bug fix.

4
Burning
Re: Xoops Editor Documentation?
  • 2010/5/11 22:09

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Maybe something related here ?
http://www.xuups.com/modules/publisher/item.php?itemid=19
Still learning CSS and... english

Login

Who's Online

267 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 267


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits