View Single Post
Old 2008-08-27, 10:27 AM   #1
Tommy
NYC Boy That Moved To The Island
 
Join Date: Apr 2003
Posts: 2,940
Send a message via ICQ to Tommy
can someone help me with a TGPX templete

I been fooling around with this for like 2 days

I wanna put 5 gallerys up with

1 thumbnail in each row with keywords and other stuff to the right of it

<table><tr><td>
thumbnail
</td><td>
keyword<BR>
decription<BR>
url<BR>
</td></tr></table>


this is what i got and it makes a mess


<table align="center" cellpadding="5" border="0">
<tr><td colspan="1">
{* PULL THE PERMANENT GALLERIES FROM THE DATABASE *}
{galleries
var=$galleries
type=permanent
format=any
getnew=true
allowused=false
description=true
preview=true
amount=5
previewsize=125x162
category=MIXED
sponsor=any
order=RAND()
reorder=RAND()}
{* DISPLAY ALL OF THE GALLERIES *}
{foreach var=$gallery from=$galleries counter=$counter}
<a href="{$gallery.gallery_url|htmlspecialchars}" target="_blank"><img src="{$gallery.preview_url|htmlspecialchars}" border="0" alt="Thumb"></a>

</td><td>

{$gallery.keywords|htmlspecialchars}<br>
{$gallery.description|htmlspecialchars}<br>
{$gallery.preview_url|htmlspecialchars}<br>
<BR><Br><BR><BR>
</tr><tr>
{/insert}
{/foreach}

</td></tr></table>
</td></tr></table>
__________________
Accepting New partners
Tommy is offline   Reply With Quote