[TYPO3-calendar] cal typo3 6.2 and lightbox not working

Mario Matzulla mario at matzullas.de
Sat Oct 11 14:44:31 CEST 2014


Hi Ingo,

hard to tell what, could be wrong. I know that this configuration works.
So please double check it again.

Regards,
Mario

Am 11.10.14 um 14:06 schrieb Ingo Lacheiner:
> Hallo!
> 
> In Eventview I want to use a lightbox. In tt_content all works fine with
> the lightbox (no extension). But in Cal Eventview the a tag around the
> picture has no class="lightbox" nor the rel-Attribut.
> 
> I am using the normal ts_standard Typoscript.
> # @description    Content object for event image
>                 image =< tt_content.image.20
>                 image {
>                     preRenderRegisters.allImageCaptions.cObject {
>                         references {
>                             table = tx_cal_event
>                             uid.data = uid
>                             fieldName = image
>                         }
>                         renderObj.data = title
>                     }
>                                         imgList.cObject.references <
> plugin.tx_cal_controller.view.event.event.image.preRenderRegisters.allImageCaptions.cObject.references
> 
>                        
>                     //17 = in text right
>                     textPos.override = 17
>                     layout.key.override = 17
>                     1 {
>                         imageLinkWrap {
>                             # We just need a value > 0, which could be
> pid or uid ;)
>                             enable.field = uid
>                             typolink.ATagParams.dataWrap =
> class="{$styles.content.imgtext.linkWrap.lightboxCssClass}"
> rel="{$styles.content.imgtext.linkWrap.lightboxRelAttribute}"
>                         }
>                     }
>                    
>                     imgMax = 4
> 
>                     stdWrap.required = 1
>                     stdWrap.dataWrap = <div>%%%IMAGE_LABEL%%%:� |</div>
>                    
>                     maxW = {$plugin.tx_cal_controller.singleMaxW}
>                    
>                 }
> 
> But typolink.ATagParams.dataWrap does nothing. The constants are set
> correctly. If i write rel and class-Attribute via Firebug into the a-Tag
> everything works fine.
> 
> Thank you for your hints or help.
> 
> Ingo Lacheiner
> 
> Typo3 6.2.5
> cal 1.6.0 (latest from forge.typo3org)
> 



More information about the TYPO3-project-calendar mailing list