typo3

Typoscript: wrap only if content is not empty

Often i run into this problem in TYPO3 : i have to wrap a content element with Typoscript but ONLY if there is content. This has an easy solution but all too often i forget it and have to search it up again. So this time i post it here and maybe it helps others too. (continue reading…)


How to allow embedding of Flash (YouTube videos for example) in the TYPO3 RTE

How to allow embedding of Flash (YouTube videos for example) in the TYPO3 RTE

1 RTE.default.proc {
2 allowTags := addToList(object,param,embed)
3 allowTagsOutside := addToList(object,embed)
4 entryHTMLparser_db.allowTags < RTE.default.proc.allowTags
5 }

How to get rid of those annoying images inserted before links (continue reading…)


debug — Parsetime: 0 ms 探索

解决方法:

Index: t3lib/class.t3lib_timetracknull.php
=================================================================== (continue reading…)


TS判断系统与浏览器

General notes:

Values are normally trimmed for whitespaces before comparison.

You may combine several conditions with two operators: && (and), || (or)

Alternatively you may use “AND” and “OR” instead of “&&” and “||”. The AND operator has always higher precedence over OR. If no operator has been specified, it will default to OR. (continue reading…)


index_search配置注意事项

有朋友配置index_search后indexing总是没有效果,最可能原因就是页面禁止缓存了. (continue reading…)



How to remove typo3 temp js and css

config.removeDefaultJS = 1

plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE >
plugin.tt_news._CSS_DEFAULT_STYLE >
plugin.tx_indexedsearch._CSS_DEFAULT_STYLE >
# usw, usw, ...

select – multiple点击

//XCLASS
$TYPO3_CONF_VARS[TYPO3_MODE][‘XCLASS’][‘t3lib/class.t3lib_tceforms.php’]=t3lib_extMgm::extPath(‘ext_name’).’class.ux_t3lib_tceforms.php’;

(continue reading…)


typeNum and eID

typeNum

Pages are referenced by two main values. The “id” and “type”.

The “id” points to the uid of the page (or the alias). Thus the page is found. (continue reading…)


typo3后台插件TS配置

写入方法可以写setup或者options:

t3lib_extMgm::addPageTSConfig(‘mod.web_txwilimportcsvM1.maxsize = 50000000’) (continue reading…)


Copyright © 1996-2010 Add Lives. All rights reserved.
iDream theme by Templates Next | Powered by WordPress