just2b schrieb:
gibts überhaupt einn Link mit der Id auf der Seite?
Nun ich glaub du hast recht! Der Content auf der Seite hat im BE zwar die ID 183, aber im FE wird kein Anker gelegt...
Hier mal mein TS, vielleicht liegt hier der Fehler:
config.index_enable = 1
config.index_externals = 1
page.config.index_enable = 1
page.config.index_externals = 1
page.config.doctype = xhtml_trans
page.config.xmlprologue = none
config.xhtml_cleaning = all
page = PAGE
page.includeCSS {
file1 = fileadmin/layout/css/index.css
file1.media = screen,projection
}
page {
typeNum = 0
bodyTag = <body>
meta.AUTHOR = Test
meta.DESCRIPTION = Test
10.template.file = fileadmin/layout/template.htm
10 = TEMPLATE
10.template = FILE
10.workOnSubpart = DOKUMENT
10.marks {
SEARCH < tt_content.search.30
SEARCH {
target = _self
redirect = 27
layout = ###FIELD###
params.input = size="22"
stdWrap.wrap = |
dataArray.10 {
label = Suchen:
type = *sword = input, 10, 30
addParams.class = suchen
}
dataArray.20 {
valueArray >
type = scols = hidden
value = pages.title-subtitle-keywords-description:tt_content.header-bodytext-imagecaption
}
}
CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
RECHTS = CONTENT
RECHTS {
table = tt_content
select.orderBy = sorting
select.where = colPos = 2
}
}
}
page.10.table = tt_content
tt_content = CASE
tt_content {
key.field = header_layout
1 = COA
1 {
wrap = <div id="right"> | </div>
10 = TEXT
10.field = header
10.wrap = <h1> | </h1>
20 = TEXT
20.field = bodytext
20.wrap = <p> | </p>
}
default = COA
default {
wrap = <div id="left"> | </div>
10 = IMAGE
10 {
required = 1
wrap=|
file.import=uploads/pics/
file.import.field=image
file.width=600
file.height=325
}
20 = TEXT
20.field = header
20.wrap = <h2> | </h2>
30 = TEXT
30.field = bodytext
30.wrap = <p> | </p>
}
}
tt_content.image.20.spaceBelowAbove = 0
tt_content.header.stdWrap.space = 0|0
tt_content.stdWrap.space = 0|0
tt_content.stdWrap.spaceBefore = 0
tt_content.stdWrap.spaceAfter = 0
lib.stdheader.stdWrap.space = 0|0
tt_content.stdWrap.dataWrap >
temptextpic < tt_content.textpic
tt_content.textpic >
tt_content.textpic = COA
tt_content.textpic{
bodyTag=
10 = IMAGE
10.file{
import= uploads/pics/
import.field=image
import.listNum=0
width.field=imagewidth
}
#10 < tt_content.image.20.1
10.imageLinkWrap=1
10.imageLinkWrap {
wrap=|
width=800m
height=600m
JSwindow=1
JSwindow {
newWindow=0
expand=0,0
}
enable{
field=image_zoom
ifEmpty.field=image_link
}
typolink {
parameter {
field=image_link
target=page
extTarget=_blank
}
}
}
10.wrap=|
15=TEXT
15.value=
15.if.isFalse.field=image
18< tt_content.text.10
18.wrap=|
19=TEXT
19.value=
19.if.isFalse.field=header
20 < tt_content.text.20
#20=TEXT
#20.field=bodytext
#20.wrap=|
#20.nl2br=1
22=COA
22.wrap= |
22 {
10= IMAGE
10.file.import=uploads/pics/
10.file.import.field=image
10.file.import.listNum=1
10.file.width=100
10.wrap=|
10.imageLinkWrap=1
10.imageLinkWrap {
bodyTag=
wrap=|
width=800m
height=600m
JSwindow=1
JSwindow {
newWindow=0
expand=0,0
}
enable{
field=image_zoom
ifEmpty.field=image_link
}
typolink {
parameter {
field=image_link
target=page
extTarget=_blank
}
}
}
20=IMAGE
20 < .10
20.file.import.listNum=2
30=IMAGE
30 < .10
30=IMAGE
30.file.import.listNum=3
40=IMAGE
40 < .10
40.file.import.listNum=4
}
25 = TEXT
25.value=INFO
25.typolink{
#target=123x456:menubar=0,scrollbars=0
parameter.field=header_link
parameter.wrap=|,1 516x450:menubar=0 title2
# parameter=6,1 123x456:menubar=0,scrollbars=0 title
no_cache=1
JSwindow_params=menubar=0,scrollbars=1,resizable=0,location=0,toolbar=0
}
25.wrap=
<div align="right">|</div>
25.if.isTrue.field=header_link
30=TEXT
30.value=
}