Shop: Subkategorien aufrufen

Hier bekommst Du deutschsprachigen Support bezüglich offizieller Module für phpwcms. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
Post Reply
User avatar
krailing
Posts: 119
Joined: Fri 20. Apr 2007, 11:17
Location: Schaffhausen/CH

Shop: Subkategorien aufrufen

Post by krailing »

Ahoi

Gibt es die Möglichkeit, Subkategorien aufzurufen? Also wie anfangs der default.html mit

Code: Select all

<h1>{CATEGORY}</h1>
die Kategorie augerufen wird?

Dank und Gruss
Tom
Last edited by krailing on Thu 5. Feb 2009, 14:32, edited 1 time in total.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Subkategorien aufrufen

Post by flip-flop »

Tach auch!

Wovon sprichtst du? Welche default.html?

Eine "Subkategorie" ist auch eine Kategorie.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
krailing
Posts: 119
Joined: Fri 20. Apr 2007, 11:17
Location: Schaffhausen/CH

Re: Subkategorien aufrufen

Post by krailing »

Tach Knut

Ich meine die default.html im Verzeichnis mod_shop/template/default. Wie beschrieben wird dort der Titel der Kategorie aufgerufen. Ich würde nun gerne den Titel der aktiven Subkategorie aufrufen.

Dank und Gruss
Tom
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Subkategorien aufrufen

Post by flip-flop »

Aha, also der Shop - auf so etwas komme ich nicht so ohne weiteres, da etwa 5-8 default.html Dateien im System existieren.

Bitte ändere die Überschrift in "SHOP - Subkategorien anzeigen" oder so.

Ich kenne den Shop zu wenig um hier eine technische Aussage treffen zu können. (Wird aber sicher gleich jemand anderes antworten).

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Shop: Subkategorien aufrufen

Post by update »

Du legst im shop Kategorien an, dann Subkategorien (mehr geht nicht)
Nun ordnest Du die einzelnen Produkte den Kategorien oder Subkategorien zu (Mehrfachzuordnung geht auch)
Dann in die zB rechte Spalte

Code: Select all

	<div class="katalog"><div class="katalogheader">Artikelkatalog</div>  {SHOP_CATEGORIES} </div>
Und ein wenig CSS (hier kannst Dui eventuell das nav_list_ul- CSS ein wenig anpassen:

Code: Select all

.shop_cat {
	margin: 0;
	padding: 0;
	border: 0;
	text-decoration: none;
	font: normal normal 11px/19px Verdana, Geneva, Arial, Helvetica, sans-serif;
	/*width: 17.5em;*/
}

.shop_cat ul, .shop_cat li {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	/*width: 17.5em;*/
}
.shop_cat ul li { 
position: relative;
}

.shop_cat li a,
.shop_cat li a:link,
.shop_cat li a:visited,
.shop_cat li a:active {
	font-weight: normal;
	display: block;
	text-decoration: none;
	text-transform: none;
	color: #222222;
	background: transparent url(../../../img/article/navi1_norm.gif) 5px 0.5em no-repeat;
	padding: 0.1em 0 0 2em;
	border-bottom: 1px solid #ccc;
	/*\width: 17.5em;*/  /* IE5x Opera <= 5 */
	/*widt\h: 15.5em;*/  /* = (Width of Menu Items) - (padding-right + padding-left) */
}

.shop_cat li.active a,
.shop_cat li.active a:link,
.shop_cat li.active a:visited,
.shop_cat li.active a:active {
	color: #222222;
	font-weight: bold;
	padding: 0.1em 0 0 2em;
	border-bottom: 1px solid #ccc; /* IE6 Bug */
	/*\width: 17.5em;*/  /* IE5x Opera <= 5 */
	/*widt\h: 15.5em;*/  /* = (Width of Menu Items) - (padding-right + padding-left) */
	background: transparent url(../../../img/article/navi1_act.gif) 5px 0.5em no-repeat;
}

.shop_cat li.active ul li a,
.shop_cat li.active ul li a:link,
.shop_cat li.active ul li a:visited,
.shop_cat li.active ul li a:active {
	font-weight: normal;
	display: block;
	text-decoration: none;
	text-transform: none;
	color: #222222;
	background: transparent url(../../../img/article/navi1_norm.gif) 15px 0.5em no-repeat;
	padding: 0.1em 0 0 3em;
	border-bottom: 1px solid #ccc; /* IE6 Bug */
	/*\width: 17.5em;*/  /* IE5x Opera <= 5 */
	/*widt\h: 14.5em;*/  /* = (Width of Menu Items) - (padding-right + padding-left) */
}
....
usw
...
wie das bei Dir genau heisst, weiss ich ja nicht, aber mit ein wenig Einsatz der Developertools findest Du die vom System generierten IDs und Classes ja raus.
Happy Katalogisiering ;)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
krailing
Posts: 119
Joined: Fri 20. Apr 2007, 11:17
Location: Schaffhausen/CH

Re: Shop: Subkategorien aufrufen

Post by krailing »

Danke Claus, ist ja alles schon passiert, die Navigation des Shops steht, alles prima. Nur würde ich gern nicht nur den Titel der Hauptkategorie abgebildet sehen bei der Auflistung der Produkte, sondern auch den Titel der entsprechenden Subkategorie. Ein völlig menschliches Bedürfnis, wie ich meine...

Tom
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Shop: Subkategorien aufrufen

Post by update »

Oh - ist diese Darstellungsart in der Standardversion nicht "drin"? Kann mich gar nicht mehr erinnern, wie das mal war (weil die "Enhanced Version" sowas von viel besser und cooler ist....., habe ich mit der "normalen" ja nie wieder was gemacht ;) )
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
krailing
Posts: 119
Joined: Fri 20. Apr 2007, 11:17
Location: Schaffhausen/CH

Re: Shop: Subkategorien aufrufen

Post by krailing »

Hallo Claus

Ähem? Dürfte ich noch erfahren, worüber du sprichst? Nix kapier...

Gruss
Tom
Post Reply