Jump to content
xt:Commerce Community Forum

Green Velvet CSS Bild in Categorie_listing anzeigen


mbdesign

Recommended Posts

Hallo,

ich möcshte bei dem Green Velvet Temolate in den Categories das Bild zu dem Text anzeigen.

Soweit auch gelungen und bekommen ich es nicht hin dass das Bild über dem Link/Text steht??

Hat jemand eine Lösung

das ist die categorie_listing im Original

{config_load file="$language/lang_$language.conf" section="categorie_listing"}

<h1 style="margin-top:0px;">{$CATEGORIES_NAME}</h1>

{if $CATEGORIES_DESCRIPTION}<p>{$CATEGORIES_DESCRIPTION}</p>{/if}

{$MODULE_new_products}

{if $module_content !=''}

<div class="moreCategoriesBox"><strong>{#heading_more_categories#}</strong><br />

{foreach name=aussen item=module_data from=$module_content}

<a href="{$module_data.CATEGORIES_LINK}">{$module_data.CATEGORIES_NAME}</a>,

{/foreach}</div>

{/if}

Link to comment
Share on other sites

  • 3 weeks later...

Etwas mehr Quelltext aber geht wenigstens!

{config_load file="$language/lang_$language.conf" section="categorie_listing"}

<h1 style="margin-top:0px;">{$CATEGORIES_NAME}</h1>

<table width="100%" margin="5">

<tr>

<td>{if $CATEGORIES_DESCRIPTION}{$CATEGORIES_DESCRIPTION}{/if}</td>

<td>{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="" align="right" />{/if}</td>

</tr>

</table>

{if $module_content !=''}

<div class="moreCategoriesBox"><strong>{#heading_more_categories#}</strong><table style="border-top: 1px solid; border-color: #FF6600;" width="100%" border="0" cellspacing="0" cellpadding="0">

<tr> {foreach name=aussen item=module_data from=$module_content}

{php}

$col++;

{/php}

<td class="moreCategoriesBox"><table width="100%" border="0" cellpadding="0" cellspacing="5">

<tr>

<td align="center" >{if $module_data.CATEGORIES_IMAGE}<a href="{$module_data.CATEGORIES_LINK}"><img src="{$module_data.CATEGORIES_IMAGE}" alt="{$module_data.CATEGORIES_NAME}" /></a>{/if}</td>

</tr>

<tr>

<td align="center" ><strong><a href="{$module_data.CATEGORIES_LINK}">

{$module_data.CATEGORIES_NAME}</a></strong></td>

</tr>

</table>

</td>

{php}

if ($col>=5) {

$col=0;

echo '</tr><tr>';

}

{/php}

{/foreach} </tr>

</table>

</div>

{/if}<br />

{$MODULE_new_products}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...