Zum Inhalt springen

MARKER

Erstellt am 11. April 2005 · 32 Antworten · letzte Antwort am 12. April 2005 · Seite 1 von 2

Tags: Frage

dezimal ·

hallo zusammen,

also hab folgendes prob hab eine html vorlage in der ich den marker ###INHALT### gesetzt habe leider wird der marker nicht übernommen??
siehe http://basic-net.dyndns.org/

#SETUP sieht so aus:

page = PAGE
page.typeNum = 0
page.bodyTag =
page.stylesheet = fileadmin/templates/style2/style.css
page.meta.AUTHOR =
page.meta.DESCRIPTION = Hier steht eine Beschreibung
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/templates/style2/template.htm

workOnSubpart = DOKUMENT

marks.INHALT = CONTENT
marks.INHALT < styles.content.get
marks.INHALT.select.orderBy = sorting
}
config.simulateStaticDocuments = 1
config.simulateStaticDocuments = PATH_INFO
config.simulateStaticDocuments_noTypeIfNoTitle = 1
config.simulateStaticDocuments_addTitle = 36
config.absRefPrefix = http://basic-net.dyndns.org/
}

wer kann mir helfen

tymo3 ·

probiere es mal so:

page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/templates/style2/template.htm

workOnSubpart = DOKUMENT

marks.INHALT = CONTENT
marks.INHALT < styles.content.get
marks.INHALT.select.orderBy = sorting
}

theo ·

du hast zwei schließende klammern, die nirgendwo geöffnet wurden.
da fehlen schlichtweg mittendrin zeilen.
lies dir dein setup nochmal durch und vergleiche es mit der setup-struktur aus der dokumentation... 😉

dezimal ·

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Your Company Website</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body leftmargin=0 topmargin=0 marginheight="0" marginwidth="0" bgcolor="#FF6633">
<!-- ###DOKUMENT### begin -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="fileadmin/templates/style2/images/3_fon.gif">
<tr>
<td width="728" valign="top">
<table width="728" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="728"><img src="fileadmin/templates/style2/images/main01.jpg" width="780" height="130"></td>
</tr>
<tr>
<td height="14" valign="top">
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="533"><img src="fileadmin/templates/style2/images/but01.gif" width="104" height="44"><img src="fileadmin/templates/style2/images/separator.gif" width="1" height="44"><img src="fileadmin/templates/style2/images/but02.gif" width="106" height="44"><img src="fileadmin/templates/style2/images/separator.gif" width="1" height="44"><img src="fileadmin/templates/style2/images/but03.gif" width="106" height="44"><img src="fileadmin/templates/style2/images/separator.gif" width="1" height="44"><img src="fileadmin/templates/style2/images/but04.gif" width="106" height="44"><img src="fileadmin/templates/style2/images/separator.gif" width="1" height="44"><img src="fileadmin/templates/style2/images/but05.gif" width="106" height="44"><img src="fileadmin/templates/style2/images/separator.gif" width="1" height="44"></td>
<td><img src="fileadmin/templates/style2/images/main02.jpg" width="247" height="44"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="100%" height="174" background="fileadmin/templates/style2/images/fon01.gif"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td bgcolor="#FF9966">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<form action="" method="post">
<tr>
<td background="fileadmin/templates/style2/images/fon_top01.gif" width="211" height="66">
<p class="right" style="color: #FFFFFF; margin-top: 10px; margin-bottom: -10px;"><img src="fileadmin/templates/style2/images/e02.gif" width="16" height="16" alt="" border="0" align="absmiddle">&nbsp;&nbsp;QUICK SEARCH</p>
<div style="margin-left: 10px; padding-top: -10px;">
<input type="Text" name="" value="" size="10"><input type="Image" src="fileadmin/templates/style2/images/b_go.gif" width="22" height="28" alt="" border="0" hspace="10" align="absmiddle">
</div>
</td>
</form>
<tr>
<tr>
<td bgcolor="#FF9966" height="3"><img src="fileadmin/templates/style2/images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td width="211" height="66" background="fileadmin/templates/style2/images/fon_left.gif">
<p class="right"><img src="fileadmin/templates/style2/images/e01.gif" width="13" height="16" alt="" border="0" align="absmiddle">&nbsp;&nbsp;<b>LATEST NEWS</b></p>
<p class="right"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0" align="absmiddle">&nbsp;&nbsp;Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh commodo consequat.</p>
<p class="right"><a href="">Read more</a></p>
<img src="fileadmin/templates/style2/images/hr01.gif" width="211" height="25" alt="" border="0">
<p class="right"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0" align="absmiddle">&nbsp;&nbsp;Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh commodo consequat.</p>
<p class="right"><a href="">Read more</a></p>
<img src="fileadmin/templates/style2/images/hr01.gif" width="211" height="25" alt="" border="0">
<p class="right"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0" align="absmiddle">&nbsp;&nbsp;Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh commodo consequat.</p>
<p class="right"><a href="">Read more</a></p>
</td>
</tr>
</table>
<p class="px" style="padding-top: 3px;">
<!-- /left -->
</td>
<td rowspan="2" background="fileadmin/templates/style2/images/fon_main.gif" width="517"><img src="fileadmin/templates/style2/images/main_top.gif" width="517" height="13" alt="" border="0"><br>
<table border="0" cellspacing="0" cellpadding="0" width="95%" align="center" background="">
<tr valign="top">
<td width="50%">###INHALT###
<p style="font-size: 12px;"><b>Some New Product<br>Features List</b></p>
<p><img src="fileadmin/templates/style2/images/temp01.gif" width="84" height="87" alt="" border="0" align="right">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet doloresit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, </p>
</td>
<td width="2" background="fileadmin/templates/style2/images/e_dot.gif"><img src="fileadmin/templates/style2/images/px1.gif" width="1" height="1" alt="" border="0"></td>
<td width="50%">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="center">
<img src="fileadmin/templates/style2/images/temp01.gif" width="84" height="87" hspace="5" alt="" border="0"><br>
<a href=""><img src="fileadmin/templates/style2/images/b_buy.gif" width="89" height="29" hspace="5" alt="" border="0"></a><br>
<a href=""><img src="fileadmin/templates/style2/images/b_add.gif" width="90" height="29" hspace="5" alt="" border="0"></a>
</td>
<td>
<p class="right02"><b>SOME PRODUCT NAME DESCRIPTION</b></p>
<p class="right02"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0" align="absmiddle">&nbsp;&nbsp;Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh commodo consequat.</p>
<p class="right02"><a href="">Read more</a></p>
</td>
</tr>
<tr>
<td align="center">
<img src="fileadmin/templates/style2/images/temp01.gif" width="84" height="87" hspace="5" alt="" border="0"><br>
<a href=""><img src="fileadmin/templates/style2/images/b_buy.gif" width="89" height="29" hspace="5" alt="" border="0"></a><br>
<a href=""><img src="fileadmin/templates/style2/images/b_add.gif" width="90" height="29" hspace="5" alt="" border="0"></a>
</td>
<td>
<p class="right02"><b>SOME PRODUCT NAME DESCRIPTION</b></p>
<p class="right02"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0" align="absmiddle">&nbsp;&nbsp;Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh commodo consequat.</p>
<p class="right02"><a href="">Read more</a></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3" height="2" background="fileadmin/templates/style2/images/e_dot.gif"><img src="fileadmin/templates/style2/images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td colspan="3">
<p class="right"><img src="fileadmin/templates/style2/images/e03.gif" alt="" width="12" height="14" border="0" align="absmiddle">&nbsp;&nbsp;<b>QUICK LINKS</b></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="50%">
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
</td>
<td width="50%">
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
<p class="t01"><img src="fileadmin/templates/style2/images/e_punct_b.gif" width="5" height="5" alt="" border="0">&nbsp;&nbsp;<a href=""><b>Lorem ipsum dolor sit amet, cons</b></a></p>
</td>
</tr>
</table>
<br>
</td>
</tr>
</table>
</td>
<td bgcolor="#FF9966" background="fileadmin/templates/style2/images/fon_top02.gif" width="100%" style="background-position: top; background-repeat: repeat-x;"><img src="fileadmin/templates/style2/images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td><img src="fileadmin/templates/style2/images/px1.gif" width="1" height="60" alt="" border="0"></td>
<td><img src="fileadmin/templates/style2/images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td><img src="fileadmin/templates/style2/images/px1.gif" width="1" height="1" alt="" border="0"></td>
<td><img src="fileadmin/templates/style2/images/main_bot.gif" alt="" width="517" height="9" border="0"></td>
<td><img src="fileadmin/templates/style2/images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
</table>
<br>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr bgcolor="#FFFFFF">
<td height="2"><img src="fileadmin/templates/style2/images/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td bgcolor="#486E9C">
<table border="0" cellspacing="0" cellpadding="0" width="780">
<tr>
<td><p style="color: #FFFFFF;">Copyright &copy;2003 CompanyName.com</p></td>
<td>
<p class="menu">
<a href="">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="">About Us</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="">Support</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="">Services</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="">Contacts</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="">Help</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="">FAQ</a>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- ###DOKUMENT### end -->
</body>
</html>

tomekk ·

Hallooo...

Schreib mal in den html.tmpl

<!-- ###INHALT### begin -->
<!-- ###INHALT### end -->

und probier noch mal..

dezimal ·

also laut doku (seite 43) markiere ich mit <!-- ###DOKUMENT### begin --> den bereich wo gearbeitet wird also in diesem müssen die marker gesetzt sein.

marker werden so ###INHALT### gekennzeichnet also müsste das passen

im setup unter Include static: habe ich content (default) ausgewählt.

tomekk ·

Du musst immer den Anfang und das Ende deklarieren. Wie du das auch mit dem DOCUMENT gemacht hast...

les mal mehr ;-)

mfg
tomekk

dezimal ·

will nicht???

#so schaut mein setup aus

page = PAGE
page.typeNum = 0
page.bodyTag =
page.stylesheet = fileadmin/templates/style2/style.css
page.meta.AUTHOR =
page.meta.DESCRIPTION = Hier steht eine Beschreibung
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/templates/style2/template.htm

workOnSubpart = INHALT
marks.INHALT = CONTENT
marks.INHALT < styles.content.get
marks.INHALT.select.orderBy = sorting
}

#so meine html

<td width="50%">
<!-- ###INHALT### begin -->
<p style="font-size: 12px;">###INHALT### </p>
<!-- ###INHALT### end --></td>

tomekk ·

Und das fügst du ein

page.10.workOnSubpart = Dokument
page.10.subparts.INHALT < styles.content.get

anstelle von dem:

workOnSubpart = INHALT
marks.INHALT = CONTENT
marks.INHALT < styles.content.get
marks.INHALT.select.orderBy = sorting
}

schau mal, ob es dann geht

mfg tomekk

theo ·

also, das kann man ja nicht mehr mit ansehen...

@tomekk:
nimm´s bitte nicht allzu persönlich, aber du redest hier totalen blödsinn. dadurch verwirrst du den armen dezimal vollständig und nachhaltig... #evil#

sorry und entschuldigung, aber das mußte jetzt mal sein.

@dezimal:
vergiß den ganzen kladderadatsch von tomekk komplett und halte dich an die allerersten beiden antworten, sowohl von mir, als auch von tymo3.

- laß dein html-template so, wie es am anfang war.
- laß deinen marker INHALT ebenfalls so, wie er am anfang war.

da du unseren beiden hinweisen ja überhaupt keine beachtung geschenkt hast, hatte ich auch erst keine lust mehr, dir weiterzuhelfen, aber nun gibt es mittlerweile eine andere sachlage... 8-)

meine antwort war in guter tradition als hilfe zur selbsthilfe gedacht, aber tymo3 war schon so nett, dir ein komplettes codebeispiel zu liefern.

das ganze sähe dann etwa so aus:

page = PAGE
page.typeNum = 0
page.bodyTag =
page.stylesheet = fileadmin/templates/style2/style.css
page.meta.AUTHOR =
page.meta.DESCRIPTION = Hier steht eine Beschreibung

page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/templates/style2/template.htm
workOnSubpart = DOKUMENT
marks.INHALT = CONTENT
marks.INHALT < styles.content.get
}

config.simulateStaticDocuments = 1
config.simulateStaticDocuments = PATH_INFO
config.simulateStaticDocuments_noTypeIfNoTitle = 1
config.simulateStaticDocuments_addTitle = 36
config.absRefPrefix = http://basic-net.dyndns.org/

führ das doch bitte erstmal aus und berichte uns dann über die folgen.

dezimal ·

danke theo werde es gleich umsetzen

JUHU jetzt klappt es vielen dank nochmal für die hilfe.

der anfang ist mal gemacht jetzt werde ich mal weiterschauen das ich endlich mal was auf die reihe bekomme 🙂

tymo3 ·

Wie wäre es, wenn du meinem vorigen Eintrag und dem Theos mal Beachtung schenken würdest. Du hast in deinem Setup nach wie vor eine geschlossen Klammer, die nirgends geöffnet wird.