|
|||
|
:wall: Hilfe!
Ich komme nicht weiter. Bin ein absoluter xt Beginner und m?chte mir ein eigenes template erstellen. Verstehen den Aufbau mit den 'Boxen' nur : wie und vorallem wo kann ich die Boxen gestalten, so dass sie im mein layout passen? Kann mir da einer nen Tip geben? Bitte, bitte? danke und gru? |
|
||||
|
in den boxen-htmls, befindlich im verzeichnis /boxes deines templates.
__________________
dieser beitrag ist ohne gewähr und stellt nur meine meinung und keinesfalls eine rechtsberatung dar. im zweifelsfalle ist er ironisch gemeint. .:netzdesign33.de:. | .:blog33.de:. |
|
||||
|
deintemplate/source/inc/xtc_show_categories.inc.php, dort einfach ein
an passender stelle herausnehmen.
__________________
dieser beitrag ist ohne gewähr und stellt nur meine meinung und keinesfalls eine rechtsberatung dar. im zweifelsfalle ist er ironisch gemeint. .:netzdesign33.de:. | .:blog33.de:. |
|
||||
|
h? ? xtc standarttemplate in v2 ? poste doch mal deine xtc_show.....
__________________
dieser beitrag ist ohne gewähr und stellt nur meine meinung und keinesfalls eine rechtsberatung dar. im zweifelsfalle ist er ironisch gemeint. .:netzdesign33.de:. | .:blog33.de:. |
|
|||
|
<?php
/* ----------------------------------------------------------------------------------------- $Id: xtc_show_category.inc.php,v 1.2 2004/02/22 16:15:30 fanta2k Exp $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright © 2003 XT-Commerce ----------------------------------------------------------------------------------------- based on: © 2000-2001 The Exchange Project (earlier name of osCommerce) © 2002-2003 osCommerce(categories.php,v 1.23 2002/11/12); www.oscommerce.com © 2003 nextcommerce (xtc_show_category.inc.php,v 1.4 2003/08/13); www.nextcommerce.org Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ function xtc_show_category($counter) { global $foo, $categories_string, $id; // image for first level $img_1='[img]templates/'.CURRENT_TEMPLATE.'/img/icon_arrow.jpg[/img]'; for ($a=0; $a<$foo[$counter]['level']; $a++) { if ($foo[$counter]['level']=='1') { $categories_string .= "-"; } $categories_string .= ""; } if ($foo[$counter]['level']=='') { if (strlen($categories_string)=='0') { $categories_string .='<table width="100%"><tr><td class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)">'; } else { $categories_string .='</td></tr></table><table width="100%"><tr><td class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)">'; } // image for first level $categories_string .= $img_1; $categories_string .= '<a href="'; //[img]templates/zanier/img/recht_small.gif[/img] } else { $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 .= '">'; 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 . ')'; } } $categories_string .= ' '; if ($foo[$counter]['next_id']) { xtc_show_category($foo[$counter]['next_id']); } } ?> |
|
||||
|
$categories_string .= '
'; wech damit, entsorgen. oder das durch einen optischen trenner ersetzen, zb |
__________________
dieser beitrag ist ohne gewähr und stellt nur meine meinung und keinesfalls eine rechtsberatung dar. im zweifelsfalle ist er ironisch gemeint. .:netzdesign33.de:. | .:blog33.de:. |
![]() |
| Lesezeichen |
| Stichworte |
| erstellung, gehts, template |
| Themen-Optionen | |
| Ansicht | |
|
|