[TYPO3] plugin.tx_...

Alessandro Vernet avernet at scdi.org
Tue Aug 19 21:42:14 CEST 2008


I found an answer to the first question, in case this can be useful to others
here:


Alessandro Vernet wrote:
> 
> 1) How to access the value of this property in PHP code?
> 

Use: $this->conf['PARAM'])
This is in function main($content,$conf), after doing $this->conf=$conf.

In ext_typoscript_setup.txt: 

plugin.tx_EXT_pi1 {
	PARAM =
}

After doing those changes, you might need to do a "Clear cache in typo3conf"
in the Admin UI.

(There is a "new way" of doing this described here:
http://www.nabble.com/Javascript-Header-Reference-by-default-td11209504.html#a11214518)

The plugin ve_guestbook is an example of plugin that does this:
http://typo3.org/extensions/repository/view/ve_guestbook/2.7.1/

Alex

-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/

-- 
View this message in context: http://www.nabble.com/plugin.tx_...-tp19043235p19057244.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list