Re: [TYPO3-german] Lightbox mit pmkslimbox funktioniert nicht

2010-04-20 Diskussionsfäden Henrik Jahn

Hi Leo,

eventuell fehlt Dir folgendes Objekt im Setup:

page.1230 = COA
page.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);

        }
}
page.headerData.1230 = TEXT
page.headerData.1230.dataWrap (
        href="{path:{$plugin.pmkslimbox.slimboxCSS}}" type="text/css" 
media="screen" />

)
Quelle: 
http://typo3.org/documentation/document-library/extension-manuals/pmkslimbox/3.1.0/view/1/4/


--


Grüße,
Henrik

___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


[TYPO3-german] Lightbox mit pmkslimbox funktioniert nicht

2010-04-19 Diskussionsfäden Leo Führinger

Hallo zusammen,
ich versuch nun schon drei seit Tage eine Lightbox mit der Extension 
pmkslimbox zu erzeugen.

Ziel ist es, die Einzelbilder der chgallery in einer Lightbox darzustellen.

Doch selbst bei der Klick-Vergrößerung erscheint lediglich das Bild in 
Originalgröße auf einer neuen Seite: www.dav-ettlingen.de


Die Extension ist im Home-Template hinter "CSS Styled Content" 
eingefügt. Hab auch schon ein Downgrade von pmkslimbox auf 2.3.* 
probiert - ohne Erfolg.


Hat jemand noch eine Idee?
Im TS-Setup steht:

plugin.tx_chgallery_pi1 {
templateFile = fileadmin/templates/ext_templates/chgallery/template.html
gallery.renderAllLinks = 1
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 = 1200
parameter.override.cObject.file.maxH = 750

# used lightbox is pmkslimbox
ATagParams.override = rel="lightbox[sb{field:uid}]"
ATagParams = rel="lightbox"
ATagParams.insertData = 1
}
}
}
}
plugin.tx_chgallery_pi1.single.image < plugin.tx_chgallery_pi1.gallery.image

Vielen Dank,
Leo
___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german