jagdexperte.de Posted August 31, 2009 Report Share Posted August 31, 2009 So nun hab ich mal wieder einen Fehler. Habe einen Content mit einer Newsletteranmeldung angelegt, wenn ich diese jetzt öffnen und bearbeiten möchte kommt nur diese Fehlermeldung: \n',xtype: 'htmleditor'},{name: 'content_body_short_de',fieldLabel: 'Kurztext',xtype: 'htmleditor'},{name: 'url_text_de',value: 'de/Newsletter-Anmeldung',xtype: 'hidden'},{name: 'meta_title_de',fieldLabel: 'Meta Titel',width: 400,xtype: 'textfield'},{name: 'meta_description_de',fieldLabel: 'Meta Beschreibung',height: 60,width: 400,xtype: 'textarea'},{name: 'meta_keywords_de',fieldLabel: 'Meta Schlüsselwörter',width: 400,xtype: 'textfield'}],title: 'Deutsch',iconCls: 'de_icon',collapseFirst: true,bodyStyle: 'padding: 5px;',xtype: 'panel',layout: 'form'},{items: [{name: 'content_title_en',fieldLabel: 'Content Titel',width: '300',xtype: 'textfield'},{name: 'content_heading_en',fieldLabel: 'Content Name',width: '300',xtype: 'textfield'},{name: 'content_body_en',fieldLabel: 'Text',xtype: 'htmleditor'},{name: 'content_body_short_en',fieldLabel: 'Kurztext',xtype: 'htmleditor'},{name: 'url_text_en',value: 'Suma URL',xtype: 'hidden'},{name: 'meta_title_en',fieldLabel: 'Meta Titel',width: 400,xtype: 'textfield'},{name: 'meta_keywords_en',fieldLabel: 'Meta Schlüsselwörter',width: 400,xtype: 'textfield'},{name: 'meta_description_en',fieldLabel: 'Meta Beschreibung',height: 60,width: 400,xtype: 'textarea'}],title: 'English',iconCls: 'en_icon',collapseFirst: true,bodyStyle: 'padding: 5px;',xtype: 'panel',layout: 'form'}],activeTab: 0,deferredRender: false,enableTabScroll: true,defaults: {autoHeight: true,bodyStyle: 'margin:20px 10px',hideMode: 'offsets'},xtype: 'tabpanel'},{buttonAlign: 'center',xtype: 'panel'}],buttons: [{text: 'Speichern',handler: function(){ Ext.getCmp("contentselectedItem_1251724684-grideditform").getForm().submit({ url: 'adminHandler.php?load_section=content&pg=overview&parentNode=_pnl1251724656389_5722&edit_id=20&gridHandle=contentgridForm&edit_id='+selectedItem_1251724684+'&save=true', success: function(){contentTabs.remove(contentTabs.getActiveTab()); Ext.getCmp('contentgridForm').getStore().reload(); }, failure: function(){Ext.Msg.alert('HINWEIS','KEIN ERFOLG')}, waitMsg: 'Laden' });},icon: 'images/icons/disk_multiple.png',iconCls: 'x-btn-text',xtype: 'button'},{text: 'Übernehmen',handler: function(){ Ext.getCmp("contentselectedItem_1251724684-grideditform").getForm().submit({ url: 'adminHandler.php?load_section=content&pg=overview&parentNode=_pnl1251724656389_5722&edit_id=20&gridHandle=contentgridForm&edit_id='+selectedItem_1251724684+'&save=true', success: '', failure: function(){Ext.Msg.alert('HINWEIS','KEIN ERFOLG')}, waitMsg: 'Laden' });},icon: 'images/icons/disk.png',iconCls: 'x-btn-text',xtype: 'button'},{text: 'Abbrechen',handler: function(){ contentTabs.remove(contentTabs.getActiveTab()); ;},icon: 'images/icons/cancel.png',iconCls: 'x-btn-text',xtype: 'button'},{text: 'Neu Laden',handler: function(){ contentgridEditForm.getForm().load({url:'adminHandler.php?load_section=content&pg=overview&parentNode=_pnl1251724656389_5722&edit_id=20&gridHandle=contentgridForm&get_singledata=20', waitMsg:'Loading',method: 'GET'});},icon: 'images/icons/done.gif',iconCls: 'x-btn-text',xtype: 'button'}],id: 'contentselectedItem_1251724684-grideditform',labelAlign: 'left',labelWidth: 200,reader: new Ext.data.JsonReader({root: 'data',totalProperty: 'totalCount',id: 'content_id'}, [{name: 'content_id'},{name: 'content_parent'},{name: 'content_status'},{name: 'content_hook'},{name: 'content_form'},{name: 'content_image'},{name: 'link_ssl'},{name: 'content_sort'},{name: 'shop_1'},{name: 'group_permission_1'},{name: 'group_permission_2'},{name: 'group_permission_3'},{name: 'content_title_de',sortType: 'de'},{name: 'content_heading_de',sortType: 'de'},{name: 'content_body_de',sortType: 'de'},{name: 'content_body_short_de',sortType: 'de'},{name: 'content_file_de',sortType: 'exclude'},{name: 'url_text_de',sortType: 'de'},{name: 'meta_title_de',sortType: 'de'},{name: 'meta_description_de',sortType: 'de'},{name: 'meta_keywords_de',sortType: 'de'},{name: 'content_title_en',sortType: 'en'},{name: 'content_heading_en',sortType: 'en'},{name: 'content_body_en',sortType: 'en'},{name: 'content_body_short_en',sortType: 'en'},{name: 'content_file_en',sortType: 'exclude'},{name: 'url_text_en',sortType: 'en'},{name: 'meta_title_en',sortType: 'en'},{name: 'meta_keywords_en',sortType: 'en'},{name: 'meta_description_en',sortType: 'en'},{name: 'block_6'},{name: 'block_7'},{name: 'block_10'},{name: 'group_permission_info'},{name: 'shop_permission_info'}]),bodyStyle: 'background-color:#efefef; color:#000; padding: 5px;',renderTo: Ext.get('contentselectedItem_1251724684-grideditform')}); function doContentSeo(btn) { if(btn == 'yes') { var new_data = new Array(); var edit_data = new Array(); var records = new Array(); records = contentds.getModifiedRecords(); var record_ids = ''; for (var i = 0; i < records.length; i++) { if (records.get('selectedItem')) record_ids += records.get('content_id') + ','; } contentds.modified = []; if (record_ids == '') { record_ids = selectedItem_1251724684; } var conn = new Ext.data.Connection(); conn.request({ url: 'adminHandler.php?load_section=content&pg=overview&parentNode=_pnl1251724656389_5722&edit_id=20&gridHandle=contentgridForm&', method:'GET', params: {'m_ids': record_ids, multiFlag_rebuildSeo:'true' }, success: function(responseObject) { /* alert(Ext.encode(responseObject.responseText)); */ contentds.reload(); }, waitMsg: 'Laden', failure: function(){Ext.Msg.alert('HINWEIS','KEIN ERFOLG')} });} } }); wie bekomm ich diese wieder weg? Link to comment Share on other sites More sharing options...
df:bug Posted August 31, 2009 Report Share Posted August 31, 2009 Hallo, da ist "unsauberer" Code, welchen den Editor zerschießt. In der Datenbank direkt musst du den Eintrag "säubern". Viele Grüße df:bug Link to comment Share on other sites More sharing options...
jagdexperte.de Posted August 31, 2009 Author Report Share Posted August 31, 2009 Hallo, da ist "unsauberer" Code, welchen den Editor zerschießt. In der Datenbank direkt musst du den Eintrag "säubern". Viele Grüße df:bug und wie mach ich das ;) Link to comment Share on other sites More sharing options...
jagdexperte.de Posted August 31, 2009 Author Report Share Posted August 31, 2009 Sie möchten unseren kostenlosen Newsletter erhalten? Dann tragen Sie sich doch einfach in das untenstehende Feld ein.(kann jederzeit abgemeldet werden.)<br><br> <style> #cr_newsletter_registration { font:normal 12px Arial, Sans-Serif; background:#eee; width: 350px; padding:5px; border:1px solid #aaa; } #cr_newsletter_registration input, #cr_newsletter_registration textarea { border:1px solid #aaa; margin:1px; width:200px; } #country { border:1px solid #aaa; margin:1px; width:200px; } #cr_newsletter_registration label { float:left; display:block; width:120px; font-weight:bold; } </style> <form method="post" action="http://2959.cleverreach.de/subscribe.php" id="cr_newsletter_registration" onSubmit="return cr_check_input();" target="_top"> <label>Anrede: *</label> <input type="radio" name="salutation" id="salutation_1" value="Frau" style="width:12px;" />Frau <input type="radio" name="salutation" id="salutation_2" value="Herr" style="width:12px;" />Herr <br /> <label>Vorname: *</label> <input type="text" name="firstname" id="firstname" value="" /><br /> <label>Nachname: *</label> <input type="text" name="lastname" id="lastname" value="" /><br /> <label>E-Mail: *</label> <input type="text" name="email" id="email" value="" /><br /> <label> </label><input type="submit" name="subscribe" value=" Absenden "> <br /> <input type="hidden" name="form_id" value="2581" /> <input type="hidden" name="customers" value="10679" /> <input type="hidden" name="required" id="required" value="email,salutation,firstname,lastname," /> </form> <script type="text/javascript" src="http://2959.cleverreach.de/js/checkform.js"></script><noscript><a href="http://www.cleverreach.de" target="_blank" TITLE="E-Mail Marketing Software">E-Mail Marketing Software</a></noscript> momentan steht dies hier drin was ist denn hier falsch? Link to comment Share on other sites More sharing options...
Matthias Posted August 31, 2009 Report Share Posted August 31, 2009 Das Javaskript darf da nicht rein. Link to comment Share on other sites More sharing options...
habbelle Posted August 31, 2009 Report Share Posted August 31, 2009 Eigentlich schon ein bisschen doof. Jetzt gibts ein Cleverreach Plugin, aber den Newsletter Code kann man nicht mal in die Seite einfügen so wie er von cleverreach ausgegeben wird Ich hab nämlich schon seit Monaten das gleiche Problem Link to comment Share on other sites More sharing options...
jagdexperte.de Posted August 31, 2009 Author Report Share Posted August 31, 2009 Hi, also hab meine Änderung halt jetzt über die Datenbank gemacht dann lass ich es im Admin so wie es ist. MfG Matthias Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.