Quote:
Originally Posted by rachelo
Well, my TGP is not really live right now and all the galleries are mine, or sponsor galleries so I was thinking to keep them aroud.
Is that a bad idea?
|
It's just more difficult to work with, since some of the template functions don't work with permanent galleries. Baxter's solution is the only one I can think of for two columns of permanent galleries.
Your archived galleries won't go away, so I don't see any real advantage to using permanent unless as Baxter suggests you don't have enough galleries to fill both your main pages and the archives.
Here's the AGP code that I use to get two columns on my archives. It fills both columns at the same time, so if you run out of galleries in a category both columns come out the same length if even number of galleries, or left column 1 longer if an odd number.
Code:
<%TEMPLATE
NAME Text
HTML <a href="##Gallery_URL##" onMouseOver="window.status='##Description##'; return true"; onMouseOut="window.status=''; return true";>##Description##</a> (##Thumbnails##)<br>
%>
and within the page
Code:
<TABLE>
<TR>
<%GALLERIES
TYPE Text
CATEGORY {insert category name}
AMOUNT 200
HTML Text
INSERT
{
LOCATION +1
HTML </td>
}
INSERT
{
LOCATION +2
HTML </tr>
}
INSERT
{
LOCATION +2
HTML <tr>
}
INSERT
{
LOCATION +1
HTML <td>
}
%>
</TR>
</TABLE>