Zum Inhalt springen

kein content

Erstellt am 11. Oktober 2007 · 9 Antworten · letzte Antwort am 12. Oktober 2007

Tags: Frage

morti ·

hayho,

######### CONTENT ############


CONTENT {
	table = tt_content
	select {
		where = colPos = 0
		orderBy = sorting
		}
	}
	
######### CONTENT_RIGHT ############

CONTENT_RIGHT = CONTENT

CONTENT_RIGHT {
	table = tt_content
	select {
		where = colPos = 2
		orderBy = sorting
		}
	}

###CONTENT### Da soll der Content für die Normale spalte
und in ###CONTENT_RIGHT### soll die Rechte contentspalte

aber irgendwie zeigt er nichts an .. obwohl ich content im backend angelegt hab

mfg

SLAng ·

So sollte das gehen... Natürlich entsprechend anpassen...

page = PAGE
page {
	typeNum = 0
	bodyTag = <body>
	stylesheet >
	includeCSS{
		file1 = fileadmin/deinCSS.css
		file1.media = screen
	}

	10 = TEMPLATE
	10 {
		template = FILE
		template.file = fileadmin/dein Template.html
		workOnSubpart = DOCUMENT_BODY // gegebenenfalls anpassen
		marks {
			CONTENT < styles.content.get
			CONTENT_RIGHT < styles.content.getRight
		}
	}
}
morti ·

achso ich wusste nicht das man das komplette rein kopieren muss 😃 ich dachte der teil abschnitt reicht

# Default PAGE object:

seite = PAGE 

seite {

typeNum = 0

stylesheet = fileadmin/template/css/standard.css

meta.AUTHOR = xxxxx

meta.DESCRIPTION = xxxxxx





10 = TEMPLATE

10.template = FILE

10.template.file = fileadmin/template/html/standard.html

10.workOnSubpart = DOKUMENT


######## LOGO #######

LOGO = IMAGE

LOGO.file = fileadmin/template/img/logo.jpg



######### CONTENT ############


CONTENT {
	table = tt_content
	select {
		where = colPos = 0
		orderBy = sorting
		}
	}
	
######### CONTENT_RIGHT ############

CONTENT_RIGHT = CONTENT

CONTENT_RIGHT {
	table = tt_content
	select {
		where = colPos = 2
		orderBy = sorting
		}
	}
 

}

das logo wird auch nicht angezeigt 🙁

was muss ich daran ändern ? bitte um hilfe 😃

mfg

SLAng ·

schau nochmal was ich gepostet habe... du hast ja gar kein marks definiert...

also

marks {

LOGO = IMAGE
LOGO.file = usw...

CONTENT < styles.content.get
CONTENT_RIGHT < styles.content.getRight

Insgesamt also:

# Default PAGE object:
seite = PAGE
seite {
      typeNum = 0
      stylesheet = fileadmin/template/css/standard.css
      meta.AUTHOR = xxxxx
      meta.DESCRIPTION = xxxxxx

      10 = TEMPLATE
      10.template = FILE
      10.template.file = fileadmin/template/html/standard.html
      10.workOnSubpart = DOKUMENT

      marks {

      ######## LOGO #######
            LOGO = IMAGE
            LOGO.file = fileadmin/template/img/logo.jpg

      ######### CONTENT ############

            CONTENT < styles.content.get

      ######### CONTENT_RIGHT ############

            CONTENT_RIGHT < styles.content.getRight

      }
}
morti ·

hm aber aus irgendwelchen gründen wird immer noch nichts angezeigt vlt kannste mich ja mal in icq adden und dann kann man das vlt besser bereden wäre echt derbe cool

meine icq nr ist : 494-531-584

SLAng ·

Gegenvorschlag:

Du postest mal dein komplettes Template (Constants und Setup) und schreibst dabei wie deine Marker heißen... Dann haben auch andere vielleicht einen Lerneffekt dadurch...

morti ·

also das html template ist

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>Baak Design</title>

</head>

<body>
<!-- ###DOKUMENT### begin -->

<!--DWLayoutTable-->
<div id="wrapper">

<div id="top">
<div id="menu"> ###MENU### </div>
<div id="sec-menu"> ###SECMENU### </div>
<div id="logo">###LOGO###</div>
</div>

<div id="banner">###BANNER###</div>

<div id="content_wrapper">

<div id="content"> ###CONTENT### </div>
<div id="content_right"> ###CONTENT_RIGHT### </div>
</div>
</div>
<!-- ###DOKUMENT### end -->

</body>

</html>

Bei dem Typoscript dingsda habe ich nur im Setup etwas stehen..

# Default PAGE object:

seite = PAGE 

seite {

typeNum = 0

stylesheet = fileadmin/template/css/standard.css

meta.AUTHOR =

meta.DESCRIPTION = www.baak-design.de


10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template/html/standard.html
10.workOnSubpart = DOKUMENT
marks {

######## LOGO #######
LOGO = IMAGE
LOGO.file = fileadmin/template/img/logo.jpg

######### CONTENT ############

CONTENT < styles.content.get

######### CONTENT_RIGHT ############

CONTENT_RIGHT < styles.content.getRight

      }
}

joa bei Constants hab ich nichts ...

mfg

Freshmeat ·

im Abschnitt "Include static:" des Templates "content" includiert?
oder alternativ im "Include static (from extensions):" css_styled_content ?

SLAng ·

Na dann includier doch einfach css_styled_Content

oder alternativ bei "Include static:" content (default)

außerdem heißt es 10.marks {

dann muss es gehen