STATEMENT meiner Christine:
Herzlichen Dank erst einmal für die vielen Tipps, bin gerade dabei,
diese umzusetzen.
Bezüglich des Parser, musste ich diesen in die navigation.ccml
einfügen. Ich habe dies im w2d-Forum entommen und gestern auch
nochmal bestätigt bekommen. In w2d selbst kann man den html-Code
nicht bearbeiten.
Problem ist nur, dass noch nicht alle Seiten als php gespeichert
sind, so dass man dort im Hintergrund die Zeichen sieht. Ich mache
mich jetzt daran und speichere alle Seiten als php, ich denke dass
damit die Sache gelöst ist.
Der Aufbau der Seiten wird in den ccml-Dateien in w2d programmiert
und die Seiten dann beim Erzeugen entsprechend ausgeworfen.
Sieht so aus (hier hatte ich allerdings schon alle <br>:
<cc:*>
--------------------------------------------------
Web2Date
Layout: Skyline 19.03.08
Datei: navigation.ccml
Funktion: Hauptnavigation
--------------------------------------------------
</cc:*>
<cc:if cond="&topic.isshop">
<?php
$data_path = '<cc:print value="&site.shopdata">';
$filename = '<cc:print value="&page.content.filename">';
require('<cc:print value="&myshopscript.url">');
?>
</cc:if>
<!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" lang="de" xml:lang="de">
<head>
<title><cc:print value="&page.content.caption"></title>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1" />
<meta http-equiv="expires" content="0" />
<meta name="copyright" content="Thomas Oberholz"/>
<meta name="author" content="<cc:print value="&site.metaauthor">" />
<meta name="description" content="<cc:print
value="&page.content.metadescription">" />
<meta name="keywords" lang="<cc:print value="&site.metalang">"
content="<cc:print value="&page.content.metakeywords">" />
<meta name="generator" content="Web2Date BASIC" />
<cc:if cond="&site.rss.url">
<link href="<cc:print value="&site.rss.url">" rel="alternate"
type="application/rss+xml" title="<cc:print
value="&site.rss.caption">" />
</cc:if>
<cc:if cond="&site.favicon.url">
<link rel="shortcut icon" href="<cc:print value="&site.favicon.url">"
/>
</cc:if>
<link rel="stylesheet" type="text/css" href="<cc:print
value="&myfontstyle.url">" />
<link rel="stylesheet" type="text/css" href="<cc:print
value="&mydesignstyle.url">" />
<link rel="stylesheet" type="text/css" href="<cc:print
value="&mycontentstyle.url">" />
<cc:if cond="&topic.isshop">
<link rel="stylesheet" type="text/css" href="<cc:print
value="&myshopstyle.url">">
</cc:if>
</head>
<body>
<div id="zentrieren"><!--START zentrierte Darstellung-->
<cc:if cond="&site.plaintextfile"><div id="plaintext"><a
href="<cc:print value="&site.plaintextfile">"><cc:print
value="&site.ressource.plaintext"></a></div></cc:if>
<div id="bg2"></div><a id="top" name="top"></a>
<div id="youarehere"><!--START homebutton-->
<a href="<cc:print value="&home.url">"><cc:print
value="&site.ressource.home"></a>
<cc:if cond="&page.maintopic.number">
<a class="next" href="<cc:print
value="&page.maintopic.url">"><cc:print
value="&page.maintopic.caption"></a>
</cc:if>
<cc:if cond="&page.topic.number">
<a class="next" href="<cc:print value="&page.topic.url">"><cc:print
value="&page.topic.caption"></a>
</cc:if>
<cc:if cond="&page.subtopic.number">
<a class="next" href="<cc:print
value="&page.subtopic.url">"><cc:print
value="&page.subtopic.caption"></a>
</cc:if>
</div><!--Ende Homebuttone-->
<div id="main"><!--START maintopics-->
</div><!--ENDE maintopics-->
<div id="eyecatcher"></div>
<div id="nav">
<cc:loop type="maintopic" obj="mymaintopic">
<a class="maintopic" href="<cc:print
value="&mymaintopic.url">"><cc:print value="&mymaintopic.caption"></a>
<cc:if cond="&mymaintopic.ispagemaintopic">
<cc:loop type="topic" obj="mytopic" maintopic="&mymaintopic.number">
<a <cc:if cond="&mytopic.isexactpagetopic"> </cc:if>
<a class="topic" href="<cc:print value="&mytopic.url">"><cc:print
value="&mytopic.caption"></a>
<cc:if cond="&mytopic.ispagetopic">
<cc:loop type="subtopic" obj="mysubtopic"
maintopic="&mymaintopic.number" topic="&mytopic.number">
<a <cc:if cond="&mysubtopic.ispagesubtopic"></cc:if>
<a class="subtopic" href="<cc:print
value="&mysubtopic.url">"><cc:print value="&mysubtopic.caption"></a>
</cc:loop> <!--ENDE subtopic-->
</cc:if>
</cc:loop> <!--ENDE topic-->
</cc:if>
</cc:loop> <!--ENDE maintopic-->
<br /><br />
<br />
<cc:loop type="commonpages" obj="mycommonpage">
<a href="<cc:print value="&mycommonpage.url">"><cc:print
value="&mycommonpage.caption"></a>
</cc:loop>
<br />
<cc:if cond="&topic.isshop">
<cc:if cond="&site.showmemo"><a href="<cc:print
value="&site.memofile"><?php echo '?basket_id='.$basket->session_id;
?>"><cc:print value="&site.ressource.memoshow"></a></cc:if>
<a href="<cc:print value="&site.basketfile">"><cc:print
value="&site.ressource.showbasket"></a>
<a href="<cc:print value="&site.shippingfile"><?php echo
'?basket_id='.$basket->session_id; ?>"><cc:print
value="&site.ressource.basketcheckout"></a>
<a href="<cc:print value="&site.userfile"><?php echo
'?basket_id='.$basket->session_id; ?>"><cc:print
value="&site.ressource.shop.user"></a>
<cc:if cond="&site.tsid">
<p><form name="formSiegel" method="post"
action="https://www.trustedshops.de/de/tshops/seal_de.php3"
target="_blank">
<input name="shop_id" type="hidden" value="<cc:print
value="&site.tsid">">
<input type="image" border="0" src="<cc:printpictureurl
obj="pic.tslogo">" alt="<cc:print value="&site.ressource.tslogo">"
name="Seal" align="middle" width="90" height="90">
<a target="_blank" href="http://www.trustedshops.de/"><br /><cc:print
value="&site.ressource.tslink"><br /><br /></a>
</form></p>
</cc:if>
</cc:if>
<br />
<br />
</div>
<cc:if cond="&site.ftsfile">
</cc:if>
<cc:if cond="&sidebar.count gt 0"><!--wenn eine Sidebar, dann-->
<div id="content"><!--Start Content--><cc:else>
<div id="contentfull"><!--Start Contentinhalte full window-->
</cc:if> <a id="textinhalt" name="textinhalt"></a>
<cc:print value="&page.content.text">
</div><!--Ende Content-->
<cc:if cond="&sidebar.count gt 0">
<div id="sidebar"><!--START Sidebar-->
<cc:loop type="sidebar" obj="mysidebar">
<cc:if cond="&mysidebar.caption"><h1><cc:print
value="&mysidebar.caption"></h1></cc:if>
<div class="sb"><cc:print value="&mysidebar.text"><br />
</div>
</cc:loop>
</div><!--ENDE Sidebar-->
</cc:if>
</div><!--ENDE zentrierte Darstellung-->
<?php
if (!function_exists("ob_get_clean")) {
function ob_get_clean() {
$ob_contents = ob_get_contents();
ob_end_clean();
return $ob_contents;
}
}
$content=ob_get_clean();
$content=str_replace("<br>","<br />",$content);
echo $content;
?>
</body>
</html>
Weiterhin gibt es css-Dateien, die Ihr ja auch online sehen könnt.
Das Problem ist, dass ich im Moment sowohl im Design als auch in der
Gestaltung arbeite, so dass Thomas nicht - wie es schön heißt in w2d
differenziell - die Seiten erstellen kann sondern immer vollständig.
Wenn dies einmal behoben ist und die Seite steht, werden wir
natürlich nur noch geänderte Seiten hochladen und ich kann dann den
eigentlichen Code im Editor bearbeiten. In w2d selbst kann man den
html-Code der einzelen Seiten nicht bearbeiten.
Ich hatte mir zum bearbeiten der Quellcodes, Phase 5 und Weaverslave
aus dem Netz geholt. Bin damit zufrieden, da ich ja noch nie eine HP
direkt in einem Editor erstellen musste.
So, nun muss ich Eure wertvollen Tipps weiter abarbeiten.