Jump to content

a couple of questions :)


Guest intergemsuk

Recommended Posts

Guest intergemsuk

Hi,

Im finding this forum very useful with the development of my site.

1.) I am using flags to represent my currency. I want to display the flags in the order of UK, USA, EURO i have tried playing around with the order in admin however it always puts EURO as the first currency? Im not sure how to get around this...

2.) i purchased a mod that displays category images on the homepage, however i have decied not to use this and would like to use images as links to specific categories. How can do you link an image to load a category page?

I have looked at the code on my content/index.tpl:

Not sure how do link an image to a category? I tried the following

<a href="index.php?act=viewCat&amp;catId={Pendants}" class="txtDefault"><img src="{Pendants}" alt="{Pendants}" border="0" /></a>

Any ideas would be a great help! cheers, ben.

<!-- BEGIN: index -->



<!-- BEGIN: sub_cats -->





<div class="boxContent">





<span class="txtContentTitle"></span>





  <div>





<!-- BEGIN: sub_cats_loop -->





<div style="float: left; text-align: center; possition:relative; margin:5px;">





	<a href="index.php?act=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault"><img src="{IMG_CATEGORY}" alt="{TXT_CATEGORY}" border="0" /></a><br />





  





  </div>





  <!-- END: sub_cats_loop -->





  <br clear="all" />





  </div>





  <br clear="all" />





  </div>





<!-- END: sub_cats -->





<!-- BEGIN: latest_prods -->

	<div class="boxContent">

	<span class="txtContentTitle">{LANG_LATEST_PRODUCTS}</span>

		<div>

		<!-- BEGIN: repeat_prods -->

			<div style="float: left; margin: 10px; padding: 4px; text-align: center; border: 1px solid #999999; width: {VAL_WIDTH}px;">

							<a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a>

				<br />

				<a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" /></a>

				<br /> 

				{TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span>

				<div class="latestbox">



   <form action="{CURRENT_URL}" method="post" name="prod{PRODUCT_ID}">



   <a href="index.php?act=viewProd&amp;productId={PRODUCT_ID}" target="_self" class="txtButton2" >{BTN_MORE}</a></div>



  <div class="latestbox">



  <input type="hidden" name="add" value="{PRODUCT_ID}" />



	<input type="hidden" name="quan" value="1" />

	</form>



	<form action="{CURRENT_URL}" method="post" name="prod{PRODUCT_ID}"><span class="txtOutOfStock" style="line-height: 20px;"> {TXT_SOLD_OUT} </span>



	<!-- BEGIN: buy_btn -->



	<input type="hidden" name="add" value="{PRODUCT_ID}" />



	<input type="hidden" name="quan" value="1" /><a href="java script:submitDoc('prod{PRODUCT_ID}');" target="_self" class="txtButton2" >{BTN_BUY}</a>



	<!-- END: buy_btn -->



	</form>



  </div>

			</div>

		<!-- END: repeat_prods -->

		<br clear="all" />

		</div>

		<br clear="all" />

		

		

	</div>

<!-- END: latest_prods -->

<!-- END: index -->

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...