Ist es möglich, bei der Kategorieauswahl in der Hauptspalte auch die Thumbnails und den Text zusammen anzuzeigen? Es scheint nur entweder/oder zu gehen.
Ist das richtig und warum ist das so? Bei vielen Produkten ist dieses kleine Bild nicht 100%ig ausagekräftig und eindeutig.
Dazu gab es schon mehere Threads incl einer Lösung. Im Prinzip nur ein kleiner Template-Eingriff. Bitte mal suchen…
So habe es gerade mal getestet. Du must in der list.tpl die Stelle finden, wo geprüft wird, ob ein Kategorienbild vorhanden ist oder nicht. Aus der vorhandenen if/else-Prüfung:
Gerade noch mal auf dem Testserver mit ner 4.4.5 Version getestet. Es funktioniert bei mir.
Eventuell falsch auskommentiert?
Ich würde auch den Quelltext umbauen und noch “zurechtkommentieren”.
Jetzt verstehe ich gar nichts mehr. Jetzt bekomme ich nach Code-Austausch eine weiße Seite und das hier:
[I][03-Feb-2011 15:09:11] PHP Fatal error: Smarty error: [in list.tpl line 64]: syntax error: unrecognized tag: if $category->getIsVisible() (Smarty_Compiler.class.php, line 446) in /Users/mario/Documents/Works/Budde_GmbH/shop_local/core/smarty/Smarty.class.php on line 1093[/I]
Ich habe gerade an dieser Umsetzung gearbeit und festgestellt, das es mit meiner vorgeschlagenen Lösung ein Problem gibt, wenn es auch Kategorien ohne hinterlegtes Icon gibt.
Die werden dann gar nicht mehr dargestellt. Hier die überarbeitete Lösung:
I’ve discovered a more serious problem with this solution. The <a href> link applied to the last filter is then applied to many subsequent dom elements, causing a large amount of things to then become links.
Ich bin jetzt auf das gleiche Problem gestoßen bei dem Versuch die Kategorieübersicht durch Bilder aufzuwerten, aber nicht auf den Text unter den Bildern zu verzichten. Ich hatte mich schon gefreut als der Ansatz von Cristoph (Post #9) das gewünschte Ergebnis erzielte - jedoch leider nur im Firefox. Als ich mir die Seite dann mal im Internet Explorer anschaute musste ich festellen, dass es dort leider ganz anders aussah. Dort wurde neben jedem Bild ein verlinktes transparentes Feld erstellt, in der gleichen Größe wie das Bild.
Meine Vermutung ist, dass der IE auch den “ausgeblendeten” Teil des Codes darstellt und daher jede Kategorie zweimal darstellt - einmal als Bild mit Text darunter und einmal als transparentes Feld.
Gibt es hierzu mittlerweile eine funktionierende Lösung?
Das einzige was zu funktionieren scheint ist es den Code aus Post #2 zu nehmen, nur müssen dann halt in allen Kategorien Bilder vorhanden sein.
Verwendet wird die Shop Version 4.4.8.
Sorry, I was a bit confused as the thread starts off in German and suddenly changes into English on the second page. I also thought that this is the German section of the forum…?
Nevermind, I am more than willing to repeat my question in English if that increases my chance for getting a solution:
I have tried all the solutions in this thread to try and get pictures AND text displayed in the category overview. But non of the solutions seems to work properly. The solution from post #9 was very promising and gave perfect results in firefox, but the internet explorer interprets the code differently and show transparent fields (the size of the picture and linked to the same category) to the right of each picture.
The code from Post #2 works better, but that would mean that every category has to have a picture.
Has anyone found a working solution for this problem?
I am using the shop version 4.4.8.
Oh and another little issue - is there any way around having to manually upload the pictures? If i use the Upload function the picture gets resized to the “icon” resolution, which is too small.
But if i increase that resolution in the backend settings, the article icon picture resolution is also increased - which is not what i want. @hebsacker I don´t quite know where to put the <!-- … --> tags in the code…?
ehm sorry - my fault… hab mich doch von dem englischen Post zwischendrin verwirren lassen… :o
Kommando zurück, wir sind ja im deutsche Foren-Teil
[QUOTE=ict;81893]dass der IE auch den “ausgeblendeten” Teil des Codes darstellt und daher jede Kategorie zweimal darstellt - einmal als Bild mit Text darunter und einmal als transparentes Feld.[/QUOTE]
ich meinte das hier, einfach zusätzlich noch mit <!-- und --> umschließen.