We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26503
    • 620 Posts
    Maybe it's getting late - maybe I'm missing something, but this should be easy... I'm trying to show the first gallery by default [using gallery on revo 2.2] when someone first visits my gallery page....

    this works:
    [[!Gallery? 
         &album=`1` 
         &containerTpl=`galleryContainerTpl`
         &thumbTpl=`galleryThumbTpl` 
         &thumbWidth=`150`
         &thumbHeight=`150`
         &useCss=`0`
    ]]
    


    This does not.. [it will show other galleries if I click on the galleralbums links, but not the gallery with an ID of 1 when the page is first visited...
    
    [[!Gallery? 
         &album=`[[*galleryid:!empty=`[[*galleryid]]`:else=`1`]]` 
         &containerTpl=`galleryContainerTpl`
         &thumbTpl=`galleryThumbTpl` 
         &thumbWidth=`150`
         &thumbHeight=`150`
         &useCss=`0`
    ]]
    



    Any thoughts on how to display a default gallery easily [actually id really like to display the first gallery ~ not by ID in case anyone ever deletes that particular gallery!]

    -thanks
    -sean

      *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

      Sean Kimball CLP, CLS.
      Technical Director / Sr. Developer | BigBlock Studios
      ._______________________________________________.
      Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
      27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
      phone/fax: 905-426-5525