[TYPO3-english] copy powermail plugin on every page using typoscript

Arnaud Goudsmit goudsmit at noblestreet.eu
Sun Nov 7 19:56:15 CET 2010


Dear Support list,

I am working on a site where I want the powermail plugin on several pages.
What i did was create a sysfolder and placed the plugin in one of the
columns. Then using the following typoscript i tried to have the plugin
places on the required pages.

temp.contact < styles.content.get
# plugin is in this column
temp.contact.select.pidInList = 85
# 85 is the sysfolder

Using this method breaks the working of powermail. The required javascript
is not added on the FE page. I am missing:

<script
src="typo3conf/ext/powermail/js/mandatoryjs/lib/prototype.js?1283769922"
type="text/javascript"></script>

<script
src="typo3conf/ext/powermail/js/mandatoryjs/src/effects.js?1283769924"
type="text/javascript"></script>

<script
src="typo3conf/ext/powermail/js/mandatoryjs/fabtabulous.js?1283769921"
type="text/javascript"></script>

<script src="typo3conf/ext/powermail/js/checkbox/checkbox.js?1283769920"
type="text/javascript"></script>

<script src="typo3temp/javascript_0b12553063.js?1284120738"
type="text/javascript"></script>

<script src="index.php?id=30&type=3131" type="text/javascript"></script>


Even if i place the javascript by hand, submitting the form doesnt work
properly.
The other option of:
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
  subparts.contact = CONTENT
  subparts.contact < styles.content.getLeft
  subparts.contact.slide = -1
}
# i am using autoparse extension

Is not a good option as I am using all the columns

Does anyone have an idea how to solve this, without copying the plugin to
every page?

Best  regards

Arnaud


More information about the TYPO3-english mailing list