DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Constants / Reference¶
Constants Editor plugin.t3colorbox
Property
includejquerycore
Data type
boolean
Description
Add jQuery core script.
Default
0
Property
theme
Data type
options[1,2,3,4,5,6,7,8,9,10]
Description
Sets the theme (style) for the colorbox. 1=theme1 (2=theme2 … 10 = theme10)
See the Screenshot section.
Default
1
Property
themepath
Data type
string
Description
- Path/file for custom CSS
- If set, this style (CSS file) will be used. Put something like "fileadmin/layout/colorbox/mystyle.css" in here.
The value above (plugin.t3colorbox.style) is deactivated.To reactivate the built-in styles you have to delete this constant!
Default
Property
slideshow
Data type
boolean
Description
Image groups are presented in an autoscrolling slideshow.
If this value is empty, the standard value from the colorbox script (0) is taken.
Default
Property
slideshowAuto
Data type
options[true,false]
Description
- Start the slideshow automatically.
- "Enable slideshow" must be on of course... Set to false to turn off the automatic slideshowstart.
Default
false
Property
slideshowSpeed
Data type
integer
Description
- Sets the speed of the slideshow:in milliseconds
- If this value is empty, the standard value from the colorbox script (2500) is taken.
Default
Property
imagegroup
Data type
options[1,2,3]
Description
- Define the use of imagegroups:
- 1 = group per page: cycle through all lightbox-images on the page 2 = group per contentelement: cycle through all lightbox-images within a content element 3 = single image: every lightbox image opens in a separate lightbox windows (no back/forward)
Default
1
Property
maxWidth
Data type
string
Description
Set a maximum width for loaded content. px or %
Default
95%
Property
maxHeight
Data type
string
Description
Set a maximum height for loaded content. px or %
Default
95%
Property
cboxcommand
Data type
string
Description
Reference at http://www.jacklmoore.com/colorbox Settings.
If you add more than one value don't forget the dash:
opacity:0.45,slideshowSpeed:1000,
Property
cboxversion
Data type
options
Description
Sets the version of the colorbox
Default
latest
All other possible colorbox options (there are a lot!) can be set through the cboxcommand string. Reference at http://www.jacklmoore.com/colorbox