You are here:  » Open merchant link in a new browser window

Support Forum



Open merchant link in a new browser window

Submitted by AD_Mega on Fri, 2007-02-23 07:29 in

I would like the merchants website to open in a new browser window. How do I make links open in a new window. Also on the Brand page it list the brands going aross the page insted of down. Here is the link the linke so you can see what I'm talking about. http://www.megashoppingonline.com/brands.php

Submitted by support on Fri, 2007-02-23 08:37

Hi,

See the following thread for instruction to make the visit store link open in a new window...

http://www.pricetapestry.com/node/210

I've had a look at the HTML for your brand index and worked out what the problem is. It is to do with a number of brand entries on your site containing spaces at the start. This is creating an index entry of an empty string, and so on the next itteration of the loop the code doesn't think that it is already writing the table so it does not start a new line.

The best way to fix this would be to register a Trim filter against the brand field of the feed that contains those brand names with the space in front of them (all those you can see in the list before it goes to "0" on the next row).

Alternatively, this could be fixed in html/atoz.php by making the following modification. Look for the following code (line 21):

if ($currentLetter)

and change this to:

if (1)

That will correct the columns, but you will still be left with the incorrect entries at the top. It would be much better to use the Trim filter if you know which merchant's feed these entries are coming from...

Hope this helps,
Cheers,
David.

Submitted by AD_Mega on Fri, 2007-02-23 11:03

Thanks! I was able to use the trim filter to get rid of the entries at the top.