Hallo liebe Community,
wir haben seit einiger Zeit ein Problem mit der Lightbox-Funktion.
http://www.ocsgmbh.com
Auf der Startseite sind drei Bilder die bei Klick geöffnet werden, jedoch wird das erste falsch angezeigt/geöffnet.
Der zuständige Administrator ist leider nicht mehr für uns tätig und ich habe diverse Einstellungen und Änderungen versucht.
Leider ohne Erfolg, zumal ich auch nur Grundkenntnisse besitze und Typo3 eher Neuland ist.
Jemand eine Idee wie und wo ich das Script ändern/anpassen muss?
Vielen Dank im Voraus.
Viele Grüße
Filipe
Hallo Filipe,
also, dem ersten bild fehlt im link ein rel="lightbox".
Es ist jetzt natürlich etwas schwer festzustellen woher das kommt. Ist beim Bild im vielleicht irgendwo ein Haken "öffne als Lightbox" o.ä. nicht gesetzt?
Ansonsten müsstest Du das TypoScript der Seite mal posten.
Viele Grüße,
Andreas
Hallo Andreas,
vielen Dank für deine Antwort.
Könntest du mir vielleicht verraten wo ich den Code finde?
Vielen Dank im Voraus.
Grüße
Filipe
Hallo,
links unter dem Modul "Web" gibt es "template". Da draufklicken und anschließende auf die Hauptseite.
Danach siehst Du das Haupt-TypoScript und kannst durch klicken auf "Setup" dieses entsprechend bearbeiten.
Viele Grüße
Hallo Somehowlost,
danke vielmals.
Also bei mir schaut es so aus:
SETUP ROOT
[config]
[plugin]
[tx_indexedsearch] = USER_INT # TypoScript added by extension "indexed_search" # Setting indexed_search plugin TypoScript
[tx_automaketemplate_pi1] = USER # TypoScript added by extension "automaketemplate" # Setting automaketemplate plugin TypoScript
[tx_macinasearchbox_pi1] = USER # TypoScript added by extension "macina_searchbox" # Setting macina_searchbox plugin TypoScript
[tx_powermail_pi1] = USER_INT # TypoScript added by extension "powermail" # Setting powermail plugin TypoScript
[tx_felogin_pi1] = USER_INT # TypoScript added by extension "felogin" # Setting felogin plugin TypoScript
[tx_fileupload_pi1] = USER_INT # TypoScript added by extension "fileupload" # Setting fileupload plugin TypoScript
[tx_kestats_pi1] = USER_INT # TypoScript added by extension "ke_stats" # Setting ke_stats plugin TypoScript
[tx_cssstyledcontent]
[lib]
[includeLibs]
[tt_content] = CASE
[key]
[stdWrap]
[header] = COA # CType: header # # See Object path "lib.stdheader"
[text] = COA # CType: text #
[image] = COA # CType: image # # (also used for rendering 'textpic' type):
[10] = < lib.stdheader
[20] = USER
[1]
[file]
[import]
[width]
[field] = imagewidth
[imageLinkWrap] = 1
[bodyTag] = <body style="margin:0; background:#f...
[wrap] = <a href="javascript:close();"> | </a>
[width] = 800
[height] = 600
[effects] =
[JSwindow] = 1
[directImageLink] = 0
[enable]
[linkParams]
[typolink]
[altText] = TEXT
[titleText] = TEXT
[longdescURL] = TEXT
[emptyTitleHandling] = removeAttr
[titleInLink] = 1
[titleInLinkAndImg] = 0
[userFunc] = tx_cssstyledcontent_pi1->render_textpic
[imgList]
[imgPath] = uploads/pics/
[imgObjNum] = 1 # Single image rendering
[textPos]
[maxW] = 600
[override]
[data] = register:maxImageWidth
[maxWInText] = 0
[equalH]
[image_compression]
[image_effects]
[noRows]
[cols]
[border]
[caption]
[captionSplit] = 0 # captionSplit is deprecated, use imageTextSplit instead
[captionAlign]
[imageTextSplit] = 1 # caption/alttext/title/longdescURL splitting
[borderCol] = black
[borderThick] = 2
[borderClass] = csc-textpic-border
[colSpace] = 10
[rowSpace] = 10
[textMargin] = 10
[borderSpace] = 0
[separateRows] = 1
[addClasses] =
[addClassesImage] =
[imageStdWrap]
[imageStdWrapNoWidth]
[imageColumnStdWrap]
[layout] = CASE
[rendering]
[dl]
[fallbackRendering] = COA # Choose another rendering for special edge cases
[imageRowStdWrap]
[imageLastRowStdWrap]
[noRowsStdWrap]
[oneImageStdWrap]
[imgTagStdWrap]
[editIconsStdWrap]
[caption]
[required] = 1
[wrap] = <dd class="csc-textpic-caption"> | <...
[if]
[isTrue]
[field] = image_zoom
[ul]
[div]
[simple]
[renderMethod] = dl
[editIcons] = tt_content : image [imageorient|imagewidt...
[stdWrap]
[textpic] = COA # CType: textpic #
[bullets] = COA # CType: bullet #
[table] = COA # CType: table # # Rendered by a PHP function specifically written to handle CE tables. See css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php
[uploads] = COA # CType: uploads # # Rendered by a PHP function specifically written to handle CE filelists. See css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php
[multimedia] = COA # CType: multimedia #
[swfobject] = COA # CType: swfobject #
[qtobject] = COA # CType: qtobject #
[media] = COA # CType: media #
[mailform] = COA # CType: mailform #
[search] = COA # CType: search #
[login] = COA # CType: login #
[splash] = CASE # CType: splash # # Deprecated element. # Still here for backwards compliance with plugins using the "text box" type.
[menu] = COA # CType: menu #
[shortcut] = COA # CType: shortcut # # Should be a complete copy from the old static template "content (default)"
[list] = COA # CType: list # # Should be a complete copy from the old static template "content (default)" (except "lib.stdheader")
[script] = TEXT # CType: script # # OBSOLETE! Please make extensions instead. The "script" content element was meant for these custom purposes in the past. Today extensions will do the job better.
[div] = TEXT # CType: div #
= TEXT # CType: html # # This truely IS a content object, launched from inside the PHP class of course. # Should be a complete copy from the old static template "content (default)"
[default] = TEXT # Default error msg: #
[powermail_pi1] = COA # TypoScript added by extension "powermail" # Setting powermail plugin TypoScript
[fluidAjaxWidgetResponse] = PAGE
[page] = PAGE # Allgemeine Konfiguration
[mod]
[TCEFORM]
[resources] =
[sitetitle] =
[types]
Die Bilder selbst sind so eingepflegt:
(3 pics row header above als Typ)
<a href="http://www.ocsgmbh.com/raw-material-inspection.html" style="color:rgb(80, 80, 80); text-decoration: none;" >Raw material</a>
<a href="http://www.ocsgmbh.com/raw-material-inspection.html" style="color:rgb(80, 80, 80); text-decoration: none;" >inspection</a>
#<a href="http://www.ocsgmbh.com/web-inspection.html" style="color:rgb(80, 80, 80); text-decoration: none;" >Web</a>
<a href="http://www.ocsgmbh.com/web-inspection.html" style="color:rgb(80, 80, 80); text-decoration: none;" >inspection</a>
#<a href="http://www.ocsgmbh.com/turn-key-lab-solutions.html" style="color:rgb(80, 80, 80); text-decoration: none;" >Turn-key</a>
<a href="http://www.ocsgmbh.com/turn-key-lab-solutions.html" style="color:rgb(80, 80, 80); text-decoration: none;" >lab solutions</a>
Interessanterweise ist ach der Link des ersten Bildes anders als bei den anderen beiden.
Reicht das als Input?
Gruß Filipe