Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit

Started by Glenn at 10-10-2008 8:46 . Topic has 3 replies.

Print Search
Sort Posts:    
   10-10-2008, 8:46
Glenn is not online. Last active: 14.10.2008 09:44:42 Glenn

Top 500 Posts
Joined on 10-10-2008
Posts 2
Editor does not submit edited data
Reply Quote
Hi,

I got a problem, all the instances of pineditor in my cms don't submit edited data anymore. When i set text before hand and delete it or modify it and submit, it submitted the text that was set before hand without any modifications. If i don't set text before hand and i enter tekst and submit, nothing gets submitted.

I'm using the following configuration:


//Create instance of pinEdit(ID required):
$pinedit = new pinEdit('pinEditID1');

$pinedit->setLicenseKey('[left out license key]');   
            ## Begin pinedit configuratie !
           
            //Set Width and Height
            $pinedit->setPositionWidth('508px');
            $pinedit->setPositionHeight('500px');
            $pinedit->setText("test");
            //Set the Url to editor
            $pinedit->setEditorUrl('http://cms.traineeshipplaza.nl/pinedit/editor/');
            $pinedit->setDisplayStyle(PE_STYLE1);
            $pinedit->setHtmlMode(PE_BODY);
            $pinedit->setLanguage('NL');
            $pinedit->setReadMode(PE_READMODE_XHTMLBODY);
           
            $pinedit->setStyleSheetUrl($web_stylesheet);
           
            // pad naar plaatjes directory Gebruiker.
            $pinedit->setToolbar('T09100607086177SE04057673TETS157071SE78;T11601266SE1369148285TETS3536SE64;T20SE222324SE2526SE27282930SE31323334;B535455');
            $pinedit->setUserMode(PE_USERMODE_HTML);
           

            $pinedit->setControlPaste(true);
            $pinedit->setContextUrl('http://cms.traineeshipplaza.nl/pinedit/editor/');
            $pinedit->setDialogFilterLink('html;htm;txt;pdf;doc;ppt;pps;xls;mp3;exe;jpg;jpeg;gif;png;wma;wmv;');;


What went wrong?

Thanks in advance,

Glenn Glerum

   Report 
   10-10-2008, 11:09
Pintexx Support is not online. Last active: 10.11.2008 07:36:58 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.549
Re: Editor does not submit edited data
Reply Quote
Hello Glen,

please have a look at the post samples in evaluation.

Did you add the onsubmit event ?

Regards,
Hans-Peter
   Report 
   10-14-2008, 12:55
Glenn is not online. Last active: 14.10.2008 09:44:42 Glenn

Top 500 Posts
Joined on 10-10-2008
Posts 2
Re: Editor does not submit edited data
Reply Quote
Hi Hans-Peter,

All my forms have the onsubmit event, the strange thing is that only 2 of the editors that i have on the site don't work.

setText doesn't work either, i copied a working configuration but some how that doesn't work in this form either.

   Report 
   10-14-2008, 3:02
Pintexx Support is not online. Last active: 10.11.2008 07:36:58 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.549
Re: Editor does not submit edited data
Reply Quote
Hi Glenn,

do you use multiple editors on one page ?
Do 2 editors inside one page not work or different pages ?

Does any of the editor instances have a different id ?

If this does not help could you please send the page to support@pintexx.com ?

Regards,
Hans-Peter


   Report 
Pintexx Forum » Developer Produ... » pinEdit » Editor does not submit edited data