Bug #15547
closedTypo3 4.0beta2: {$styles.content.imgtext.borderSpace} in source
Added by Markus Bucher almost 19 years ago. Updated about 14 years ago.
0%
Description
{$styles.content.imgtext.borderSpace} appears in the code of my page. I didn't change anything in the installation of cssstyledcontent.
Typo3 4.0beta2
Part of the code:
/* Border just around the image */
{$styles.content.imgtext.borderSelector} {
border: 2px solid black;
padding: {$styles.content.imgtext.borderSpace}px {$styles.content.imgtext.borderSpace}px;
}
(issue imported from #M2454)
Updated by Administrator Admin almost 19 years ago
Hi markus did you sort out yr problem? i have exactly same thing seems hardcoded into template and i cannot find anywhere to remove it, However i did change something on install i proberbly copied setup and constants fields to somewhere but cannot find where that is either,
Updated by Christian Leicht almost 19 years ago
Hello jewelz,
there is no Variable in the static/constants.txt File for
- borderSelector
- borderSpace
Also no Output at the Webside.
Can you input this Variables, please.
between Line Number 29 - ending at 59
Christian
styles.content.imgtext {
# TIP! if register[maxImageWidth] is set, this will override maxW
# cat=content,basic/cImage/a_maxw1; type=int+; label= Max Image Width: This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume.
maxW = 600
# cat=content/cImage/a_maxw2; type=int+; label= Max Image Width (Text): Same as above, but this is the maximum width when text is wrapped around an imageblock. Default is 50% of the normal Max Image Width
maxWInText =
# cat=content/cImage/b; type=color; label= Image border color: Bordercolor of images in content elements when "Border"-option for element is set.
borderColor = black
# cat=content/cImage/b; type=int[0-100]; label= Image border thickness: Thickness of border around images in content elements when "Border"-option for element is set.
borderThick = 2
# cat=content/cImage/x; type=int[0-100]; label= Advanced, Column space: Horizontal distance between images in a block in content elements of type "Image" or "Text w/Image".
colSpace = 10
# cat=content/cImage/x; type=int[0-100]; label= Advanced, Row space: Vertical distance between images in a block in content elements of type "Image" or "Text w/Image".
rowSpace = 10
# cat=content/cImage/x; type=int[0-100]; label= Advanced, Margin to text: Horizontal distance between an imageblock and text in content elements of type "Image" or "Text w/Image".
textMargin = 10
linkWrap.width = 800m
linkWrap.height = 600m
linkWrap.effects =
# cat=content/cImage/x; type=boolean; label= Advanced, New window: If set, every click-enlarged image will open in it's own popup window and not the current popup window (which may have a wrong size for the image to fit in)
linkWrap.newWindow = 0
# cat=content/cImage/c; type=boolean; label= Images, caption split: If this is checked, then the image caption will be split by each line and they will appear underneath the corresponding image in the imagelist.
captionSplit = 0
# cat=content/cImage/c1; type=boolean; label= Images, text split: If this is checked, then the image text (alt, title, longdesc) will be split by each line and they will appear on the corresponding images in the imagelist.
imageTextSplit = 0
# cat=content/cImage/c2; type=string; label= Images, empty title handling: How will the 'title' attribute be handled if no title is given for an image. Possible choices: "keepEmpty", "useAlt" or "removeAttr". Recommended for accessibility is "removeAttr". For correct tooltips on IE, use "keepEmpty". For previous TYPO3 behaviour, use "useAlt".
emptyTitleHandling = useAlt
titleInLink = 0
titleInLinkAndImg = 0
}
Updated by Administrator Admin almost 19 years ago
thanks for trying to point me in the right direction i have readded css_styledcontent so can be viewed from front, and have looked over and over yep i can see where they should go between line 29-59 but am not sure what i am suppossed to put ,(i feel like a complete idiot). i can see that now border is substituted, and i dont think i should be asking this here. but it has been driving me bonkers .<---Update, ok i dont know how i fixed it which it really annoying me. but all seems ok now tnks for the pointer-->
Updated by Christian Leicht almost 19 years ago
Sorry jewelz , but i have trouble to use cssstyledcontent. I miss the constants for the extension to make any necessary adjustments.
Updated by Ernesto Baschny over 18 years ago
Hi all,
please check the following and report back here:
- Did you upgrade from 3.8.1 or made a "fresh install" of 4.0 RC1?
- What is set as "compatVersion" in your localconf.php?
- Does the problem persist in RC1 (reported was "beta-3")?
- Check the template:
1) Use the Web> Template> Module
2) browse to somewhere where the template is not working.
3) Open the "TypoScript Object Browser" function (upper right select box).
4) Choose to browse "Constants".
5) Now IMPORTANT: tick the Checkbox "compatVersion = 3.9.0" in case you did a "fresh" TYPO3 4.0 install or upgraded from 3.8.1 but told the upgrade utility to use the new functionality of TYPO3 4.0.
6) Check "Set Conditions" and check to see if you find the items "styles.content.imgtext.borderSelector" and "styles.content.imgtext.borderSpace" in the constants.
Updated by Administrator Admin over 18 years ago
it was an upgrade from 3.8 this does not happen in 4.0rc1, i had not set any border conditions, as far as i can tell this is now a closed issue. not sure who to ask to close. w3c passes validation so all is good.