Images with links under menu

idaryl

Avatar: idaryl

2006-09-20 04:46

How do you add a set of images with links under the side menu like this : http://www.radioavivamiento.com/store/ -- ProSam did it I think - seems a cool way to advetise other products etc.

Wulfgen

wewior (OpenSolution)

Avatar: wewior

2006-09-20 08:38

edit file "templates/categories_menu.tpl" and add images under </dl> and before </div> in block LIST_FOOTER for example:

<!-- BEGIN LIST_FOOTER -->
</dl>
IMAGES HERE
</div>
<!-- END LIST_FOOTER -->

idaryl

Avatar: idaryl

2006-09-20 21:02

OK so I added it here : <!-- BEGIN LIST_FOOTER -->
</dl>

<br />
<!-- added code for plugins results -->
<center><a href="?p=ordersBasket">$sBasketSummary</a></center>
$sLastProduct
$sRandomProduct
<img src="cart_art/paypal.jpg">
<!-- added code for plugins -->
</div>
<!-- END LIST_FOOTER -->

It shows where it supposed to, but as a broken image link - I have the image in the cart_art dir in the templates dir - but - even if I have the image in the templates dir with a direct link ( <img src="paypal.jpg">) it still shows as broken? any ideas?

Wulfgen

Claps

Avatar: Claps

2006-09-21 07:42

idaryl - your link should look like <img src="templates/img/paypal.jpg"> and your image put in templates/img folder.

idaryl

Avatar: idaryl

2006-09-22 03:17

That did it! I was not linking correctly - thank you - I'm now working on getting the image as a link to somewhere

thanks Claps
btw/ Another shout-out to you for the fully loaded stuff

Wulfgen

Claps

Avatar: Claps

2006-09-22 10:10

idaryl - example: <a href="?p=ordersBasket"><img src="templates/img/paypal.jpg"> </a>

pcoins

No avatar

2006-09-23 15:04

Hello idaryl
you can copy this code to templates/categories_menu.tpl

i have 6 images
in <img border="0" src="http://www.your-domain.com/templates/img/manufacturer_canon.gif" width="100" height="57"></p>
<p align="center">

you mast add your images URL


<!-- BEGIN LIST_HEAD -->
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>

<body>

<div id="menu" style="width: 552; height: 325">
<dl>
<!-- END LIST_HEAD -->
<!-- BEGIN LIST_LIST -->
<dt>
<a href="?p=productsList&iCategory=$aList[iCategory]&sName=$aList[sNameUrl]">
$aList[sName]</a></dt>
<!-- END LIST_LIST -->
<!-- BEGIN SUB --></dt>
<dd>
<a href="?p=productsList&iCategory=$aList[iCategory]&sName=$aList[sNameUrl]">
$aList[sName]</a></dd>
<!-- END SUB -->
<!-- BEGIN LIST_FOOTER --></dd>
</dl>
<p><br />
<!-- added code for plugins results --></p>
<center>
<p><a href="?p=ordersBasket">$sBasketSummary</a></p>
</center>
<p>$sLastProduct $sRandomProduct </p>
<p align="center">
<img border="0" src="http://www.your-domain.com/templates/img/manufacturer_canon.gif" width="100" height="57"></p>
<p align="center">
<img border="0" src="http://www.your-domain.com/templates/img/manufacturer_gt_interactive.gif" width="100" height="57"></p>
<p align="center">
<img border="0" src="http://www.your-domain.com/templates/img/manufacturer_hewlett_packard.gif" width="100" height="57"></p>
<p align="center">
<img border="0" src="http://www.your-domain.com/templates/img/manufacturer_logitech.gif" width="100" height="57"></p>
<p align="center">
<img border="0" src="http://www.your-domain.com/templates/img/manufacturer_microsoft.gif" width="100" height="57"></p>
<p align="center">
<img border="0" src="http://www.your-domain.com/templates/img/manufacturer_sierra.gif" width="100" height="57"></p>
<p>&nbsp;</p>
<p>
<!-- added code for plugins --><span class="file">$sOnlineStatistics</span></div>
<!-- END LIST_FOOTER -->
<!-- BEGIN SELECTED -->
<!-- END SELECTED -->
<!-- BEGIN PHOTO -->
<!-- END PHOTO -->
<!-- BEGIN NOT_FOUND -->
<div id="menu">
&nbsp;</div>
<!-- END NOT_FOUND -->
<!-- BEGIN NO_PHOTO -->
<!-- END NO_PHOTO -->
<p>&nbsp;</p>

</body>

</html>

pcoins

No avatar

2006-09-23 15:05

this is for V1.3 QC

Back to top
about us | contact