#1 (permalink)  
Alt 22.08.2005, 19:47
 
Registriert seit: 27.07.2005
Beiträge: 21
Standard

So hier mal die 1001 anfrage wegen der Subkats.

Ich w?de gerne es folgendermassen haben:

>Hauptkat
>>Subkat

etc

Nun habe ich hier schon einige Beitr?ge gelesen wo viele sagen man m?sse nur einf?gen aber egal an welcher stelle ich das mache es wird keinerlei ?nderung sichtbar.

Es mus doch ne m?glichkeit gene durch einr?cken der Subkats etwas mehr ?bersicht in der Box zu bekommen oder?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 22.08.2005, 19:48
 
Registriert seit: 27.07.2005
Beiträge: 21
Standard

>Hauptkat
>Subkat

Meine Nat?rlich mit leerzeichen davor und Sorry f?r doppelpost konnte nicht editieren
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 22.08.2005, 19:50
 
Registriert seit: 27.07.2005
Beiträge: 21
Standard

>Hauptkat
>Subkat

Wie dumm von mir habe das leerzeichen vergessen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 22.08.2005, 19:52
 
Registriert seit: 27.07.2005
Beiträge: 21
Standard

>Hauptkat
>Subkat

Dummerweise scheint er keine leerzeichen zu m?gen bei Fast Reply.

Please mal die Beitr?ge vern?nftig editieren sieht etwas sehr komisch aus.

Big Sorry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 22.08.2005, 19:53
Benutzerbild von chpohl
Erfahrener Benutzer
 
Registriert seit: 22.04.2004
Beiträge: 5.920
Standard

Kannst du einstellen in \DEINTEMPLATE\source\inc\xtc_show_category.inc .php

Code:
 if ($foo[$counter]['level']=='1') {
 ? ? ?$categories_string .= "-";
 ? ? ?}

 ? ? ?$categories_string .= ""; ? ? ? ? ? ? <--- da Leerzeichen einf?gen
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #6 (permalink)  
Alt 22.08.2005, 19:55
 
Registriert seit: 27.07.2005
Beiträge: 21
Standard

Danke f?r die antwort aber leider sieht es bei mir so aus:

function xtc_show_category_content($counter) {
global $foo, $categories_string, $id;

for ($a=0; $a<$foo[$counter]['level']; $a++) {
$categories_string .= "";
}

$categories_string .= '<a href="';

if ($foo[$counter]['parent'] == 0) {
$cPath_new = 'cPath=' . $counter;
} else {
$cPath_new = 'cPath=' . $foo[$counter]['path'];
}

$categories_string .= xtc_href_link(FILENAME_DEFAULT, $cPath_new);
$categories_string .= '">';
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #7 (permalink)  
Alt 22.08.2005, 20:00
 
Registriert seit: 27.07.2005
Beiträge: 21
Standard

Erschlagt mich. Kein wunder suche ja auch in der falschen datei *grins*

Danke ich gehe jetzt ins Bett ist besser glaube ich
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #8 (permalink)  
Alt 22.08.2005, 20:02
Benutzerbild von chpohl
Erfahrener Benutzer
 
Registriert seit: 22.04.2004
Beiträge: 5.920
Standard

Zitat:
Erschlagt mich. Kein wunder suche ja auch in der falschen datei *grins*
mach ich glatt :hit: :laugh:

Hauptsache, es funktioniert jetzt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #9 (permalink)  
Alt 22.08.2005, 20:13
 
Registriert seit: 27.07.2005
Beiträge: 21
Standard

Halte mich f?r Doof aber:

if ($foo[$counter]['level']=='1') {

finde ich nicht bei mir.

Siehe Selbst (kopiere nicht alles wird sonst zu un?bersichtlich:


function xtc_show_category($counter) {
global $foo, $categories_string, $id;


// image for first level
$img_I='[img]templates/'.CURRENT_TEMPLATE.'/img/icon_arrow.jpg[/img]';

for ($a=0; $a<$foo[$counter]['level']; $a++) {
$categories_string .= "";
}

$categories_string .= '<table width="100%" cellspacing="0" cellpadding="0" border="0" class="bg_box_topics">
<tr>
<td valign="middle">';

$categories_string .= ''.$img_I;
$categories_string .= '<a href="';

if ($foo[$counter]['parent'] == 0) {
$cPath_new = 'cPath=' . $counter;
} else {
$cPath_new = 'cPath=' . $foo[$counter]['path'];
}

if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') $cPath_new.='&category='.xtc_cleanName($foo[$counter]['name']);
$categories_string .= xtc_href_link(FILENAME_DEFAULT, $cPath_new);
$categories_string .= '">';

if ( ($id) && (in_array($counter, $id)) ) {
$categories_string .= '';
}

// display category name
$categories_string .= $foo[$counter]['name'];

if ( ($id) && (in_array($counter, $id)) ) {
$categories_string .= '
';
}

if (xtc_has_category_subcategories($counter)) {
$categories_string .= '';
}
if ($foo[$counter]['level']=='') {
$categories_string .= '</a>';
} else {
$categories_string .= '</a>';
}

if (SHOW_COUNTS == 'true') {
$products_in_category = xtc_count_products_in_category($counter);
if ($products_in_category > 0) {
$categories_string .= '(' . $products_in_category . ')';
}
}
if ($foo[$counter]['level']=='') {

$categories_string .= '';
}
$categories_string .= '</td></tr></table>';

if ($foo[$counter]['next_id']) {
xtc_show_category($foo[$counter]['next_id']);
}
}

?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #10 (permalink)  
Alt 22.08.2005, 20:29
 
Registriert seit: 27.07.2005
Beiträge: 21
Standard

Mal noch kurz ne frage da die entsprechende datei zum design 004 geh?rt was passiert wenn ich die orginal xtc2 datei nehme?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
box, einrcken, kategorie, subkategorien

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 07:48 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand