URL des Scripts ändern?
Moderator: mirko
Re: URL des Scripts ändern?
da kann ich auch nicht weiterhelfen, das ist ein deiner eigenen Dateien. Irgendwer muss diese doch erstellt haben und wissen wo die URL eingefügt wird, z.B. mal die Newsletter_files/Newsletter.js im Texteditor anschauen.
Re: URL des Scripts ändern?
Ja, in der HTML Datei wird ja ein Script aufgerufen, der Link steht da nicht in Klarschrift
in der HTML steht keine URL, die wird von irgendwas erzeugt, Beispiel:
---Schnipp
---Schnapp
In der Ausgabe am Server erscheint damit über dem Sendeknopf folgendes:
Und ich bekomme nicht heraus, wo er sich die URL zieht, weil die eigentlich nicht mehr in Gebrauch ist.
in der HTML steht keine URL, die wird von irgendwas erzeugt, Beispiel:
---Schnipp
Code: Alles auswählen
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Generator" content="iWeb 3.0.4" />
<meta name="iWeb-Build" content="local-build-20141023" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="viewport" content="width=800" />
<title>Immer gut informiert bleiben ...</title>
<link rel="stylesheet" type="text/css" media="screen,print" href="Newsletter_files/Newsletter.css" />
<!--[if lt IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='Newsletter_files/NewsletterIE.css'/><![endif]-->
<!--[if gte IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='Media/IE8.css'/><![endif]-->
<style type="text/css">
/*<![CDATA[*/
@import "Scripts/Widgets/HTMLRegion/Paste.css";
/*]]>*/
</style>
<script type="text/javascript" src="Scripts/iWebSite.js"></script>
<script type="text/javascript" src="Scripts/iWebImage.js"></script>
<script type="text/javascript" src="Scripts/Widgets/SharedResources/WidgetCommon.js"></script>
<script type="text/javascript" src="Scripts/Widgets/Navbar/navbar.js"></script>
<script type="text/javascript" src="Scripts/iWebMediaGrid.js"></script>
<script type="text/javascript" src="Scripts/Widgets/HTMLRegion/Paste.js"></script>
<script type="text/javascript" src="Newsletter_files/Newsletter.js"></script>
</head>
<body style="background: rgb(255, 255, 255) url(Newsletter_files/AA031429_bkgrnd.jpg) repeat scroll top left; margin: 0pt; " onload="onPageLoad();" onunload="onPageUnload();">
<div style="text-align: center; ">
<div style="margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 10px; overflow: hidden; position: relative; word-wrap: break-word; text-align: left; width: 800px; " id="body_content">
<div style="background: transparent url(Newsletter_files/backgroundimage_1.jpg) no-repeat scroll center center; width: 800px; ">
<div style="height: 75px; margin-left: 0px; position: relative; width: 800px; z-index: 10; " id="header_layer">
<div style="height: 0px; line-height: 0px; " class="bumper"> </div>
<div style="height: 50px; width: 600px; height: 50px; left: 50px; position: absolute; top: 25px; width: 600px; z-index: 1; " class="tinyText style_SkipStrokeSkipFillSkipOpacity">
<div style="position: relative; width: 600px; "></div>
</div>
<div style="height: 50px; width: 710px; height: 50px; left: 0px; position: absolute; top: 25px; width: 710px; z-index: 1; " class="tinyText style_SkipStrokeSkipFillSkipOpacity">
<div style="position: relative; width: 710px; ">
<img src="Newsletter_files/shapeimage_1.png" alt="Immer gut informiert bleiben ..." style="height: 34px; left: 0px; margin-left: 139px; margin-top: 12px; position: absolute; top: 0px; width: 433px; " />
</div>
</div>
<div style="height: 75px; width: 702px; height: 75px; left: 39px; position: absolute; top: 24px; width: 702px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
<img src="Newsletter_files/doodle_header-1.png" alt="" style="border: none; height: 75px; width: 702px; " />
</div>
</div>
<div style="margin-left: 0px; position: relative; width: 800px; z-index: 0; " id="nav_layer">
<div style="height: 0px; line-height: 0px; " class="bumper"> </div>
<div style="height: 1px; line-height: 1px; " class="tinyText"> </div>
<div class="com-apple-iweb-widget-navbar flowDefining" id="widget0" style="margin-left: 25px; margin-top: 14px; opacity: 1.00; position: relative; width: 730px; z-index: 1; ">
<div id="widget0-navbar" class="navbar">
<div id="widget0-bg" class="navbar-bg">
<ul id="widget0-navbar-list" class="navbar-list">
<li></li>
</ul>
</div>
</div>
</div>
<script type="text/javascript"><!--//--><![CDATA[//><!--
new NavBar('widget0', 'Scripts/Widgets/Navbar', 'Scripts/Widgets/SharedResources', '.', {"path-to-root": "", "navbar-css": ".navbar {\nfont-family: Verdana, sans-serif;\nfont-size: .75em;\ncolor: #007398;\nline-height: 26px;\ntext-align: center;\nfont-weight: bold;\n}\n\n.navbar-bg { }\n\n.navbar ul {\nlist-style: none;\nmargin: 0px;\npadding: 7px 7px 0px 7px;\n}\n\n.navbar li {\ndisplay: inline;\npadding: 10px;\n}\n\n.navbar a {\ntext-decoration: none;\ncolor: #007398;\npadding: 10px 0px 10px 25px;\n}\n\n.noncurrent-page a:visited {\ntext-decoration: none;\ncolor: #007398;\npadding: 10px 0px 10px 25px;\n}\n\n.noncurrent-page a:hover {\ntext-decoration: none;\ncolor: #FF0000;\npadding: 10px 0px 10px 25px;\n}\n\n.current-page a\n{\ntext-decoration: none;\ncolor: #FF0000;\npadding: 10px 0px 10px 25px;\nbackground-image: url(Newsletter_files\/nav_star_on-c-1.png);\n_background-image: url(Newsletter_files\/nav_star_on.png);\nbackground-repeat: no-repeat;\nbackground-position: 0px 6px;\n}\n", "current-page-GUID": "3195D139-0DDC-4692-9481-9C8E183210A5", "isCollectionPage": "NO"});
//--><!]]></script>
<div style="clear: both; height: 0px; line-height: 0px; " class="spacer"> </div>
</div>
<div style="margin-left: 0px; position: relative; width: 800px; z-index: 5; " id="body_layer">
<div style="height: 0px; line-height: 0px; " class="bumper"> </div>
<div id="id1" style="height: 25px; left: 41px; position: absolute; top: 215px; width: 628px; z-index: 1; " class="style_SkipStroke_1 shape-with-text">
<div class="text-content graphic_shape_layout_style_default_External_628_25" style="padding: 0px; ">
<div class="graphic_shape_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="Title">SVO - Newsletter Anmelden</p>
</div>
</div>
</div>
<div style="height: 110px; width: 64px; height: 110px; left: 642px; position: absolute; top: 434px; width: 64px; z-index: 1; " class="tinyText style_SkipStroke_2">
<img src="Newsletter_files/swirl-group1.png" alt="" style="border: none; height: 110px; width: 64px; " />
</div>
<div style="height: 136px; width: 161px; height: 136px; left: 593px; position: absolute; top: 179px; width: 161px; z-index: 1; " class="tinyText style_SkipStroke_3 stroke_1">
<img src="Newsletter_files/SVO%20LOGO%202014.jpg" alt="" style="border: none; height: 136px; width: 161px; " />
</div>
<div id="id2" style="height: 153px; left: 39px; position: absolute; top: 23px; width: 624px; z-index: 1; " class="style_SkipStroke_4 shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_624_153" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-top: 0pt; " class="paragraph_style">Liebe SVO-Fans, <br /></p>
<p class="paragraph_style"><br /></p>
<p style="padding-bottom: 0pt; " class="paragraph_style">Solingen Von oben hat einen Newsletter. Dort gibt es noch mehr Infos über SVO und vor allem: Fotos in hoher Auflösung (das geht ja bei fb leider nicht - aber keine Sorge: SVO auf fb läuft auch weiter ...). Natürlich kostenlos, natürlich nur Infos von SVO und natürlich wie immer: Mit viel Liebe in meiner Freizeit erstellt. Wenn ihr euch registrieren wollt, dann tragt euren Namen unten bei „Anmelden“ ein und zu eurer Sicherheit müsst ihr dann bitte noch in eurem Posteingang auf den Bestätigungs-Link klicken - und schon seid ihr dabei :-)</p>
</div>
</div>
</div>
<div class="com-apple-iweb-widget-HTMLRegion" id="widget1" style="height: 407px; left: 42px; opacity: 1.00; position: absolute; top: 253px; width: 540px; z-index: 1; ">
<script type="text/javascript"><!--//--><![CDATA[//><!--
var widget1_htmlMarkupURL = ".//Newsletter_files/widget1_markup.html";
//--><!]]></script>
<div id="widget1-htmlRegion" class="html_region_widget"></div>
</div>
<script type="text/javascript"><!--//--><![CDATA[//><!--
new Paste('widget1', 'Scripts/Widgets/HTMLRegion', 'Scripts/Widgets/SharedResources', '.', {"emptyLook": false});
//--><!]]></script>
<div style="height: 660px; line-height: 660px; " class="spacer"> </div>
</div>
<div style="height: 100px; margin-left: 0px; position: relative; width: 800px; z-index: 15; " id="footer_layer">
<div style="height: 0px; line-height: 0px; " class="bumper"> </div>
<div id="id3" style="height: 31px; left: 82px; position: absolute; top: 34px; width: 674px; z-index: 1; " class="style_SkipStroke_4 shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_674_31" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_1">Seite vom 07.10.2014 c</p>
</div>
</div>
</div>
<div style="height: 8px; width: 722px; height: 3px; left: 40px; position: absolute; top: 25px; width: 719px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 719px; ">
<img src="Newsletter_files/shapeimage_2.png" alt="" style="height: 8px; left: 0px; margin-top: -2px; position: absolute; top: 0px; width: 722px; " />
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
In der Ausgabe am Server erscheint damit über dem Sendeknopf folgendes:
Code: Alles auswählen
<form target="_top" method="post" action="http://www.solingen-von-oben.de/sml/nl.php">
<input name="MailingListId" value="1" type="hidden">
<input name="FormId" value="1" type="hidden">
<input name="FormEncoding" value="iso-8859-1" type="hidden">
<br>
Re: URL des Scripts ändern?
in den eigenen Dateien z.B. einer newsletter.html muss man natürlich zusätzlich den http://-Aufruf ändern, das geht doch nicht von selbst.
Re: URL des Scripts ändern?
Leider klappt das bloße Ändern in der config_path.inc.php nicht ganz, wenn ich in der newsletter.html mir den "Absenden" Knopf angucke, steht da immer noch die alte URL-Adresse drinnen, ich bin fast jede Zeile in den Dateien durchgegangen, ich finde einfach nicht, wo man das noch ändern kann.
Das Script ist ja auf dem gleichen Server geblieben, ich habe "nur" eine andere Domain darauf verlinkt. Hat noch jemand einen Typ?
Das Script ist ja auf dem gleichen Server geblieben, ich habe "nur" eine andere Domain darauf verlinkt. Hat noch jemand einen Typ?
Re: URL des Scripts ändern?
Browsercache leeren und nochmals probieren, wird ein Cache-Problem sein, wenn alles korrekt in der config_paths.inc.php geändert ist.
URL des Scripts ändern?
Hallo zusammen,
ich suche verzweifelt eine Möglichkeit bei einer bestehenden und funktionierenden Installation die URL für das Hauptverzeichnis und das Script zu ändern. Die beiden Pfade in der config_path.inc.php habe ich geändert, jetzt läuft auch alles unter der neuen URL, beim Klicken auf "Senden" erscheint jedoch eine Fehlerseite der alten URL das die /sml/nl.php nicht gefunden wurde.
Weiß jemand, was ich noch ändern muß damit alles unter einer anderen URL aufrufbar bleibt?
Vielen Dank schon einmal und vg
Jürgen
ich suche verzweifelt eine Möglichkeit bei einer bestehenden und funktionierenden Installation die URL für das Hauptverzeichnis und das Script zu ändern. Die beiden Pfade in der config_path.inc.php habe ich geändert, jetzt läuft auch alles unter der neuen URL, beim Klicken auf "Senden" erscheint jedoch eine Fehlerseite der alten URL das die /sml/nl.php nicht gefunden wurde.
Weiß jemand, was ich noch ändern muß damit alles unter einer anderen URL aufrufbar bleibt?
Vielen Dank schon einmal und vg
Jürgen