[Typo3] Insert a Frontend Plugin in a template using typoscript?

Ronald Renfro rrenfro at ilovehtml.net
Mon Aug 15 16:49:27 CEST 2005


hello list,

I am trying to insert the plugin "random images from directory" on  
every page. Is it possible to
to insert a plugin via typoscript only.

I found this info on the typo3.org but nobody has answered the poor  
soul to this date.

http://typo3.org/documentation/mailing-lists/english-main-list- 
archive/thread/528/?tx_maillisttofaq_pi1%5Bmode% 
5D=5&tx_maillisttofaq_pi1%5Bpointer%5D=1

since I have a similar problem I am asking the question again.

this is what i have worked out:

setup:

# setup ext
plugin.tx_wagrandomimage_pi1 {
   noDuplicates = 0
   alt =
   defaultDir = fileadmin/random_images/
   filetypes = gif,png,jpg,jpeg
   numImages = 1
   templateFile = EXT:wag_randomimage/pi1/tx_wagrandomimage_pi1.tmpl
   recursive = 0
}

#output random image
page = PAGE
page.typeNum = 0
page.10 < plugin.tx_wagrandomimage_pi1


any help would be cool!

regards
Ronald Renfro



More information about the TYPO3-english mailing list