[TYPO3] accordion extension

Martin S shieldfire at gmail.com
Fri Sep 21 09:11:12 CEST 2007


2007/9/21, Georg Ringer <mail-spam at ringerge.org>:
>
> are there any changes in the source code? take a look at my demo page
> how it needs to look like!



Depends on what you mean by "changes in source code". What I have added in
the template, you've seen.

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
# 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
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
   # Activate rgaccordion for the main column
   subparts.CONTENT.renderObj < plugin.tx_rgaccordion1
   subparts.CONTENT < styles.content.get


I can't see that anything else should influence the page. (I moved
tx_rgaccordion1 to before the last line, didn't change anything.

> are both js files loaded?
>

Yes everything seems to be loading (from "View source")

<link rel="stylesheet" type="text/css"
href="typo3conf/ext/rgaccordion/res/rgaccordion1.css" />
<script src="typo3conf/ext/t3mootools/res/mootoolsv1.11.js"
type="text/javascript"></script>

<script src="typo3conf/ext/rgaccordion/res/rgaccordion1.js"
type="text/javascript"></script>


Regards,

Martin S


More information about the TYPO3-english mailing list