|
|||
|
Hallo,
ich hätte gern, dass die Kategorien immer alle ausgeklappt sind. Also bis in die letzte Ebene. Vor veyton ging das mit einem angepassten Kategorie-file von Gunnart, da konnte man sogar genau angeben, bis zu welcher Ebene die Kategorien standartmäßig ausgeklappt sind usw. Geht das hier im Veyton auch? Bzw. falls es nicht geht, an welchen .php File muss ich ran? lg |
|
|||
|
Code:
<?php
/*
#########################################################################
# xt:Commerce VEYTON 4.0 Enterprise
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright ©2007-2008 xt:Commerce GmbH. All Rights Reserved.
# This file may not be redistributed in whole or significant part.
# Content of this file is Protected By International Copyright Laws.
#
# ~~~~~~~~~ xt:Commerce VEYTON 4.0 Enterprise IS NOT FREE SOFTWARE ~~~~~~~~~~~~~~~~
#
# http://www.xt-commerce.com
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# @version $Id: categories.php 3172 2009-03-12 07:10:13Z matthias $
# @copyright xt:Commerce GmbH, www.xt-commerce.com
#
# @author Mario Zanier, xt:Commerce GmbH mzanier@xt-commerce.com
#
# @author Matthias Hinsche mh@xt-commerce.com
# @author Matthias Benkwitz mb@xt-commerce.com
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# xt:Commerce GmbH, Bachweg 1, A-6091 Goetzens (AUSTRIA)
# office@xt-commerce.com
#
#########################################################################
*/
defined('_VALID_CALL') or die('Direct Access is not allowed.');
$tpl_data = array('_categories'=> $category->getCategoryBox(23, true, 0),'_deepest_level_display'=>$category->deepest_level_display);
?>
Code:
<h2 class="boxheader">{txt key=TEXT_BOX_TITLE_CATEGORIES}</h2>
<ul id="categorymenu">
{foreach name=aussen item=module_data from=$_categories}
<li class="level{$module_data.level}{if $module_data.active} active{/if}"><a href="{$module_data.categories_link}" title="{$module_data.categories_heading_title}">{$module_data.categories_name}</a></li>
<ul>
{foreach name=inner item=module_new_data from=$module_data.sub}
<li class="level2"><a href="{$module_new_data.categories_link}" title="{$module_new_data.categories_heading_title}">{$module_new_data.categories_name}</a></li>
{/foreach}
</ul>
{/foreach}
</ul>
|
|
|||
|
Danke dir.
Ich habe es versucht, indem ich die categories.php bzw. die box_categories.html durch deine Befehle ergänzt/ersetzt habe. Allerdings klappt es so nicht, es wird nun garnichts mehr angezeigt ;-( Kannst Du mir vielleich einen kleinen Tipp geben? Danke! |
![]() |
| Lesezeichen |
| Stichworte |
| ausgeklappt, kategorien |
| Themen-Optionen | |
| Ansicht | |
|
|