Project

General

Profile

Feature #19635 » new_rendering_csc.patch

Administrator Admin, 2008-11-23 15:28

View differences:

typo3/sysext/css_styled_content/static/constants.txt (working copy)
pageFrameObj = page
shortcut.tables = tt_content,tt_address,tt_links,tt_guest,tt_board,tt_calender,tt_products,tt_news,tt_rating,tt_poll
# cat=content; type=wrap; label= Content Element margins: Space above / below each content element (pixels of a clear-gif).
# cat=content/other/c; type=wrap; label= Content Element margins: Space above / below each content element (pixels of a clear-gif) in versions below TYPO3 4.3.0.
space = 0|0
splash.bgCol = white
......
splash.bgCol = white
}
[compatVersion = 4.3.0]
# cat=content/other/a; type=small; label= Content Element margins (before): Space before each content element.
content.spaceBefore = 0
# cat=content/other/b; type=small; label= Content Element margins (after): Space after each content element.
content.spaceAfter = 0
[global]
# cat=advanced; type=int+; label= News Content PID: If your template has a column with "news"-content fetched from another page-id, this is where you enter the id-number of that page!
styles.content.getNews.newsPid = 0
typo3/sysext/css_styled_content/static/setup.txt (working copy)
}
prefixComment = 1 | CONTENT ELEMENT, uid:{field:uid}/{field:CType}
}
[compatVersion = 4.3.0]
tt_content.stdWrap {
spaceBefore.field >
spaceAfter >
space >
dataWrap >
innerWrap.cObject >
innerWrap.cObject = CASE
innerWrap.cObject {
key.field = section_frame
default = COA
default {
10 = TEXT
10 {
value = <div id="c{field:uid}"
override.cObject = TEXT
override.cObject {
value = <div
if.value = div
if.equals.field = CType
}
insertData = 1
}
15 = TEXT
15 {
value = csc-default
noTrimWrap = | class="|" |
required = 1
}
20 = COA
20 {
10 = COA
10 {
10 = TEXT
10 {
value = {$content.spaceBefore}
wrap = |+
if.isTrue = {$content.spaceBefore}
}
20 = TEXT
20 {
field = spaceBefore
}
stdWrap {
prioriCalc = intval
wrap = margin-top:|px;
required = 1
ifEmpty.value =
}
}
20 = COA
20 {
10 = TEXT
10 {
value = {$content.spaceAfter}
wrap = |+
if.isTrue = {$content.spaceAfter}
}
20 = TEXT
20 {
field = spaceAfter
}
stdWrap {
prioriCalc = intval
wrap = margin-bottom:|px;
required = 1
ifEmpty.value =
}
}
stdWrap.noTrimWrap = | style="|" |
stdWrap.required = 1
}
30 = TEXT
30.value = >|</div>
}
1 < .default
1.15.value = csc-frame csc-frame-invisible
5 < .default
5.15.value = csc-frame csc-frame-rulerBefore
6 < .default
6.15.value = csc-frame csc-frame-rulerAfter
10 < .default
10.15.value = csc-frame csc-frame-indent
11 < .default
11.15.value = csc-frame csc-frame-indent3366
12 < .default
12.15.value = csc-frame csc-frame-indent6633
20 < .default
20.15.value = csc-frame csc-frame-frame1
21 < .default
21.value = csc-frame csc-frame-frame2
}
}
[end]
# *****************
(1-1/2)