Jump to content
xt:Commerce Community Forum

Unterkategorienname Unter Einem Bild


michi22

Recommended Posts

Hallo

Ich bin neu hier und muss sagen dass der Shop Spitze ist, selbst ohne Programmierkenntnisse kommt man sehr weit.

Nur steh ich jetzt vor meinem ersten Problem:

Wie mache ich es das der Unterkategorienname unter einem Bild steht nicht rechts davon?

Danke schon mal im Voraus

Link to comment
Share on other sites

wysiwyg modus abschalten und im quelltext arbeiten, wahrscheinlich ziehst du immer nur das img mittels drag&drop hin und her. falls du das original tpl verwendest solltest du recht weit oben folgendes finden:

<table width="100%" border="0" cellspacing="0" cellpadding="0">

    <tr valign="top"> 

     <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#666666" size="4">{$CATEGORIES_NAME}</font></strong> 

      </font></td>

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

    </tr>

   </table>
?ndern in
<table width="100%" border="0" cellspacing="0" cellpadding="0">

    <tr valign="top"> 

     <td>{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}">{/if} <br>

      <font face="Verdana, Arial, Helvetica, sans-serif" color="#666666" size="4"><strong>{$CATEGORIES_NAME}</font></strong>

     </td>

    </tr>

   </table>

Link to comment
Share on other sites

Ich bin am verzweifeln so sieht der code jetzt aus:

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

<table width="100%" border="0" cellpadding="0" cellspacing="0">

	<tr valign="top"> 

 <td> 

 	<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr valign="top"> 

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

   <td class="category">{$CATEGORIES_NAME}</td>

  </tr>

 	</table>

{if $CATEGORIES_DESCRIPTION}

<div class="infobox">{$CATEGORIES_DESCRIPTION}</div> 

<br>

<br>


{/if}

{if $module_content !=''} <div class="subcategory">{#heading_more_categories#}</div> 

<br>


 	<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr> 

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

  	{php} 

  	$col++; 

  	{/php} 

  	<td class="main">

   <div align="left"> 

   <table width="100%" border="0" cellpadding="0" cellspacing="4">

   	<tr> 

    <td width="1" rowspan="2" >{if $module_data.CATEGORIES_IMAGE}<a href="{$module_data.CATEGORIES_LINK}"><img src="{$module_data.CATEGORIES_IMAGE}" border="0"></a>{/if}</td>

    <td class="main"><strong><a href="{$module_data.CATEGORIES_LINK}">{$module_data.CATEGORIES_NAME}</a></strong></td>

   	</tr>

   	<tr> 

    <td class="main">{$module_data.CATEGORIES_DESCRIPTION}</td>

   	</tr>

   </table>

   </div>

  	</td>

  	{php} 

  	if ($col>=2) { 

  	$col=0; 

  	echo '</tr><tr>';

  	} 

  	{/php} 

  	{/foreach} 

  </tr>

 	</table> 


{/if} <br>


 </td>

 <td class="main" nowrap width="1%"> </td>

	</tr>

</table>

<br>


<table width="100%" border="0" cellspacing="0" cellpadding="0">

	<tr>

 <td>{$MODULE_new_products}</td>

	</tr>

</table>

aber was mach ich falsch? :wall:

Link to comment
Share on other sites

so besser ?

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

<table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr valign="top"> 

 <td> 

 <table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr valign="top"> 

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

   <td class="category">{$CATEGORIES_NAME}</td>

  </tr>

 </table>

{if $CATEGORIES_DESCRIPTION}

<div class="infobox">{$CATEGORIES_DESCRIPTION}</div> 

<br>

<br>


{/if}

{if $module_content !=''} <div class="subcategory">{#heading_more_categories#}</div> 

<br>


 <table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr> 

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

  {php} 

  $col++; 

  {/php} 

  <td class="main">

   <div align="left"> 

   <table width="100%" border="0" cellpadding="0" cellspacing="4">

   <tr> 

    <td class="main"><strong><a href="{$module_data.CATEGORIES_LINK}">»{$module_data.CATEGORIES_NAME}</a></strong><br>

     {if $module_data.CATEGORIES_IMAGE}<a href="{$module_data.CATEGORIES_LINK}"><img src="{$module_data.CATEGORIES_IMAGE}" border="0"></a>{/if}</td>

    <td class="main">{$module_data.CATEGORIES_DESCRIPTION}</td>

   </tr>

   </table>

   </div>

  </td>

  {php} 

  if ($col>=2) { 

  $col=0; 

  echo '</tr><tr>';

  } 

  {/php} 

  {/foreach} 

  </tr>

 </table> 


{/if} <br>


 </td>

 <td class="main" nowrap width="1%"> </td>

</tr>

</table>

<br>


<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

 <td>{$MODULE_new_products}</td>

</tr>

</table>

Link to comment
Share on other sites

Archived

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

×
  • Create New...