Jump to content
xt:Commerce Community Forum

Fehlermeldungen Content


habbelle

Recommended Posts

Morgen!

Ich hab gerade ein Code-Schnipsel von cleverreach in einen Artikel (-> Contenmanager) eingefügt....jetzt geht nix mehr :( Kann nix mehr öffnen und ändern. Wenn ich richtig informiert bin, ist bei dem cleverreach code auch kein Java drin :confused: Was tun?

Hier mal die Fehlermeldung wenn ich nen Artikel öffne:

\n


Fotos


Infos


Logo


',xtype: 'htmleditor'},{name: 'content_body_short_de',fieldLabel: 'Kurztext',xtype: 'htmleditor'},{name: 'url_text_de',fieldLabel: 'Suma URL',width: 400,value: 'de/presse',xtype: 'textfield'},{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',fieldLabel: 'Suma URL',width: 400,xtype: 'textfield'},{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'},{buttons: [{text: 'Bilder hochladen',handler: function(){ var new_window = new Ext.Window({items: {title: '',autoScroll: true,autoLoad: {url: 'uploadFlash10.php',params: '&type=images',scripts: true,method: 'GET'},xtype: 'panel',layout: 'fit'},buttons: [{text: 'Schliessen',handler: function(){ new_window.close();},icon: 'images/icons/cancel.png',iconCls: 'x-btn-text',xtype: 'button'}],title: 'Content',width: 800,height: 400,minWidth: 300,minHeight: 200,resizable: true,closeAction: 'hide',plain: true,bodyStyle: 'padding:5px',buttonAlign: 'center',layout: 'fit'}); new_window.show();;},icon: 'images/icons/picture_add.png',iconCls: 'x-btn-text',xtype: 'button'}],buttonAlign: 'center',xtype: 'panel'}],buttons: [{text: 'Speichern',handler: function(){ Ext.getCmp("contentselectedItem_1244106391-grideditform").getForm().submit({ url: 'adminHandler.php?load_section=content&pg=overview&edit_id=19&edit_id='+selectedItem_1244106391+'&save=true', success: function(){contentTabs.remove(contentTabs.getActiveTab())}, 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&edit_id=19&get_singledata=19', waitMsg:'Loading',method: 'GET'});},icon: 'images/icons/done.gif',iconCls: 'x-btn-text',xtype: 'button'}],id: 'contentselectedItem_1244106391-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'}]),bodyStyle: 'background-color:#efefef; color:#000; padding: 5px;',renderTo: Ext.get('contentselectedItem_1244106391-grideditform')}); function insertImage(data) { var img = selectedImageItem_1244106391; contentgridEditForm.getForm().findField(img).setValue(data.name); Ext.DomHelper.overwrite(img + 'prewiew', { tag: 'img', src: data.url, style:'margin:10px;visibility:hidden;' }, true).show(true).frame(); } 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[i].get('selectedItem')) record_ids += records[i].get('content_id') + ','; } contentds.modified = []; if (record_ids == '') { record_ids = selectedItem_1244106391; } var conn = new Ext.data.Connection(); conn.request({ url: 'adminHandler.php?load_section=content&pg=overview&edit_id=19&', 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')} }); } } function insertFile(data) { var file = selectedFileItem_1244106391; contentgridEditForm.getForm().findField(file).setValue(data.name); } });
Und das ist der Code-Schnipsel von cleverreach:
<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://XXXX.cleverreach.de/subscribe.php" id="cr_newsletter_registration" onSubmit="return cr_check_input();" target="_top">













<label>E-Mail: *</label> <input type="text" name="email" id="email" value="" /><br />


<label> </label><input type="submit" name="subscribe" value=" Absenden ">

<br />

<label> </label><input type="radio" name="action" value="subscribe" style="width:12px;" checked> anmelden 

<input type="radio" name="action" value="unsubscribe" style="width:12px;"> abmelden<br /> 


<input type="hidden" name="form_id" value="1785" />

<input type="hidden" name="customers" value="8286" />

<input type="hidden" name="required" id="required" value="email," />

</form>

<script type="text/javascript" src="http://XXXX.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>

Wäre super wenn mir jmd nen Tipp geben könnte :) Und wenn man was an der db ändern muss, bitte auch gleich sagen WO genau hehe :)

Grüße

habbelle

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...