You are here:  » Merchant a to z grid ?

Active Forum Topics


Merchant a to z grid ?

Submitted by Alex321 on Tue, 2012-01-31 11:15 in

Hi
How do I get the list of merchants on the grid?
I have written this

Before All
<div class='pto_atoz'>
<table ><tbody><tr>
Before
<td width="25%"><h3>%LETTER%</h3>
<ul>
Each
<li><a href='%ITEM_URL%'>%ITEM%</a></li>
After
</ul>
After All
</td></tr></tbody></table></div>

but it is on one line.
thanks

Submitted by support on Tue, 2012-01-31 12:47

Hello Alex,

The A to Z After templates supports the %IF_EVERYn% placeholder, so to display items in a grid of 3 columns, for A to Z / After, where you currently have:

</ul>

...REPLACE with:

</ul>
</td>
%IF_EVERY3%
</tr><tr>
%ENDIF_EVERY3%

And for A to Z / After All, where you currently have:

</tr></tbody></table></div>

...REPLACE with just:

</tr></tbody></table></div>

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by Alex321 on Thu, 2012-02-02 09:40

I realized after I had forgotten
%IF_EVERY3%

%ENDIF_EVERY3%

thanks anyway for the answer :D

Submitted by paul1107 on Wed, 2014-04-16 17:11

Hi David,

Should this be the same for brand A-Z? as I have tried to apply as shown, but nothing changes.

After

</ul>
</td>
%IF_EVERY2%
</tr><tr>
%ENDIF_EVERY2%

After All

</tr></tbody></table></div>

Submitted by support on Thu, 2014-04-17 08:50

Hi Paul,

Yes, that should work fine - I just gave it a try on my test server to double check. What I would suggest is to use View > Source in your web browser when viewing the page and look at the mark-up to see if the conditional </tr><tr> exists but for some reason is not having the desired layout effect.

If you're still not sure, if you could let me know an example page URL (I'll remove before publishing your reply) I'll check it out for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by paul1107 on Thu, 2014-04-17 14:26

Hi David

This is still not playing...

do you mind having a look {link saved}

help as always is much appreciated

Regards

Submitted by support on Thu, 2014-04-17 15:13

Hi Paul,

Thanks for the link - the markup was in the output, but the corresponding opening table code doesn't appear to be present, so this needs to be added, e.g.

Before All

<div class='pto_atoz'>
<table>
<tr>

Before:

<tr>
<p><strong>%LETTER%</strong></p>
<ul>

It should then all work as expected...

Cheers,
David.
--
PriceTapestry.com