15.02.2012 13:53
|
|
hvwebdesign
Name: Heri Vielsäcker
24.10.2011
Posts: 21
|
unterschiedliche Templates
Gibt es eine Möglichkeit für die Produkte unterschiedlicher Kategorien unterschiedliche Template bzw. css-Definitionen zu verwendnen.
Beispiel:
Menü 1 - alle Produkte der Kategorie A - Hintergrund schwarz
Menü 2 - alle Produkte der Kategorie B - Hintergrund weiss
Joomla: 2.5.1 JoomShopping: 3.4.2
|
|
15.02.2012 16:53
|
|
swissa
Name: swissandy
10.10.2011
Posts: 183
|
Aw: unterschiedliche Templates
It's under Shop functions. Then pick the template under either category or product.
|
|
15.02.2012 16:58
|
|
hvwebdesign
Name: Heri Vielsäcker
24.10.2011
Posts: 21
|
Aw: unterschiedliche Templates
Thank you.
But where can I define the new template and in wich folder I have to save it?
|
|
15.02.2012 17:40
|
|
hvwebdesign
Name: Heri Vielsäcker
24.10.2011
Posts: 21
|
Aw: unterschiedliche Templates
I found the place. But there I just can change the php-files. Where an I change the css files?
|
|
15.02.2012 18:06
|
|
swissa
Name: swissandy
10.10.2011
Posts: 183
|
Aw: unterschiedliche Templates
default is under
/components/com_jshopping/css
so whatever you name the new template, name the css file
mytemplate = mytemplate.css
|
|
15.02.2012 18:38
|
|
hvwebdesign
Name: Heri Vielsäcker
24.10.2011
Posts: 21
|
Aw: unterschiedliche Templates
This will not fix my problem.
Example:
Definition Produkt A - Template default
(com_jshopping/templates/default/product/product_default.php
Definition Produkt B - Template test
(com_jshopping/template/default/product/products_test.php
For shure I can change the default.css but then I change it for all products.
Is it possible to write in german. It is much more easy to write and also to read.
|
|
15.02.2012 19:00
|
|
swissa
Name: swissandy
10.10.2011
Posts: 183
|
Aw: unterschiedliche Templates
Write in German, I'll write back in English (hilfe für alle!) :-)
My understanding and how it works for me...
templates...
templates/default/FOLDERS
templates/test/FOLDERS
You need to copy all files/folders for your template into your template folder z.B. cart/category/checkout usw
css/default.css
css/test.css
so for you it should be
Definition Produkt B - Template test
(com_jshopping/template/test/product/products_default.php ........ this is your new default.php where you made changes
Letzte Änderung: 15.02.2012 19:07
|
|
15.02.2012 19:26
|
|
hvwebdesign
Name: Heri Vielsäcker
24.10.2011
Posts: 21
|
Aw: unterschiedliche Templates
So funktioniert das leider nicht.
Bei den Einstellungen ALLGEMEIN kann ich ein alternatives Template einstellen. Das währe dann z. B.
com_jshopping/template/mytemplate/folders*
com_jshopping/css/mytemplate.css
Diese Einstellung gilt jedoch für den kompletten Shop.
Bei der Erstellung eines Produktes gibt es den Parameter "Produkt Template". Hier ist "default" eingestellt.
default = com_jshopping/templates/default/product/product_default.php
Will ich nun ein alternatives Template mit dem Namen mytemplate dann benötige ich im selben Ordner die Datei product_mytemplate.php
mytemplate = com_jshopping/templates/default/product/product_myphp.php
Wenn ich das Basis-Template umschalten würde, müsste es folgendermaßen aussehen:
default = com_jshopping/templates/mytemplate/product/product_default.php
mytemplate = com_jshopping/templates/mytemplate/product/product_mytemplate.php
|
|
15.02.2012 19:42
|
|
swissa
Name: swissandy
10.10.2011
Posts: 183
|
Aw: unterschiedliche Templates
administrator/index.php?option=com_jshopping&controller=config&task=general
here you set to default template
administrator/index.php?option=com_jshopping&controller=config&task=adminfunction
here set "Use individual template for each category and product"
Then on each product or category you can pick template unter Datei (under Details) - default or test or mytemplate.
For each product or category.
If you want more than one extra template you must build other ones in the same way.
Hilft das?
|
|
15.02.2012 20:14
|
|
hvwebdesign
Name: Heri Vielsäcker
24.10.2011
Posts: 21
|
Aw: unterschiedliche Templates
Zu meiner großen Schande muss ich leider gestehen, dass ich nicht verstehe was Sie meinen.
Wo befinden sich die aufgeführten Parameter bzw. was muss ich wo genau ändern?
An der Stelle schon mal vielen Dank für Ihre Hilfe und Ihre Geduld.
|
|
15.02.2012 20:25
|
|
swissa
Name: swissandy
10.10.2011
Posts: 183
|
Aw: unterschiedliche Templates
No problem. :-)
But you must build templates like I said in #7
com_jshopping/template/test/product/products_default.php
copy ALL directories and file
keep the same names as com_jshopping/template/default/..........
z.B use products_default.php in your own template
Letzte Änderung: 15.02.2012 20:32
|
|
15.02.2012 20:49
|
|
hvwebdesign
Name: Heri Vielsäcker
24.10.2011
Posts: 21
|
Aw: unterschiedliche Templates
Sorry, aber jetzt sind wir doch wieder genau da wo wir angefangen haben.
Der Parameter unter "Shop-Funktion" ist schon seit meinem 2. Post korrekt gesetzt.
Ihre 2. Abbildung zeigt den Parameter "Produkt Template" und es wir nur "default" angeboten. Um nun ein weiteres Template auswählen zu können, muss, wie ich bereits vorher beschrieben habe, eine weitere php-Datei angeleigt werden.
default = com_jshopping/templates/default/product/product_default.php
mytemplate = com_jshopping/templates/default/product/product_mytemplate.php
Soweit funktioniert das natürlich. Ich kann nun unterschiedliche product_xxxx.php-Dateien anlegen und bei jedem Produkt individuell aussuchen. Das war jedoch nicht mein Anliegen.
Ich suche eine Stelle, an der ich nicht die PHP-Dateien sondern die CSS-Parameter individuell gestalten kann. Selbstverständlich könnte ich jetzt in einer individuellen PHP-Datei eine Klasse verändern oder direkt die CSS-Parameter integrieren.
Ich hatte jedoch die Hoffnung, dass ich pro Kategorie oder Produkt auf einfache Art und Weise auch die CSS-Parameter individuell gestalten kann.
|
|
15.02.2012 21:07
|
|
hvwebdesign
Name: Heri Vielsäcker
24.10.2011
Posts: 21
|
Aw: unterschiedliche Templates
Zur Ergänzung:
Ich habe folgende Originalpfade bzw. -dateien:
com_jsdhopping/templates/default/x
com_jshopping/css/default.css
und folgende Kopien:
com_jsdhopping/templates/test/x
com_jshopping/css/test.css
Aber das hat absolut keine Bedeutung. Nur dann wenn sich "product_default.php" und "product_test.php" im selben Pfad befinden, kann ich zwischen "default" und "test" wählen. Dementsprechend wird auch immer die selbe css-Datei aufgerufen.
|
|
15.02.2012 22:39
|
|
swissa
Name: swissandy
10.10.2011
Posts: 183
|
Aw: unterschiedliche Templates
You are right.
either php or php and add to css file. Separate are for main template.
|
|
23.03.2012 12:39
|
|
stevelees
Name: Steve
31.08.2011
Posts: 10
|
Aw: unterschiedliche Templates
I have tried using the option of selecting template on a per product basis form the day I installed this cart, it has never worked as it should. Tonight I have done all of the latest upgrades, and it still does not work.
I have setup everything as described above: I have selected YES for 'Use individual template for each category and product' and I have three templates to choose from including Zoom01 which I bought and have never been able to use!
When I go to a product I can NOT select the template, it shows DEFAULT in the drop down menu and not the other two templates.
On the general configuration page however it does show me all three templates...
ANYBODY HAVE ANY IDEAS PLEASE?
Joomla: 2.5.3 JoomShopping: 3.5.1 Website Url: www.wickeddigital.com.au
|
|
23.03.2012 13:34
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25941
|
Aw: unterschiedliche Templates
Configuration / general
Template :
|
|
23.03.2012 13:43
|
|
stevelees
Name: Steve
31.08.2011
Posts: 10
|
Aw: unterschiedliche Templates
Yes I have done all that is required, it does not work!
As you can see in the below image, the templates appear in the General config, but not on the product pages, or the category pages.
Letzte Änderung: 23.03.2012 13:53
|
|
23.03.2012 14:19
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25941
|
|
|
25.10.2014 00:59
|
|
Ludinator
Name: Frannk Ludewig
07.01.2009
Posts: 147
|
Aw: unterschiedliche Templates
Irgendwie habe ich das nicht ganz verstanden mit dem zusätzlichen Template.
Ich habe das "defaultg" template installiert und modifiziert. Nun möchte ich das gleiche Template im Prinzip weiter verwenden nur mit dem Unterschied, das ich für eine einzige Kategorie den Warenkorb Button löschen möchte, so dass nur der "anschauen" Button zu sehen ist.
Was muss ich da genau machen? Danke Gruß Frank
Joomla: 2.5.26 JoomShopping: 3.15.0
|
|
25.10.2014 12:46
|
|
Dr.Rivera
Name: Jürgen
13.09.2010
Posts: 2276
|
Aw: unterschiedliche Templates
Hallo,
hilft dieses Addon?:
http://www.webdesigner-profi.de/joomla-webdesign/shop/addons/category-products-as-catalog.html?lang=de
Grüße
Nicht ganz aktuell, aber vielleicht doch noch für einige hilfreich, das E-Book Joomshopping.
Bei Amazon (kindl) und xinxii (ePub):
http://www.amazon.de/JoomShopping-Joomla-Shop-Online-Shop-ebook/dp/B005L9D8MC
http://www.xinxii.com/joomshopping-der-joomla-shop-p-339561.html
|
|