[TYPO3-linux] Site with seperate Content
linux at dyntronix.de
linux at dyntronix.de
Tue Aug 22 16:07:40 CEST 2006
Hi all.
I want to build a Site with content in the tt_content table.
the file index_re.html looks like that :
<html><head><title>myTitle</title></head>
<table cellpadding="0" cellspacing="0" height="100%">
<tbody><tr>
<td rowspan="2" bgcolor="#f0f0f0" valign="top" width="468">
<img src="fileadmin/index_re_data/blitz.jpg" height="144" width="468">
<div style="margin: 10pt;">
###BLIDS_CONTENT###
</div>
</html>
my typo3 script looks like that:
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/index_re.html
marks.BLIDS_CONTENT = CONTENT
marks.BLIDS_CONTENT.table = tt_content
tt_content = TEXT
tt_content.field = header
}
I inserted a text in table tt_content in col:header.
The File aswell as the image are uploaded an displayed by typo3. this means: I
see the site (design & layout) but the text disappears.
I guess, that typoscript "marks" can not be combined with CONTENT and the
access on a db.
How can I solve the problem.
Thx
More information about the TYPO3-linux
mailing list