pnm,
To add images other than product images, it's best to make your own templates. For instance, I made templates for my Comodo SSL seal, Paypal Verified seal, and credit card pics so they appear along the sides of my pages beneath the menu items (I use the default 3-column style). For example, the template I made for my Comodo seal (Comodo.tpl) looks like this:
and for my credit card pics (PaymentTypesGraphic.tpl):
Quote:
<div align="center">
<table width="83" border="0" cellspacing="3" cellpadding="0" height="78">
<tr height="23">
<td align="center" valign="middle" height="23">[img]{$ImagesDir}/Visa_Logo.gif[/img]</td>
<td align="center" valign="middle" height="23">[img]{$ImagesDir}/MC_Logo.gif[/img]</td>
</tr>
<tr>
<td align="center" valign="middle">[img]{$ImagesDir}/Disc_Logo.gif[/img]</td>
<td align="center" valign="middle">[img]{$ImagesDir}/Amex_Logo.gif[/img]</td>
</tr>
<tr>
<td colspan="2" align="center" valign="middle">

</td>
</tr>
</table>
</div>
|
I placed this and my other image-adding templates in my <x-cart dir>/skin1 directory (it appears in the main template directory of the template editing section of the Admin area). I placed the images themselves in the <x-cart dir>/skin1/images directory.
Next, go to your home.tpl template (in the skin1/customer directory) to add the templates you made in the locations you want them to appear. For instance, I placed my credit card pics (PaymentTypesGraphic.tpl) and Paypal seal (PaypalSeal.tpl) beneath the login box along the right side:
Quote:
{include file="customer/home_main.tpl"}
</td>
<td class="VertMenuRightColumn">
{if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''}
{include file="modules/SnS_connector/button.tpl"}
{/if}
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
{/if}
{include file="customer/menu_cart.tpl" }
{*** Place customer/special.tpl here ***}
{include file="customer/special.tpl"}
{if $login eq "" }
{include file="auth.tpl" }
{else}
{include file="authbox.tpl" }
{/if}
{*** Add PaymentTypesGraphic.tpl and Paypal seal here ***}
{include file="PaymentTypesGraphic.tpl"}
{include file="PaypalSeal.tpl"}
|
You can ceate your custom templates in Notepad or similar application and save with the .tpl extension. Then upload to the skin1 directory. You can also create new templates with the Admin template editor. Within your own templates, you can use line break (
) tags at the top and bottom to achieve the spacing you want between your image templates and the other items. You can also move other templates included in home.tpl up or down or from one side to the other to achieve the exact look you want.
As for changing the appearance of the home page only, I'm not really sure. The top section is controlled by head.tpl. However, it controls the top section of all pages, not just the home page. I don't know off the top of my head how you would change the appearance of just the home page. Maybe one of the experts who are active on this forum could help you there. You may want to post that question by itself under the appropriate topic.
I hope I helped with the image problem. Good luck.
