[TYPO3-english] PMK-Slimbox and Cal or: Why isn't the ATagParams rendered?

Matthew Colton mat at colton.de
Tue Dec 16 15:10:43 CET 2008


Hi,
I've been using PMK-Slimbox for my own FCEs which works fine. But now I would 
like to use Slimbox with Cal. 

As a default Cal uses the following:
plugin.tx_cal_controller.view.event.event.image =< tt_content.image.20

Ok, so I thought i might as well alter it a bit so i works with cal. Here's 
what I did:
*******************************************************
plugin.tx_cal_controller.view.event.event {
  image =< tt_content.image.20
  image {
    textPos.override = 17
    layout.key.override = 17
    1 {
      imageLinkWrap >	
      imageLinkWrap {
        enable = 1
        typolink {
          parameter.cObject = IMG_RESOURCE
          parameter.cObject.file.import.data = TSFE:lastImageInfo|origFile
          parameter.cObject.file.maxW = 800
          parameter.cObject.file.maxH = 600

          ATagParams = rel="lightbox[sb{field:uid}]"
          ATagParams.insertData = 1
        }
      }
    }

    imageCount = 4
    imgList >
    imgList.override.current = 1
    imgPath = {$plugin.tx_cal_controller.uploadPath.image}

    stdWrap.dataWrap =|
    stdWrap.required = 1
    maxW = 400
  }
}
*******************************************************

Everything works fine, but no rel tag is rendered, which means the ATagParams 
parameter is ignored. Why? I tried setting it to:

ATagParams = rel="lightbox"
# ATagParams.insertData = 1

But even that doesn't work...

Any ideas where my mistake is?

Cheers
M@


More information about the TYPO3-english mailing list