How to make a POTD template in AutoGallery SQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fusionx
    Confirmed User
    • Nov 2003
    • 4618

    #1

    How to make a POTD template in AutoGallery SQL

    This obviously assumes you will have at least one gallery for your chosen sponsor added or released per day. Conversely, you can add multiple sponsors if you just want a rotating picture and don't need to restrict it like a real POTD for a single sponsor.

    You will need to spend the bucks to remove the 'powered by Autogallery" link at the bottom of every page.

    Learn more about AutoGallery SQL

    Code:
    <%DEFINE
    GLOBALDUPES True
    PAGEDUPES False
    %> 
    <%TEMPLATE
    NAME POTD1
    HTML <center><a href="##Gallery_URL##"><img src="##Thumbnail_URL##" /><br>MET-Art POTD</a></center> 
    %>
    <%GALLERIES
    HASTHUMB 1
    DESCREQ True
    TYPE Permanent
    FORMAT Any
    CATEGORY Mixed
    AMOUNT 1
    SPONSOR Met-art
    HTML POTD1
    GLOBALDUPES True
    PAGEDUPES False
    ORDER (Clicks) DESC
    REORDER (Clicks) DESC
    GETNEW True
    FILL False
    MAXAGE 1
    %>
  • MissMina
    Confirmed User
    • Jan 2004
    • 2478

    #2
    Thanks.... Very cool

    Comment

    Working...