Beiträge von ansoho

    Guten Abend, hätte kurz zwei Fragen. Habe gerade meine Website veröffentlicht. Warum ist der Name in der Task Leiste nicht http://www.....de, sondern irgendwas mit hosting.zeta-producer.com. Ändert sich das noch?
    Und nach der Veröffentlichung ist mir aufgefallen, dass die Bilder nicht angezeigt werden und dort nur das Symbol eines angerissenen Bildes angezeigt wird. Wie kann ich das beheben?

    Ich habe ein Problem mit Zeta Producer 12.5. Ich bekomme die Fehlermeldung "Syntaxfehler Zeile 101, Spalte 8: if ( ) {" beim öffnen. Was bedeutet das ? Zu Mittwoch muss ich eine Website erstellt haben. Ich arbeite schon Tage dran und jetzt auf einmal kam diese Fehlermeldung. Ich habe keine Ahnung was das bedeutet und wie ich den Fehler beheben kann. Dazu wird mir beim öffnen vom Layout "Der Objekthinweis wurde nicht auf eine Objektinstanz festgelegt" angezeigt.
    Ich schicke ein paar Screenshots mit, ich habe vorher noch nie mit Zeta gearbeitet.

    Wenn ich bei Bild 1 unten auf Details gehe kommt das:
    ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.ErrorHandling.InterpreterException

    -----------------

    Skript-Fehler:
    ---------------
    Syntaxfehler
    ---------------
    Zeile 101, Spalte 8: if ( ) {
    ---------------
    Datei: C:\Users\BR\AppData\Local\Zeta Producer 12.5\packaging\layouts\Bella Responsive\templates\pages\default.html
    ---------------
    Quelltext:
    001: function ScriptExecutor635880449921597290() {}
    002:
    003:
    004: ScriptExecutor635880449921597290.prototype.executeScript = function(){
    005: // Start source file: 'C:\Users\BR\AppData\Local\Zeta Producer 12.5\packaging\layouts\Bella Responsive\templates\pages\default.html'.
    006: context.write("<!DOCTYPE html>\r\n<html class=\"no-js responsivelayout\" lang=\"de\">\r\n");
    007:
    008:
    009: var showEmptyArticleAreas = (system.preview && system.showEmptyPreviewAreas);
    010: var header = page.anyAreaArticles("Header") || showEmptyArticleAreas;
    011: var news = page.anyAreaArticles("News") || showEmptyArticleAreas;
    012:
    013:
    014: context.write("\r\n<head>\r\n\t<script type=\"text/javascript\">\r\n\t\tdocument.documentElement.className = document.documentElement.className.replace(/no-js/g, 'js');\r\n\t</script>\r\n\t");
    015:
    016: context.write( system.partial("webfont.html") );
    017:
    018: context.write("\r\n\t\r\n <title>");
    019:
    020: context.write( page.title );
    021:
    022: context.write("</title>\r\n\t<meta name=\"robots\" content=\"index, follow\" />\r\n\t<meta name=\"keywords\" content=\"");
    023:
    024: context.write( page.keywords );
    025:
    026: context.write("\" />\r\n\t<meta name=\"description\" content=\"");
    027:
    028: context.write( page.description );
    029:
    030: context.write("\" />\r\n\t<meta charset=\"");
    031:
    032: context.write( project.charset );
    033:
    034: context.write("\" />\r\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\r\n\t<meta name=\"generator\" content=\"");
    035:
    036: context.write( system.generator );
    037:
    038: context.write("\" />\r\n\t\r\n\r\n <!-- Favicon -->\r\n\t<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"\" />\r\n \r\n <!-- Bundled CSS -->\r\n\t");
    039:
    040: context.write( project.bundleCss() );
    041:
    042: context.write("\r\n\t\r\n\t");
    043:
    044: var additionalCss = page.attribute("additional_css");
    045: if ( additionalCss ) {
    046:
    047: context.write("\r\n\t\t");
    048:
    049: context.write( additionalCss );
    050:
    051: context.write("\r\n\t");
    052:
    053: }
    054:
    055: context.write(" \r\n \r\n <!-- Bundled JavaScript -->\r\n\t");
    056:
    057: context.write( project.bundleJs() );
    058:
    059: context.write("\r\n\r\n\t<!-- RSS -->\r\n\t");
    060:
    061: context.write( system.partial("rss.html") );
    062:
    063: context.write("\r\n \r\n <!-- Mobile JavaScript -->\r\n\t\r\n\t\r\n\t<!-- Analytics Code -->\r\n\t\r\n</head>\r\n\r\n<body id=\"bella-responsive\" class=\"notouch\">\r\n\t<div id=\"bg\" ");
    064:
    065: if ( page.attribute("pagebgcolor") && page.attribute("pagebgcolor") !== "transparent" ) {
    066:
    067: context.write("style=\"background-color: transparent;\"");
    068:
    069: }
    070:
    071: context.write(">\r\n\t\t");
    072:
    073: if ( page.attribute("pagebackgroundimage") ) {
    074:
    075: context.write("\r\n\t\t<img src=\"\" alt=\"\" class=\"bg\" />\r\n\t\t");
    076:
    077: } else if ( "" !== "" ) {
    078:
    079: context.write("\r\n\t\t<img src=\"\" alt=\"\" class=\"bg\" />\r\n\t\t");
    080:
    081: }
    082:
    083: context.write("\r\n\t</div>\r\n\t<a id=\"top\"></a>\r\n <div id=\"page\">\r\n \t<div id=\"sidebar\">\r\n \t\t<div id=\"nav\">\t\t\t\t\r\n\t\t\t\t");
    084:
    085: if ( page.attribute("search_field_visible") ) {
    086:
    087: context.write("\r\n\t\t\t\t\t");
    088:
    089: context.write( system.partial("searchfield.html", { "buttonImageSrc": "", "buttonClass": "zpsearchbutton", "useImageButton": true}) );
    090:
    091: context.write("\r\n\t\t\t\t");
    092:
    093: }
    094:
    095: context.write("\r\n\t\t\t\t\r\n\t\t\t\t");
    096:
    097: context.write( system.partial("mainmenu.html", { "ulClass":"touchhovermenu clickhovermenu", "activeClass":"active", "openClass":"open" }) );
    098:
    099: context.write("\r\n\t\t\t</div>\r\n\t\t\t\r\n\t\t\t");
    100:
    101: if ( ) {
    102:
    103: context.write("\r\n \t\t\t<button type=\"button\" id=\"mobilenavtoggle\" class=\"btn txt\" aria-label=\"Menü ein-/ausblenden\">\r\n \t\t\t\tMenü\r\n \t\t");
    104:
    105: } else {
    106:
    107: context.write("\r\n \t\t\t<button type=\"button\" id=\"mobilenavtoggle\" class=\"btn ham\" aria-label=\"Menü ein-/ausblenden\">\r\n\t\t\t\t\t<span class=\"first\"> </span>\r\n\t\t\t\t\t<span class=\"mid\"> </span>\r\n\t\t\t\t\t<span class=\"last\"> </span>\r\n\t\t\t");
    108:
    109: }
    110:
    111: context.write("\r\n\t\t\t\t</button>\r\n\t\t\t\r\n \t\t");
    112:
    113: if ( page.attribute("show_web_logo") && "" !== "" ) {
    114:
    115: context.write("\r\n\t\t\t\t<div id=\"logo\" ");
    116:
    117: context.write( system.partial('inline-editing-logo.html') );
    118:
    119: context.write(">\r\n\t\t\t\t\t<a class=\"logo\" href=\"");
    120:
    121: context.write( project.url );
    122:
    123: context.write("\"><img src=\"\" width=\"\" height=\"\" alt=\"");
    124:
    125: context.write( project.url );
    126:
    127: context.write("\" title=\"Mit Gewalt erreicht man keine Liebe. Boris Pasternak\" /></a>\r\n\t\t\t\t</div>\r\n\t\t\t");
    128:
    129: }
    130:
    131: context.write("\r\n\t\t\t\r\n\t\t\t");
    132:
    133: if ( page.attribute("show_web_name") && ( page.attribute("web_name") || page.attribute("web_name_slogan")) ) {
    134:
    135: context.write("\r\n\t\t\t\t<p class=\"webname\" ");
    136:
    137: context.write( system.partial('inline-editing-webtitle.html') );
    138:
    139: context.write(">\r\n\t\t\t\t\t");
    140:
    141: if ( page.attribute("web_name") ) {
    142:
    143: context.write("<b>Mit Gewalt erreicht man keine Liebe.</b>");
    144:
    145: if ( page.attribute("web_name_slogan") ) {
    146:
    147: context.write("<br />");
    148:
    149: }
    150:
    151:
    152: }
    153:
    154: context.write("\r\n\t\t\t\t\t");
    155:
    156: if ( page.attribute("web_name_slogan") ) {
    157:
    158: context.write("Boris Pasternak");
    159:
    160: }
    161:
    162: context.write("\r\n\t\t\t\t</p>\r\n\t\t\t");
    163:
    164: }
    165:
    166: context.write("\r\n \t</div>\r\n \t");
    167:
    168: if ( page.anyAreaArticles("Banner") || showEmptyArticleAreas ) {
    169:
    170: context.write("\r\n\t\t\t<div id=\"banner\">\r\n\t\t\t\t");
    171:
    172: context.write( system.partial("area.html", "Banner", 4) );
    173:
    174: context.write("\r\n\t\t\t</div>\r\n\t\t");
    175:
    176: }
    177:

    ich habe nicht alles gesendet, wäre ein bisschen zu lang.
    Das letzt was ich geändert habe war einmal, dass ich oben in der rechten Ecke einen Button eingefügt habe, der beim anklicken zu Google führt. Und, dass ich in der Layout-Ansicht bei der Fußzeile "Disqus" (bei mir Forum) den Hyperlink von Gelb auf Pink setzte.