tt_content.image.20.stdWrap.parseFunc.nonTypoTagStdWrap.HTMLparser.tags.img.fixAttrib{
width.unset = 1
height.unset = 1
}
tt_content.textpic.20.stdWrap.parseFunc.nonTypoTagStdWrap.HTMLparser.tags.img.fixAttrib{
width.unset = 1
height.unset = 1
}
lib.parseFunc_RTE.nonTypoTagStdWrap.HTMLparser.tags.img.fixAttrib{
width.unset = 1
height.unset = 1
}
typoscript
remove image width tag
ts odd even in template
temp.elemente = COA
temp.elemente {
10 = CONTENT
10 {
table = tt_content
select {
where = colPos = 2
orderBy = sorting
}
renderObj < tt_content
renderObj.wrap = |###SPLITTER###
}
stdWrap.split {
token = ###SPLITTER###
cObjNum = 1 |*| 2 || 3 |*| 4 || 5
1.current = 1
1.wrap = |
2.current = 1
2.wrap = |
3.current = 1
3.wrap = |
4.current = 1
4.wrap = |
5.current = 1
}
}
“blindImageOptions” funktioniert nicht mehr
Seit TYPO3 4.3 funktionierte bei mir die Deaktivierung der Registerkarten Zauberbild und Drag & Drop nicht mehr.
Bisher benutzte ich den folgenden Eintrag:
RTE.default.buttons.image.options.removeItems = magic, dragdrop
bzw.
RTE.default.blindImageOptions = magic, dragdrop
Auffällig war, dass dieser Eintrag nur im RTE nicht mehr zu funktionieren schien, bei den Content-Elementen “Text mit Bild” bzw. “nur Bild” funktionierte das Ausblenden ohne Probleme.
Zwischenzeitlich findet man auch den passenden Bug:
http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=13902
Viel interessanter ist jedoch hier die Problemlösung. Einfach die Einträge mit den korrekten Namen der Tabs versehen:
media_plain, media_magic, media_dragdrop, media_upload
Also zum Beispiel, um bei der oben beschriebenen Anforderung zu bleiben:
RTE.default.buttons.image.options.removeItems = media_magic, media_dragdrop
oder
RTE.default.blindImageOptions = media_magic, media_dragdrop
So einfach kann es manchmal sein …
eID ts setup
First you make an instance of the tslib_fe class like:
$GLOBALS['TSFE'] = t3lib_div::makeInstance('tslib_fe',
$GLOBALS['TYPO3_CONF_VARS'],
t3lib_div::_GP('id'),
t3lib_div::_GP('type'),
and more variables if you want
);
(please check your incoming values 😉
Do some other stuff (check if you need this)
$GLOBALS['TSFE']->connectToMySQL();
$GLOBALS['TSFE']->initFEuser();
$GLOBALS['TSFE']->determineId();
$GLOBALS['TSFE']->getCompressedTCarray();
$GLOBALS['TSFE']->initTemplate();
$GLOBALS['TSFE']->getConfigArray();
And you can get the configuration at:
$configuration =
$GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_yourextension_controller.'];
TS doNotLinkIt
lib.myFooterNav = HMENU
lib.myFooterNav.special = directory
lib.myFooterNav.special.value = 44
lib.myFooterNav.wrap = |
lib.myFooterNav.1 = TMENU
lib.myFooterNav.1 {
NO.allWrap = RTE Block/Text Style
RTE {
default {
contentCSS = global.css
#ignoreMainStyleOverride = 1
buttons.blockstyle.tags.div.allowedClasses = black_text,small_h1,black_bold_link
buttons.textstyle.tags.span.allowedClasses = black_text,small_h1,black_bold_link
proc.allowedClasses := addToList(black_text,small_h1,black_bold_link)
showButtons = textstylelabel,textstyle, bold, italic, orderedlist, unorderedlist, insertcharacter, link, image, removeformat, copy, cut, paste, undo, redo, subscript, superscript, findreplace, chMode, formatblock
#hideButtons = left, center, right, justifyfull, textindicator,user,blockstyle, blockstylelabel,
}
classes {
small_h1{
name = small_h1
#value = color:#800080; font-size:11px;
}
black_text{
name = black_text
#value = color:#800080; font-size:11px;
}
black_bold_link{
name = black_bold_link
#value = color:#800080; font-size:11px;
}
}
}
Image Link in FCE
ich habe ein fce (box) habe dort ein bild gemappt und einen link um das bild gemappt. funktioniert auch so weit
jetzt möcht eich aber wenn kein link ausgewählt ist das kein link gewrappt wird.
Habe schon viel gesucht aber verstehe es nicht. (continue reading…)
templavoila wizards tab
page ts: templavoila.wizards.newContentElement.renderMode = tabs
Adding canonical tags
temp.canonical = COA
temp.canonical.10 = TEXT
temp.canonical.10 {
typolink {
parameter.data = TSFE:id
addQueryString = 1
addQueryString {
method = GET
// vermeide doppelte id:
exclude = id
}
returnLast = url
}
wrap =
}
BEUSER清除指定page缓存
You can enable “flash icon” clear cache command for common BEuser, just add this code to user’s and/or user’s group TSconfig
options.clearCache.pages = 1
options.clearCache.all = 1