[TYPO3] accordion extension

Martin S shieldfire at gmail.com
Thu Sep 20 06:48:11 CEST 2007


According to the docs I am supposed to modify the template to get the
extension to work.
I've done this:

page = PAGE
page.typeNum = 0
config.pageTitleFirst = 1
page.stylesheet = fileadmin/templates/nouvo/style.css
page.bodyTag = <body leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
page.1 = TEMPLATE
page.1.marks.PAGE_UID = TEXT
page.1.marks.PAGE_UID.field = uid
page.1  {
   template = FILE
   template.file = fileadmin/templates/nouvo/template.html
   workOnSubpart = DOCUMENT_BODY
   subparts.CONTENT_LEFT < styles.content.getLeft
   subparts.CONTENT_RIGHT < styles.content.getRight
   subparts.CONTENT_BORDER < styles.content.getBorder
   subparts.CONTENT < styles.content.get

# Activate rgaccordion for the main column
subparts.CONTENT.renderObj  < plugin.tx_rgaccordion1
# Include the JS and CSS (demo) files
page.includeCSS.file57 = EXT:rgaccordion/res/rgaccordion1.css
page.includeJS.file51  = EXT:t3mootools/res/mootoolsv1.11.js
page.includeJS.file52  = EXT:rgaccordion/res/rgaccordion1.js

.
.
.
}

but it still doesn't fold the content as expected. Anyone with a suggestion
of what I'm doing wrong?


Regards,

Martin S


More information about the TYPO3-english mailing list