####### Multiple Languages ####
config.linkVars = L
config.sys_language_uid = 0
config.sys_language_overlay = 1 (continue reading…)
typo3
TYPO3多语言配置
读取任意TCA配置
t3lib_div::loadTCA($tableName);
$GLOBALS['TCA'][$tableName]['columns']...
Using htmlArea RTE in a frontend plugin
Extension developers may use the htmlArea RTE to edit textarea fields in frontend plugins. In order to do so, you must invoke the htmlArea plugin in the plugin class and insert some markers in the HTML template.
Invoking the htmlArea RTE frontend plugin (continue reading…)
stdWrap字符串截取
$topicConf[‘TopicName_stdWrap.’][‘crop’] = ’20 | … | 1′;
$this->cObj->stdWrap($stringText,$topicConf[‘TopicName_stdWrap.’]);
RTE-FF下ctrl+a后对齐按钮失效解决方法
TCA-suggest配置
“config” => Array (
“type” => “group”,
“internal_type” => “db”,
“allowed” => “pages”,
“size” => 5,
“minitems” => 0,
“maxitems” => 100,
“wizards” => array (
“suggest” => array (
“type” => “suggest”,
),
),
),
flexform:
<wizards type=”array”>
<suggest type=”array”>
<type>suggest</type>
</suggest>
</wizards>
效果图如下:
Index search
Crawler (爬虫) cronjob,自动刷新
Crawler Extension
The official documentation for the crawler extension is here: crawler documentation on typo3.org. The typical use of the crawler is to index pages that can then be found by the indexed_search extension. It is possible to index not only Typo3-pages but also external files like pdf, doc etc. and even external websites. The official documentation for indexed_search is here: indexed_search documentation on typo3.org. (continue reading…)
Include static (from extensions):
Static template files are registered by extensions contrary to Static Template records which come from the static database table, “static_template”. (continue reading…)
