Ändern eines Artikels und Abspeichern nicht mehr möglich
-
- Beiträge: 8
- Registriert: Do 14. Jun 2007, 17:56
- Kontaktdaten:
Ändern eines Artikels und Abspeichern nicht mehr möglich
Hi,
ich habe seit einigen Tagen bei meiner Contenido Version 4.6.15 das Problem, dass ich bei dem Versuch einen Artikel zu ändern zwar auf den Bereich komme, in dem ich auf die Buttons Überschrift ändern/HTML Modus/Save klicken kann allerdings passiert beim Anklicken nichts.
Im Internet Explorer bekomme ich die Fehlermeldung, dass in Zeile1 Spalte1 ein Fehler sei.
Die Errorlog von Contenido ist leer - das Problem besteht auch im Firefox etc.
Hatte einer von euch schonmal so ein Problem?
Vielen Dank für eure Mithilfe im Voraus,
Tom
ich habe seit einigen Tagen bei meiner Contenido Version 4.6.15 das Problem, dass ich bei dem Versuch einen Artikel zu ändern zwar auf den Bereich komme, in dem ich auf die Buttons Überschrift ändern/HTML Modus/Save klicken kann allerdings passiert beim Anklicken nichts.
Im Internet Explorer bekomme ich die Fehlermeldung, dass in Zeile1 Spalte1 ein Fehler sei.
Die Errorlog von Contenido ist leer - das Problem besteht auch im Firefox etc.
Hatte einer von euch schonmal so ein Problem?
Vielen Dank für eure Mithilfe im Voraus,
Tom
-
- Beiträge: 8
- Registriert: Do 14. Jun 2007, 17:56
- Kontaktdaten:
Die Fehlerkonsole von Firefox sagt:
Fehler: setcontent is not defined
Quelldatei: javascript:setcontent('183','front_content.php?action=10&idcat=92&idart=168&idartlang=183&type=CMS_HTML&typenr=1&contenido=3160d46f0ddc25e870811a3045121b10');
Zeile: 1
Das kommt ja auch mit dem IE überein - der findet ja auch in Zeile1 einen Fehler - aber in welcher Datei...
Fehler: setcontent is not defined
Quelldatei: javascript:setcontent('183','front_content.php?action=10&idcat=92&idart=168&idartlang=183&type=CMS_HTML&typenr=1&contenido=3160d46f0ddc25e870811a3045121b10');
Zeile: 1
Das kommt ja auch mit dem IE überein - der findet ja auch in Zeile1 einen Fehler - aber in welcher Datei...
damit das insiteediting funktioniert muss </head> und </body> vorhanden sein...
wird ziemlich sicher unter style - layout fehlen...
wird ziemlich sicher unter style - layout fehlen...
*** make your own tools (wishlist :: thx)
-
- Beiträge: 8
- Registriert: Do 14. Jun 2007, 17:56
- Kontaktdaten:
ähm im quellcode der editor seite
-> befindet sich da eine javascript funktion setcontent ?
oder noch besser poste einfach mal den teil bis <body....>
-> befindet sich da eine javascript funktion setcontent ?
oder noch besser poste einfach mal den teil bis <body....>
*** make your own tools (wishlist :: thx)
ach, gottchen! hat er auch den selben fehler ?pixmac hat geschrieben:Habe das gleiche Problem, nur dass es bei mir nur bei Healines auftritt?!
könnte er die fragen, die da in den raum gestellt wurden, vielleicht auch beantworten... ? ginge das ?
nehme nicht an, dass er dies schon überprüft hätte... oder doch ?
*** make your own tools (wishlist :: thx)
ja kann er!!!
</head> und </body> sind vorhanden und wie gesagt, bei text geht's ja also muss die funktion ja auch da sein???!
Der Code bis zum body
Da ist die funktion auch da.
</head> und </body> sind vorhanden und wie gesagt, bei text geht's ja also muss die funktion ja auch da sein???!
Der Code bis zum body
Code: Alles auswählen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="http://localhost/CONTENIDO_MUM/cms/">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Master of Science in Urban Management</title>
<!--<style type="text/css" media="screen">@import "./css/mum_styles.css";</style>//-->
<link rel="stylesheet" href="./css/mum_styles.css" type="text/css" media="screen" />
<link rel="stylesheet" href="./css/sIFR-screen.css" type="text/css" media="screen" />
<link rel="stylesheet" href="./css/sIFR-print.css" type="text/css" media="print" />
<script src="./js/sifr.js" type="text/javascript"></script>
<script src="./js/sifr-addons.js" type="text/javascript"></script>
<script src="./js/mum_functions.js" type="text/javascript"></script>
<script type="text/javascript">
try {
/* Check if we are in a dual-frame or a quad-frame */
if ( parent.parent.frames[0].name == "header")
{
if ( parent.frames["right_top"].document.getElementById("c_3") ) {
menuItem = parent.frames["right_top"].document.getElementById("c_3");
parent.frames["right_top"].sub.click(menuItem);
}
} else {
/* Check if submenuItem is existing
and mark it */
if ( parent.parent.frames["right"].frames["right_top"].document.getElementById("c_3") ) {
menuItem = parent.parent.frames["right"].frames["right_top"].document.getElementById("c_3");
parent.parent.frames["right"].frames["right_top"].sub.click(menuItem);
}
}
} catch (e)
{}
</script>
<script language="javascript">
// searches the classname in the td above or the tr above
function getCellClass(element) {
var el = document.getElementById(element);
var cell = el.offsetParent;
// if there is a classname in the td return the classname
if ( cell.className != '' ) {
return cell.className;
}
// set a flag in this td
if ( cell.id == '' ) {
cell.id = 'yes';
var flg = 'yes'
} else {
var flg = cell.id;
}
//else go to the tagname table above and search dowen for the tr tags
while (el.tagName != 'TABLE') {
el = el.offsetParent;
}
var elements = el.getElementsByTagName('TR');
//go thrue all tr tags
for (var row in elements) {
if (isNaN(elements[row])) {
var cells = elements[row].getElementsByTagName('TD');
for (var id in cells) {
if (isNaN(cells[id])){
// check if the flg(td cell) is in this tr if true return the calssname
if (cells[id].id==flg&&elements[row].className != '') {
return elements[row].className;
}
}
}
}
}
return false;
}
function setcontent(idartlang, act) {
if (document.all) {
document.getElementsByTagName = function (str) {
if (str=="*")
return document.all;
else
return document.all.tags(str);
}
}
var a = document.getElementsByTagName("*");
var str = '';
var aId = '';
// loop through all elements
for (var i=0; i < a.length; i++) {
aId = a[i].id;
if (aId != '' && typeof aId == 'string') {
var aIdPrefix = aId.substr(0,4);
// search for the id which containes HTML
if (aIdPrefix == 'HTML') {
// check if its an 'contentEditable' Field
if (a[i].isContentEditable == true) {
// split the idname in data
var data = aId.split("_");
// data[0] is the fieldname * needed
// data[1] is the idtype
// data[2] is the typeid * needed
// read out the content
var aContent = prepareString(a[i].innerHTML);
// build the string which will be send
str += buildDataEntry(idartlang , data[0] , data[2] , aContent);
}
}
}
}
// set the string
document.forms.editcontent.data.value = str + document.forms.editcontent.data.value;
// set the action string
if ( act != 0 ) {
document.forms.editcontent.action = act;
}
// if there are 3 arguments, the className has to be seached
if (arguments.length > 2){
//search the class of the above element
var classname = getCellClass(arguments[2]);
if ( classname ) {
document.forms.editcontent.con_class.value = classname;
}
}
// submit the form
document.forms.editcontent.submit();
}
function prepareString(aContent) {
if ( aContent == " " || aContent == "" ) {
aContent = "%$%EMPTY%$%";
} else {
// if there is an | in the text set a replacement chr because we use it later as isolator
while( aContent.search(/\|/) != -1 ) {
aContent = aContent.replace(/\|/,"%$%SEPERATOR%$%");
}
}
return aContent;
}
function buildDataEntry(idartlang, type, typeid, value) {
return idartlang +'|'+ type +'|'+ typeid +'|'+ value +'||';
}
function addDataEntry(idartlang, type, typeid, value) {
document.forms.editcontent.data.value = (buildDataEntry(idartlang, type, typeid, prepareString(value) ) );
setcontent(idartlang,'0');
}
</script>
<script src="http://localhost/CONTENIDO_MUM/contenido/external/mozile/mozileLoader.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
-
- Beiträge: 3626
- Registriert: Di 12. Okt 2004, 20:00
- Wohnort: Voerde (Niederrhein)
- Kontaktdaten:
Nimm mal die sIFR-Sachen raus aus dem Layout:
und schau, ob es dann funktioniert.
Code: Alles auswählen
<script src="./js/sifr.js" type="text/javascript"></script>
<script src="./js/sifr-addons.js" type="text/javascript"></script>
-
- Beiträge: 8
- Registriert: Do 14. Jun 2007, 17:56
- Kontaktdaten:
Code: Alles auswählen
erledigt
Zuletzt geändert von tomwin2000 am So 24. Jun 2007, 22:37, insgesamt 1-mal geändert.
@tomwin2000
nimm das raus
nimm das raus
Code: Alles auswählen
<base target="_top">
*** make your own tools (wishlist :: thx)
-
- Beiträge: 8
- Registriert: Do 14. Jun 2007, 17:56
- Kontaktdaten:
das ist eine intime frage
also momentan
san benedetto acqua minerale naturale

also momentan
san benedetto acqua minerale naturale
*** make your own tools (wishlist :: thx)
sorry, hat ein bisschen gedauert, war mit anderen dingen beschäftigt
habe nun das
rausgenommen, bringt aber nix. 
Wo kommt eigentlich das
her?? und wo muss ich das eliminieren?
habe nun das
Code: Alles auswählen
<script src="./js/sifr.js" type="text/javascript"></script>
<script src="./js/sifr-addons.js" type="text/javascript"></script>

Wo kommt eigentlich das
Code: Alles auswählen
<base href="http://localhost/CONTENIDO_MUM/cms/" />