So, letzter Versuch meinerseits das Ding zum Laufen zu bringen.
Habe jetzt eine komplett neue Typo3-Installation geschaffen mit folgenden Versionen:
Typo3 4.2.4
chgallery 2.1.1
pmkslimbox 2.3.2
Mein TS:
# TS Code
plugin.tx_chgallery_pi1 {
gallery.image {
file {
maxW = 139
maxH = 110
}
imageLinkWrap = 1
imageLinkWrap {
enable = 1
typolink {
title.field= tx_chgalleryTitle
parameter.override.cObject = IMG_RESOURCE
parameter.override.cObject.file.import.data = TSFE:lastImageInfo|origFile
parameter.override.cObject.file.maxW = 800
parameter.override.cObject.file.maxH = 600
# used lightbox is pmkslimbox
ATagParams = rel="lightbox"
ATagParams.override = rel="lightbox[sb{field:uid}]"
ATagParams.insertData = 1
}
}
}
}
plugin.tx_chgallery_pi1.single.image < plugin.tx_chgallery_pi1.gallery.image
seite = PAGE
seite{
headerData.10 = TEXT
typeNum = 0
bodyTag = <body>
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/index.htm
10.workOnSubpart = DOKUMENT
includeCSS{
file1 = typo3conf/ext/pmkslimbox/res/styles/slimbox.css
}
1230 = COA
1230 {
10 = USER
10.userFunc = user_slimbox->addJS
10.jsfile.dataWrap = {$plugin.pmkslimbox.mootoolsJS}
20 = USER
20.userFunc = user_slimbox->addJS
20.jsfile.dataWrap = {$plugin.pmkslimbox.slimboxJS}
30 = USER
30.userFunc = user_slimbox->addJS
30.jsdata.cObject = COA
30.jsdata.cObject {
1 = TEXT
1.value = Slimbox.scanPage = function() {var links = $$("a").filter(function(el) {return el.rel && el.rel.test(/^lightbox/i);});
2 = TEXT
2.value = $$(links).slimbox({resizeDuration: {$plugin.pmkslimbox.resizeDuration}, resizeTransition: Fx.Transitions.{$plugin.pmkslimbox.resizeTransition}, opacity: {$plugin.pmkslimbox.opacity}, opacityDuration: {$plugin.pmkslimbox.opacityDuration}, loop: {$plugin.pmkslimbox.loop}, initialWidth: {$plugin.pmkslimbox.initialWidth}, initialHeight: {$plugin.pmkslimbox.initialHeight}, animateCaption: {$plugin.pmkslimbox.animateCaption}, showCounter: {$plugin.pmkslimbox.showCounter}, defaultIframeWidth: {$plugin.pmkslimbox.defaultIframeWidth}, defaultIframeHeight: {$plugin.pmkslimbox.defaultIframeHeight}, iframeScrolling: '{$plugin.pmkslimbox.iframeScrolling}', enablePrintButton: {$plugin.pmkslimbox.enablePrintButton}, enableSaveButton: {$plugin.pmkslimbox.enableSaveButton},
3 = TEXT
3.value = counterText: '{LLL:EXT:pmkslimbox/locallang.xml:counterText}', psScriptPath: '{TSFE:baseUrl}{path:EXT:pmkslimbox/savefile.php}'
3.insertData = 1
4 = TEXT
4.value = }, null, function(el) {return (this == el) || ((this.rel.length > 8-) && (this.rel == el.rel));});};window.addEvent("domready", Slimbox.scanPage);
}
}
headerData.1230 = TEXT
headerData.1230.dataWrap (
<link rel="stylesheet" href="{path:{$plugin.pmkslimbox.slimboxCSS}}" type="text/css" media="screen" />
)
10.marks{
### Inhalte ausgeben ###
INHALT = CONTENT
INHALT {
table = tt_content
}
renderObj = COA
renderObj {
10 = TEXT
10.field = header
10.wrap = |
}
}
}
Die Quelltextausgabe der betrffenden seite:
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!--
This website is powered by TYPO3 - inspiring people to share!
TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2008 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://typo3.com/ and http://typo3.org/
-->
<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_8192c2092f.css" />
<link rel="stylesheet" href="typo3conf/ext/pmkslimbox/res/styles/slimbox_ex.css" type="text/css" media="screen" />
<title>Homepage</title>
<meta name="generator" content="TYPO3 4.2 CMS" />
<script type="text/javascript" src="typo3temp/javascript_93077bb238.js"></script>
<link rel="stylesheet" href="typo3conf/ext/chgallery/res/gallery.css" type="text/css" />
<script type="text/javascript" src="typo3conf/ext/pmkslimbox/res/scripts/mootools.v1.1.js"></script>
<script type="text/javascript" src="typo3conf/ext/pmkslimbox/res/scripts/slimbox_ex.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
<!--
Slimbox.scanPage = function() {var links = $$("a").filter(function(el) {return el.rel && el.rel.test(/^lightbox/i);});$$(links).slimbox({resizeDuration: 400, resizeTransition: Fx.Transitions.sineInOut, opacity: 0.8, opacityDuration: 500, loop: {$plugin.pmkslimbox.loop}, initialWidth: 250, initialHeight: 250, animateCaption: 1, showCounter: {$plugin.pmkslimbox.showCounter}, defaultIframeWidth: 500, defaultIframeHeight: 300, iframeScrolling: 'auto', enablePrintButton: 0, enableSaveButton: 0,counterText: '', psScriptPath: 'typo3conf/ext/pmkslimbox/savefile.php'}, null, function(el) {return (this == el) || ((this.rel.length > 8-) && (this.rel == el.rel));});};window.addEvent("domready", Slimbox.scanPage);
// -->
/*]]>*/
</script>
</head>
<body>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="31%"> </td>
<td width="45%">
<!-- CONTENT ELEMENT, uid:1/list [begin] -->
<a id="c1"></a>
<!-- Plugin inserted: [begin] -->
<!--
BEGIN: Content of extension "chgallery", plugin "tx_chgallery_pi1"
-->
<div class="tx-chgallery-pi1">
<!--<span class="links"><a href="index.php?id=1&no_cache=1&tx_chgallery_pi1[single]=1&tx_chgallery_pi1[]=1" >Page 1</a></span> start -->
<div class="pagebrowser">
<div class="prev"> </div>
<div class="text"><span class="result">Page <span class="chgcurrent">1</span> of <span class="chgtotal">1</span></span></div>
<div class="next"></div>
<div class="clr"></div>
</div>
<!--<span class="links"><a href="index.php?id=1&no_cache=1&tx_chgallery_pi1[single]=1&tx_chgallery_pi1[]=1" >Page 1</a></span> end -->
<div class="single" >
<div class="img">
<div class="align">
<a href="fileadmin/user_upload/testbilder/bild_1.jpg" title="Bild 1" rel="lightbox[sb1]"><img src="typo3temp/pics/21b7803f3b.jpg" width="139" height="104" border="0" alt="Bild 1" title="Bild 1" /></a>
</div>
</div>
<span>Bild 1 <!-- 1 --><small>236 Kb</small><!-- 1 --></span>
</div>
<div class="single" >
<div class="img">
<div class="align">
<a href="fileadmin/user_upload/testbilder/bild_2.jpg" title="Bild 2" rel="lightbox[sb1]"><img src="typo3temp/pics/95b685c321.jpg" width="139" height="104" border="0" alt="Bild 2" title="Bild 2" /></a>
</div>
</div>
<span>Bild 2 <!-- 1 --><small>245 Kb</small><!-- 1 --></span>
</div>
<div class="single" >
<div class="img">
<div class="align">
<a href="fileadmin/user_upload/testbilder/bild_3.jpg" title="Bild 3" rel="lightbox[sb1]"><img src="typo3temp/pics/bad91a373b.jpg" width="139" height="104" border="0" alt="Bild 3" title="Bild 3" /></a>
</div>
</div>
<span>Bild 3 <!-- 1 --><small>239 Kb</small><!-- 1 --></span>
</div>
<div class="clr"></div>
<!--<span class="links"><a href="index.php?id=1&no_cache=1&tx_chgallery_pi1[single]=1&tx_chgallery_pi1[]=1" >Page 1</a></span> start -->
<div class="pagebrowser">
<div class="prev"> </div>
<div class="text"><span class="result">Page <span class="chgcurrent">1</span> of <span class="chgtotal">1</span></span></div>
<div class="next"></div>
<div class="clr"></div>
</div>
<!--<span class="links"><a href="index.php?id=1&no_cache=1&tx_chgallery_pi1[single]=1&tx_chgallery_pi1[]=1" >Page 1</a></span> end -->
</div>
<!-- END: Content of extension "chgallery", plugin "tx_chgallery_pi1" -->
<!-- Plugin inserted: [end] -->
<!-- CONTENT ELEMENT, uid:1/list [end] -->
</td>
<td width="24%"> </td>
</tr>
</table>
</body>
</html>
Was passt hier nicht, habe Urlaub und sitze hier nun schon seit 3 (!) Tagen an dem Problem.
Danke für jegliche Hilfe!