Sorry, großes Dank für deine Unterstützung
So nun werde ich dann mal den Quellcode posten.
categories.php
PHP-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(0, true, 0),'_deepest_level_display'=>$category->deepest_level_display);
?>
box_categories.html
PHP-Code:
<h2 class="boxheader"></h2>
<ul id="categorymenu">
{foreach name=aussen item=module_data from=$_categories}
<li class="level{$module_data.level}{if $module_data.active} active{/if}">
<img src="http://www.xxx.de/shop/templates/xxx/img/pfeil.gif">
<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}</li></ul>
{/foreach}
</ul>