table display of both graphic and name using Page.columns

General ShopSite user discussion

table display of both graphic and name using Page.columns

Postby deb_w » Sun Feb 11, 2007 12:29 am

Folks,

I've stretched my skills way, way past their limit today, and burned up more hours than I'd like to admit trying to get something to work.

I want to display a product photo with the product name beneath it in a 4 column table. The problem is that when I put in the <tr> in my product template to place the name beneath the graphic, then the page template reads that row break into the generated page and hence I lose the 4 across....it turns into one big column.

Here is my product template code:
[-- DEFINE PRODUCT --]
<td><a href="[-- PRODUCT.MoreInfoURL --]">
[-- PRODUCT.Graphic --]</a>
<tr> <td><a href="[-- PRODUCT.MoreInfoURL --]">
[-- PRODUCT.name --]</a></td>
[-- END_DEFINE PRODUCT --]

Here is the relevant page template code:
<tr>
[--LOOP PRODUCTS PAGE.Columns--]
[--PRODUCT--]
[--END_LOOP PRODUCTS--]

(I have my columns set to 4 in my specific page.)

So what am I doing wrong?

:shock:

Deb
deb_w
 
Posts: 17
Joined: Mon Feb 05, 2007 10:35 pm

Postby deb_w » Sun Feb 11, 2007 10:59 am

Disregard post. I figured out how to do this.

Deb
deb_w
 
Posts: 17
Joined: Mon Feb 05, 2007 10:35 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 107 guests

cron