Shark Master Posted August 20, 2005 Report Share Posted August 20, 2005 Hi, in meinen Shop gibt es 7 Katogorien mit Bilder. Wenn ich die Katogorien mit Bilder und Text angebe. Wird es zu Gross. Also es geht in die Breite. Und es sind dann 3 Katogorien in einer reiche. Meine frage ist ob mir jemanden helfen kann den Templates /module/categorie_listing/categorie_listing.html zu bearbeiten. Den ich habe keine so gutes HTML kenntniss Link to comment Share on other sites More sharing options...
nom Posted August 20, 2005 Report Share Posted August 20, 2005 Die Ziffer gibt die Anzahl der Kategorien an, die nebeneinander angezeigt werden. ($col>=3) Was willst du genau haben? Link to comment Share on other sites More sharing options...
Shark Master Posted August 20, 2005 Author Report Share Posted August 20, 2005 ja genau und wie mache ich es das die ?berschrieft unter dem Bild ist Link to comment Share on other sites More sharing options...
nom Posted August 20, 2005 Report Share Posted August 20, 2005 poste den Quellcode. Link to comment Share on other sites More sharing options...
Shark Master Posted August 20, 2005 Author Report Share Posted August 20, 2005 hier {config_load file="$language/lang_$language.conf" section="categorie_listing"} <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr valign="top"> <td class="main"> <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>{if $CATEGORIES_DESCRIPTION} {$CATEGORIES_DESCRIPTION} <br> <br> {/if} {if $module_content !=''} <strong>{#heading_more_categories#}</strong> <br> <table style="border-top: 2px solid; border-color: #d4d4d4;" 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> Link to comment Share on other sites More sharing options...
NiteStyle Posted August 21, 2005 Report Share Posted August 21, 2005 ... <td align="right"> {if $CATEGORIES_IMAGE}{/if} {if $CATEGORIES_DESCRIPTION} {$CATEGORIES_DESCRIPTION} </td> </tr> Link to comment Share on other sites More sharing options...
Shark Master Posted August 22, 2005 Author Report Share Posted August 22, 2005 Also ich habe es eingebaut. Aber es geht nicht. Link to comment Share on other sites More sharing options...
dukie6666 Posted August 22, 2005 Report Share Posted August 22, 2005 das ist doch einfachstes html, etwas grundlagen solltes du dir das schon aneignen, wenn dein template was werden soll. {config_load file="$language/lang_$language.conf" section="categorie_listing"} <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr valign="top"> <td class="main"> <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>{if $CATEGORIES_DESCRIPTION} {$CATEGORIES_DESCRIPTION} <br> <br> {/if} {if $module_content !=''} <strong>{#heading_more_categories#}</strong> <br> <table style="border-top: 2px solid; border-color: #d4d4d4;" 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" align="center">{if $module_data.CATEGORIES_IMAGE}<a href="{$module_data.CATEGORIES_LINK}"><img src="{$module_data.CATEGORIES_IMAGE}" border="0"></a>{/if}</td> </tr> <tr> <td class="main" align="center"><strong><a href="{$module_data.CATEGORIES_LINK}">{$module_data.CATEGORIES_NAME}</a></strong></td> </tr> <tr> <td class="main" align="center">{$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...
Shark Master Posted August 22, 2005 Author Report Share Posted August 22, 2005 Ok, Danke euch Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.