| 
 | 
|  2007-01-30, 08:50 AM | #1 | 
| Ahhh ... sweet pity. Where would my love life be without it? | 
				
				Autogallery Pro Help
			 How do you get a text listing on two columns from your permanent galleries? For some reason I have a hard time with this. I want to create some archive pages and have a text list of galleries on two columns (not thumbnails).   Any help is much appreciated. | 
|   |   | 
|  2007-01-30, 09:30 AM | #2 | 
| Lonewolf Internet Sales | First, why are you using permanent galleries to build archives, rather than the archived galleries in your database? | 
|   |   | 
|  2007-01-30, 10:13 AM | #3 | 
| Trying is the first step towards failure Join Date: Aug 2003 Location: Michigan 
					Posts: 123
				 | you mean  like this? PHP Code: 
			
				__________________ Baxter's Network - My Network Of Porn Sites!!! | 
|   |   | 
|  2007-01-30, 10:14 AM | #4 | |
| Trying is the first step towards failure Join Date: Aug 2003 Location: Michigan 
					Posts: 123
				 | Quote: 
  
				__________________ Baxter's Network - My Network Of Porn Sites!!! | |
|   |   | 
|  2007-01-30, 12:47 PM | #5 | |
| Ahhh ... sweet pity. Where would my love life be without it? | Quote: 
 Is that a bad idea? | |
|   |   | 
|  2007-01-30, 12:56 PM | #6 | 
| Ahhh ... sweet pity. Where would my love life be without it? | Baxter, for some reason every link is a column now. I just did a copy paste from the code you posted. | 
|   |   | 
|  2007-01-30, 01:12 PM | #7 | |
| Lonewolf Internet Sales | Quote: 
 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> %> 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.. | |
|   |   | 
|  2007-01-30, 01:17 PM | #8 | 
| Lonewolf Internet Sales | Your TEMPLATE for Text probably contains TD tags | 
|   |   | 
|  2007-01-30, 01:50 PM | #9 | 
| Ahhh ... sweet pity. Where would my love life be without it? | Thanks for all the help. Toby: I did a copy paste and I get nothing. I replaced {insert category name} with Mixed. Baxter: It looks like that code works now. I just made a clean tgp.html with nothing but the codes you posted here. I guess I will just keep playing with it. | 
|   |   | 
|  2007-01-30, 01:58 PM | #10 | 
| Lonewolf Internet Sales | The code I posted would need to be used with an archive page per your AGP setup, such as {cat_name}.html. | 
|   |   | 
|  2007-01-30, 02:04 PM | #11 | 
| Ahhh ... sweet pity. Where would my love life be without it? | OK , thanks Toby I think I got it now. Maybe I should spend some time learning php and pearl  | 
|   |   | 
|  2007-01-30, 02:20 PM | #12 | 
| Lonewolf Internet Sales | PHP is useful, but not necessary for using AGP. I tried to teach myself Perl, ended up doing alot of swearing. | 
|   |   | 
|  2007-01-31, 07:16 AM | #13 | 
| Ahhh ... sweet pity. Where would my love life be without it? | I am so screwed up, I totally messed up my tgp.tpl,  any one knows where to get the original one. I think I need a copy and I  have to start over.|badidea| Also all my galleries are Archived even new ones I just imported today. Any ideas? Thanks  | 
|   |   | 
|  2007-01-31, 08:00 AM | #14 | 
| Lonewolf Internet Sales | There's a template validator in the JMB Owners Lounge. That will help you find the errors in your template. When the main tgp template failed to build any galleries it archived all the approved galleries. You'll have to manually set them back to approved before you do your next rebuild after you fix your tgp.tpl | 
|   |   | 
|  2007-01-31, 09:23 AM | #15 | 
| Ahhh ... sweet pity. Where would my love life be without it? | Thanks Toby, the template validator did it, my page is back   Is this ok to get a table of thumbnails: Code: <%TEMPLATE NAME Thumb HTML <td><a href="##Gallery_URL##" target="_blank"><img src="##Thumbnail_URL##" border="0" class="thumb"></a></td> %> Code: <%GALLERIES
TYPE Thumb
CATEGORY Mixed
AMOUNT 28
HTML Thumb
INSERT
{
    LOCATION +7
    HTML </tr><tr>
}
%>Thank You all. | 
|   |   | 
|  2007-01-31, 10:10 AM | #16 | 
| Lonewolf Internet Sales | That should give you 4 rows of 7 thumbs. | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| Display Modes | Rate This Thread | 
| 
 | 
 |