[TYPO3-linux] Site with seperate Content 2
linux at dyntronix.de
linux at dyntronix.de
Tue Aug 22 16:20:34 CEST 2006
Hi again.
I'm wondering:
when I add a second page (page.20) behind the template. the text is shown
twice. when I remove the page.20 both texts disappear..
can anyone explain that to me?
Am Dienstag, 22. August 2006 16:07 schrieb linux at dyntronix.de:
> 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
> _______________________________________________
> TYPO3-linux mailing list
> TYPO3-linux at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-linux
More information about the TYPO3-linux
mailing list