michi22 Posted December 9, 2004 Report Share Posted December 9, 2004 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 More sharing options...
polkhigh33 Posted December 9, 2004 Report Share Posted December 9, 2004 templates/deintemplate/module/categorie_listing/categorie_listing.html {if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}">{/if}einfach an die gew?nschte stelle verschieben. Link to comment Share on other sites More sharing options...
michi22 Posted December 9, 2004 Author Report Share Posted December 9, 2004 Hallo, ich versuch das jetzt schon seit 2 Stunden aber irgendwie geht das nicht. Entweder zeigt es den namen nicht mehr an oder es geht gar nichts mehr. Link to comment Share on other sites More sharing options...
polkhigh33 Posted December 9, 2004 Report Share Posted December 9, 2004 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 More sharing options...
michi22 Posted December 9, 2004 Author Report Share Posted December 9, 2004 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 More sharing options...
michi22 Posted December 9, 2004 Author Report Share Posted December 9, 2004 So sieht es im moment aus: http://www.mwa-audio.de/index.php?cPath=6 Link to comment Share on other sites More sharing options...
polkhigh33 Posted December 9, 2004 Report Share Posted December 9, 2004 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 More sharing options...
michi22 Posted December 10, 2004 Author Report Share Posted December 10, 2004 Danke polkhigh33 f?r deine Hilfe Hat wunderbar geklappt Link to comment Share on other sites More sharing options...
Waldfee Posted December 11, 2004 Report Share Posted December 11, 2004 Kannst auch gleich Dein Impressum korrigieren, "?bernehmen" schreibt man mit "h". Gruss M.Walter jumpbase mm Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.