typo3

divider使用方法

TS中加入:
tt_content.div >
tt_content.div = TEXT
tt_content.div.value = <hr />


TS-tt_content

# ***************************************************************************
# Notice: “styles.” (and “temp.”) objects are UNSET after template parsing!
# Use “lib.” for persisting storage of objects.
# *************************************************************************** (continue reading…)


后台插件添加Link

$tempurlsel = ‘<a href=”#” onclick=”openLinkBrowser();return false;”>’.
‘<img’.t3lib_iconWorks::skinImg($this->doc->backPath,’gfx/link_popup.gif’,”).’ title=”” alt=”” />’.
‘</a>’;

function openLinkBrowser()    {    //
var url = “‘.$this->doc->backPath.’browse_links.php?act=page&mode=wizard&P[itemName]=urltoolurl&P[formName]=editform”;
browserWin = window.open(url,”aeurltoolTypo3WinBrowser”,”height=350,width=600,status=0,menubar=0,resizable=1,scrollbars=1″);
browserWin.focus();
}

ps: itemName是input的name, formname是form表单的name


delete button missing

在根page的option下设置TS:

mod.web_txtemplavoilaM1.enableDeleteIconForLocalElements = 1


tt_news常用TS配置

tt_news常用TS配置:
(continue reading…)


typo3切图

固定宽高图片缩放,最好先等比压缩,再切割,否则先切的话如果图片大小有几M效率非常低,甚至卡死。以下是一个方法。 (continue reading…)


修改插件XML语言

# Example for overriding values from locallang.php with other values
_LOCAL_LANG.de {
# more = [weiterlesen…]
}


How to removed the “csc-default” wrap from my TYPO3 content elements

I’ve been working on a complex CSS design with a lot of floats for a TYPO3 implementation. It’s been frustrating for me because the layout works fine when hand coded as HTML. But when I use this layout with TYPO3, the layout doesn’t work. (continue reading…)


Typo3后台多语言的面板选择项设置

本文教大家给后台page的内容,加上多语言的Tag,在此之前,我们先来看看现在page内容页面是怎么样的。首先是顶部只有两个Tag,内容部 分 (continue reading…)


TS-MENU配置(最新版)

######### Main Menu #########################
#includeLibs.gtmenu_class = fileadmin/gtmenu.txt
lib.Menu = HMENU
lib.Menu{
entryLevel = 0
1=TMENU (continue reading…)


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