Jump to content

Latest products display fix


goober999

Recommended Posts

Guest sampdoriano

Thanks very much for that fix, now I can finally put whatever latest products I want side by side on my homepage without stupid, unsightly gaps appearing for no apparant reason :) !?!

Link to comment
Share on other sites

  • Replies 71
  • Created
  • Last Reply

Top Posters In This Topic

Point is, I have seen a similar phenomenon and cured it many times, but without looking I wouldn't know if it was a case of the same bug. Read the pinned post, "PLEASE READ THIS BEFORE POSTING . . ."

It has some important tips on how to post best to get help in the forums.

Ok I dont want to be nasty here but im not new to foums and know how to use them If you look at my cart you can see what I have accomplished by reading through and searching the forums for help I only post here as a last resort, Ive download your guide that you wrote and that indeed worked but I cannot find any infomation about PP express and PP Direct, Ive found many posts about the same problem and many different fixes and none of them have worked, no disrespect but sometimes not all the fixes work. Im asking for help here and I have even paid people to do work for me on my site and the same goes for this issue, so please dont assume that everybody here has no idea on using forum.

Sorry to be blunt but Ive read so many time READ HOW TO USE THE FORUMS...... or search for your problem but sometimes it hard to exactly know what you are searching for....

Link to comment
Share on other sites

so please dont assume that everybody here has no idea on using forum.

ROFLMAO : :)

Sorry, I am assuming nothing - I am simply reading the forums to help. I waste my time reading help requests by people who "know how to use forums" but do not post links to the problems or enough information for a person who is interested in helping to go on.

Sorry to be blunt but Ive read so many times requests for help that are either rude or have so little information to go on, by people who have obviously not read or respected the capitalized PLEASE READ THIS BEFORE POSTING TO THESE FORUMS, that I will continue to remind folk in threads about this even if it is a tad bit irritating to you.

Do you think I should apologize for writing a tutorial in my free time of my own goodwill just because it didn't answer your specific question? Or should I apologize for pointing out tips that may help you get better and quicker answers in the forums?

Good luck. ;)

BTW, I did look at the site linked in your sig a couple of times, but obviously that is not the problem page of which you speak. It is a page of very brightly colored, blinking text on a black background. You may want to think about re-designing it for a wider audience appeal.

Link to comment
Share on other sites

so please dont assume that everybody here has no idea on using forum.

ROFLMAO : :^^:

Sorry, I am assuming nothing - I am simply reading the forums to help. I waste my time reading help requests by people who "know how to use forums" but do not post links to the problems or enough information for a person who is interested in helping to go on.

Sorry to be blunt but Ive read so many times requests for help that are either rude or have so little information to go on, by people who have obviously not read or respected the capitalized PLEASE READ THIS BEFORE POSTING TO THESE FORUMS, that I will continue to remind folk in threads about this even if it is a tad bit irritating to you.

Do you think I should apologize for writing a tutorial in my free time of my own goodwill just because it didn't answer your specific question? Or should I apologize for pointing out tips that may help you get better and quicker answers in the forums?

Good luck. :)

BTW, I did look at the site linked in your sig a couple of times, but obviously that is not the problem page of which you speak. It is a page of very brightly colored, blinking text on a black background. You may want to think about re-designing it for a wider audience appeal.

Sorry Mark I was at hospital all day with my daughter and was in a pretty foul mood when I posted I should have waited, I was not having a go at you for your guide It was brilliant and thanks for the time and effort to do it. I will re apply the fix and the link to the page you are after is

www.branchesofbeauty.com.au/wholesale

Take a look and tell me what you think.

Link to comment
Share on other sites

Also Mark,

I was just checking out your aluminium skin on your site, I would love to have that layout with my colors what are the chances of that ?

Link to comment
Share on other sites

Hi viss, sorry, family issues have kept me busy and I only just now saw your posts. I will look at that page today. As to the skin, I can make a skin in that style for you - the custom price will have to be quoted - please contact me via helpdesk at store, because posts of this nature may be removed in the .com support forum.

BTW, this skin uses images for all buttons throughout the store, so it is limited as to languages - best for stores using only one language.

------------------------------

Have looked at your page. Could you copy the contents of styleTemplates/content/index.tpl and post it here?

Link to comment
Share on other sites

<!-- BEGIN: index -->

<table width="100%" border="0"><tr>

<!-- BEGIN: repeat_prods -->

<td width="{TW}%">

<div style="float: center; text-align: center;">

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

<br />

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

<br />

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

</div>

</td>

{TXT_TR}

<!-- END: repeat_prods -->

</tr></table>

<!-- END: index -->

Copied from the first post in this thred. I will contact you about the skin.

Link to comment
Share on other sites

I use my own methods to cure this display problem, and in truth have never implemented Goober's method, but if you had followed the instructions in his post, your Legend skin content/index.tpl file should look like this:

<!-- BEGIN: index -->

<div class="boxContent">

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

<br />

{HOME_CONTENT}

</div>

<table width="100%" border="0"><tr>

 <!-- BEGIN: repeat_prods -->

 <td width="{TW}%">

   <div style="float: center; text-align: center;">

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

	   <br />

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

	   <br />

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

   </div>

	 </td>

	 {TXT_TR}

 <!-- END: repeat_prods -->

 </tr></table>

<!-- END: index -->

Since I don't use that method myself, I haven't tested the above code - but it appears that you have overwritten the first part, which is contrary to the instructions in the first post. That may be the cause of your problem.

Link to comment
Share on other sites

Wow, sorry then, as I said I haven't used his code, I prefer my own methods of fixing the problem. But if you made an error in installation in content/index.tpl you may have made errors in includes/content/index.inc.php as well. Please double-check the instructions step-by-step.

Will reply to your helpdesk ticket at my store shortly; thanks for the enquiry :D

Link to comment
Share on other sites

Well double checked everything and still no good Im going to go a different way and try to put boxes in like on your main page of your site. Do you have a mod for this ?

Link to comment
Share on other sites

Guest shandaman

hey all, when i do this mod http://www.3dgamics.com/store it aligns them all in a straight line here is my content /index.tpl code.

dosent do 4 acrosss.

<!-- BEGIN: index -->

<div class="boxContent">

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

<br />

{HOME_CONTENT}

</div>

<!-- BEGIN: latest_prods -->

	<div class="boxContent">

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

		<div>

		 <!-- BEGIN: repeat_prods -->

		<td width="{TW}%">

   <div style="float: center; text-align: center;">

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

	   <br />

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

	   <br />

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

   </div>

	 </td>

	 {TXT_TR}

 <!-- END: repeat_prods -->

		<br clear="all" />

		</div>

		<br clear="all" />

		

		

	</div>

<!-- END: latest_prods -->

<!-- END: index -->

Any ideas why its doing this to me? I also added the code to thw indexinc.php file aswell.

Link to comment
Share on other sites

Hi Mark, i tried this and it seems to work, HOWEVER, the strangest of things seems to happen!! When i visit my homepage i scroll down to latest products and it looks fine. I scroll back up to the top of the page and then scroll back down and BAM!!! My border surrounding the latest products is a now has a broken line!! I'm using the killer screen. My tpl file looks like this:

<!-- BEGIN: index -->

<div class="boxContent">

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

<br />

{HOME_CONTENT}

</div>

<!-- BEGIN: latest_prods -->

<div class="boxContent">

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

<div style="margin-top: 10px;">

<!-- BEGIN: repeat_prods -->

<div style="float: left; text-align: center; width: {VAL_WIDTH}px; height: 130px;">

<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 />

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

<br />

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

</div>

<!-- END: repeat_prods -->

<br clear="all" />

</div>

<br clear="all" />

</div>

<!-- END: latest_prods -->

<!-- END: index -->

I've tried playing around with the heights and my image thumbnail size but still no joy!!!

Link to comment
Share on other sites

The broken line has nothing to do with this mod or with thumbnails, etc. It is due to the IE peekaboo bug - a browser compliance issue, IE is the problem. Try viewing in FF or Netscape and you shouldn't have that problem.

A workaround fix for the IE display problem is to add position: relative; to the .boxContent class in layout.css -

EXAMPLE:

.boxContent {

position: relative;

padding: 3px;

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 75%;

color: black;

background-color: #FFFFFF;

margin-bottom: 5px;

}

Link to comment
Share on other sites

  • 1 month later...
Guest netrix

I couldn't agree more with markscarts! I applied the CSS changes to skins/myskin/styleTemplates/content/index.tpl and all is well again!

Link to comment
Share on other sites

  • 4 weeks later...
Guest flinx

:ninja:

Worked GREAT!

No more missing outline of latest products box!

WHEW!

When goober999 mentions that first line of code to replace he dosent show it all which you'd just have to know a thing or two about code.

Otherwise BRAVO!!!!!!!!!!!!!!

Thanks ALOT,

FLINX

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
Guest Terry Rogers

Hi all,

Not sure if any one can help. Ive applied this fix to sort out my latest products display, but after applying it my latest products disapear...

The code for index.tpl is ...

<!-- BEGIN: index -->

<div class="boxContent">

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

<br />

{HOME_CONTENT}

</div>

<!-- BEGIN: latest_prods -->

	<div class="boxContent">

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

		<div>

		<!-- BEGIN: repeat_prods -->

<table width="100%" border="0"><tr>

<!-- BEGIN: repeat_prods -->

<td width="{TW}%">

<div style="float: center; text-align: center;">

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

<br />

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

<br />

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

</div>

</td>

{TXT_TR}

<!-- END: repeat_prods -->

</tr></table>

		<!-- END: repeat_prods -->

		<br clear="all" />

		</div>

		<br clear="all" />

		

		

	</div>

<!-- END: latest_prods -->

<!-- END: index -->

Have I done something wrong?

Website for the cart is http://www.tiffanychrister.me.uk/shop

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...