Zum Inhalt springen

Problem mit chgallery

Erstellt am 12. April 2009 · 5 Antworten · letzte Antwort am 13. April 2009

Tags: Frage

eric79 ·

Hallo

hier erstmal den TS:

lib.leftcontent < plugin.tx_chgallery_pi1 
lib.leftcontent { 
	path = fileadmin/template/bilder/muster/ 
	mode = CATEGORY
	file {
		maxW = 120
		maxH = 120
		}
	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 = 250
			parameter.override.cObject.file.maxH = 300
			# used lightbox is pmkslimbox
			ATagParams = rel="lightbox"
			ATagParams.override = rel="lightbox[presentlb{field:uid}]"
			ATagParams.insertData = 1
			}
		}
	}
plugin.tx_chgallery_pi1.single.image < plugin.tx_chgallery_pi1.gallery.image
plugin.tx_chgallery_pi1.templateFile = EXT:chgallery/res/simple.html

Ich habe zwei Probs...zum ersten die Lightbox funktioniert nicht obwohl pmkslimbox installiert ist
und zum zweiten denke ich das er die simple.html nicht übernimmt, da oben und unten immer noch page 1 of 1 darsteht obwohl ich es gelöscht hatte.

hier mal die Seite
http://www.creative-nailstudio.de

just2b ·

Hallo,

ad 1: weil du von der lighbox das static ts nicht hinzugefügt hast

ad 2: weil du das template plugin.tx... zuweist und nicht lib.leftcontent.

georg

eric79 ·

so habs mal ausprobiert und habe das static ts hinzugefügt aber funzt ned

naja und zweitens da ich ja noch ein noob bin wäre cool wenn du mir sagen könntest wie ich eine html in mein lib einbaue.

template = FILE
    template.file = ****der pfad zu template****

funktioniert ned

just2b ·

ad 1: der code ist falsch, vor dem imagelinkwrap gehört noch ein image!

ad 2: lib.leftcontent.templateFile = ...

georg

eric79 ·
lib.leftcontent < plugin.tx_chgallery_pi1
lib.leftcontent.path = fileadmin/template/bilder/muster/
lib.leftcontent.mode = GALLERY
lib.leftcontent.image {	
			imageLinkWrap  = 1
			imageLinkWrap {
					enable = 1
					typolink {
						title.field= tx_chgalleryImage
						parameter.override.cObject = IMG_RESOURCE
						parameter.override.cObject.file.import.data = TSFE:lastImageInfo|origFile
						parameter.override.cObject.file.maxW = 250
						parameter.override.cObject.file.maxH = 300
			
						# 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

so ich hatte es jetzt mal geändert aber die slightbox geht immer noch ned

naja sory ich bin aber noch sehr noobie
Bilder werden angezeigt aber sonst geht nichts