typo3

TYPO3多语言配置

####### Multiple Languages ####
config.linkVars = L
config.sys_language_uid = 0
config.sys_language_overlay = 1 (continue reading…)


读取任意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.’]);


分类树-TCA-FLEXFORM

TCA:

tca.php

‘config’ => array (
‘type’ => ‘select’, (continue reading…)


RTE-FF下ctrl+a后对齐按钮失效解决方法

rtehtmlarea的BUG。

下载以下补丁修改即可。

最后要清除temp下rtehtmlarea的js缓存。

rtehtmlarea_bugfix_14333_trunk.patch.rar下载

rtehtmlarea_bugfix_14333_typo3_4-3.patch.rar下载

1 Comment more...

TCA-renderMode

“config” => Array (
“type” => “select”, (continue reading…)


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…)


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