Greenguy's Board


Go Back   Greenguy's Board > TGP Discussions
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2007-01-30, 01:12 PM   #6
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Quote:
Originally Posted by rachelo View Post
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>

Last edited by Toby; 2007-01-30 at 01:15 PM..
Toby is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:35 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc