Zum Inhalt springen

YAG lightbox theme script entfernen

Erstellt am 13. November 2013 · 2 Antworten · letzte Antwort am 9. Januar 2014

Tags: Bilder, YAG Gallery, TYPO3 6.x, Frage

martinibianco007 ·

Hi, nachdem YAG sehr schön selbest zu konfigurieren ist,
d.h. pfade zu partials / templates / css können selbst gesetzt
werden frage ich mich nur noch
wie ich im lightbox theme folgenden code entfernen kann ich benötige diesen nicht.
kann mir jemand sagen woher der code kommt?

ich habe lediglich folgen zeile gefunden, beeinflusst aber nur den ausgabeort
ich möchte keine ausgabe haben.

# Options are header / footer / inline
 plugin.tx_yag.settings.themes.lightboxjsPosition = header
/*<![CDATA[*/
<!-- 
/*FancyBox.js*/
var thisHash = window.location.hash;

$(document).ready(function() {

    var fancyBoxParam = {
            "margin":10,"padding":0,"opacity":0,"modal":0,"cyclic":1,"scrolling":"auto","hideOnOverlayClick":1,"hideOnContentClick":0,"overlayShow":1,"overlayOpacity":0.8,"overlayColor":"#000","transitionIn":"elastic","transitionOut":"elastic","titlePosition":"over","autoScale":1,"titleShow":1,"speedIn":300,"speedOut":300,"changeFade":"fast","easingIn":"swing","easingOut":"swing","showCloseButton":1,"showNavArrows":1,"enableEscapeButton":1,

        'titleFormat': function(title, currentArray, currentIndex, currentOpts) {
            return '<span id="fancybox-title-over">'+ (title.length ? '' + title : '') +  'Bild '
                + (currentIndex + 1) + ' von ' + currentArray.length + '</span>';
        },

        'onComplete': function() {
            $("#fancybox-title").hide();
            $("#fancybox-wrap").hover(function() {
                $("#fancybox-title").fadeIn("fast");
            }, function() {
                $("#fancybox-title").fadeOut("fast");
            });
        }
    };

    if(thisHash && thisHash.substring(0, 5) == '#yag_') {
        $(thisHash).fancybox(fancyBoxParam).trigger('click');
    }

	$("a.fancybox").fancybox(fancyBoxParam);

});
OnkelWaldo ·

Moin Martinibianco,

wie Du siehst, befindet sich der Code in 'FancyBox.js'

Diese Datei befindet sich hier:
typo3conf/ext/yag/Resources/Private/JSTemplates

OnkelWaldo ·

Moin Martinibianco,

wie Du siehst, befindet sich der Code in 'FancyBox.js'

Diese Datei befindet sich hier:
typo3conf/ext/yag/Resources/Private/JSTemplates