TYPO3 – Get FCE’s header title in your DataStructure
Hi, today I'll give you a small but usefull tip if you use FCEs in your installations.
I prefere use the FCE's standard header title to name my FCEs and so display this title on the frontend.
TYPO3 – Clear cache tips
I made this small post to put together all the "tips" I know about TYPO3 clearing cache. All tips are TypoScript config lines. No customization or extensions.
Here we go.
TYPO3 – Easy Facebook share link in TypoScript
Here's a little snippet I wanted to share with you.
It generate the Facebook share link of your page automaticaly.
-
10 = COA
-
10 {
-
10 = TEXT
-
10.value = http://www.facebook.com/share.php?u=
-
-
20 = TEXT
-
20.data = getenv:HTTP_HOST
-
20.wrap = http:// |
-
-
30 = TEXT
-
30.data = getenv:REQUEST_URI
-
}
Enjoy
TYPO3 – Force HTML mode in Direct Mail Subscription
If you use Direct Mail extension for TYPO3, you should want to only use HTML template instead of plain text template. This is possible but you must have the extension Direct Mail Subscription installed on your system.
TYPO3 : tt_news GIFBUILDER news title
If you want, like me, make your news title builded as a nice image with cool font, you can use this snippet.
Of course, you can do the same for the other wraps ![]()
(remove spaces in HTML line 6)
-
-
10 = COA
-
10 {
-
wrap = < div style ="background -repeat: no-repea t; | ">
-
-
10 = IMG_RESOURCE
-
10 {
-
-
file {
-
XY = [10.w],[10.h]+10
-
format = gif
-
quality = 100
-
backColor = #333333
-
-
10 = TEXT
-
10 {
-
text.field = title
-
text.case = upper
-
fontSize = 14
-
fontColor = #ffffff
-
fontFile = {$lib.conf.template}fonts/TrajanPro-Bold.otf
-
niceText = 1
-
offset = 0,16
-
breakWidth = 286
-
}
-
}
-
}
-
-
20 = TEXT
-
20 {
-
wrap = width: | px;
-
value = 286
-
}
-
}
-
-
-
20 = TEXT
-
20 {
-
wrap = <span class="hideMe"> | </span>
-
field = title
-
}
-
}
This code is easily extensible.
Hope it helps you
