Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Little AutoGallery Pro problem (http://www.greenguysboard.com/board/showthread.php?t=11670)


}
%>
Now if I try to show the GALLERIES for the 2nd time nothing shows up with this code:
Code:

<%GALLERIES
TYPE Thumb
CATEGORY Mixed
AMOUNT 20
HTML Text
%>

While according this page: http://www.jmbsoft.com/kb/index.php?a=1 it should work...

But when I use the next code to show a 2nd set of PERMANENT galleries it gives a correct result:
Code:

<%PERMANENT
TYPE Thumb
CATEGORY Mixed
HTML Text
AMOUNT 20
%>

Any AutoGallery Pro guru's out there that know what I'm doing wrong?
Fonz 2004-09-30 05:49 AM

Little AutoGallery Pro problem
 
I am redoing my TGP page using Autogallery Pro.
Here is my testpage: http://www.smilinpussy.com/tgp.php
I want to have 24 thumbnails as "Todays galleries" using 12 submitted galleries and 12 Permanent galleries. (for now the SUBMITTED galleries are extremepaychecks galleries and the PERMANENT galleries are TCG galleries).

The first part works as it should. I get those 24 mixed galleries up as you can see.

It's the second part that just won't work:
I want to have a list of 40 textlinks below the webcams you see. Again 20 SUBMITTED and 20 PERMANENT galleries.
I can get the permanent ones to show up without a problem. But the submitted galleries won't show up. i tried everything I could think of but without result.

Here's the code for the 24 thumb galleries that show up correct:
Code:

<%GALLERIES
TYPE Thumb
CATEGORY Mixed
AMOUNT 12
HTML Thumb

PERMANENT
{
    LOCATION +1
    HTML Thumb
    TYPE Thumb
    CATEGORY Mixed
}

INSERT
{
    LOCATION +3
    HTML

DangerDave 2004-09-30 08:52 AM

Fonz,

I have hade similar probs with AGPro..

Try creating a second template outline... for the second(or third etc) set of galls..

eg: if the first is called..

Code:

<%TEMPLATE
NAME Text
.......


create another called...

Code:

<%TEMPLATE
NAME Text2
........


Same for the thumbs...

eg: template 1 is "Thumb", and next is "Thumb2"



HTH

DD

Fonz 2004-09-30 09:05 AM

thx for the tips DD but unfortunately this doesn't seem to help :(
I just keep getting a blanco section

Fonz 2004-09-30 06:19 PM

Problem solved... turned out to be something stupid as usual...

When I build my pages for the first time all submitted galleries that weren't used got the status "Archived" which is logical. So when I added some script to show more galleries on the same page there weren't enough galleries in my database to show...
Ah well, another lesson learned :)

DangerDave 2004-09-30 06:27 PM

Quote:

Originally posted by Fonz
Problem solved...
Good to hear... :)

DD

Surfn 2004-09-30 06:30 PM

Quote:

Originally posted by Fonz
Problem solved... turned out to be something stupid as usual...
Don'tcha hate that |sad|

Glad you figured it out :D


All times are GMT -4. The time now is 03:28 PM.

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