We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43177
    • 11 Posts
    Hi, I may have a kind of easy problem again.

    I've running a 2.2.6-pl Revo with the gallery plugin (http://rtfm.modx.com/extras/revo/gallery/gallery.gallery) installed. Now i try to call the gallery from within another snippet like:

    echo $modx->runSnippet( Gallery, array( "album" => $modx->resource->get('id'), "plugin" => "Slimbox" ) );


    All Gallerys are named by the ID of the ressource in that the gallery should displayd. For Example if my ressource is have id 217 the name of the gallery is 217 too.
    Thing is that if I pass a variable to "album" I always get a blank screen, if the call is like

    echo $modx->runSnippet( Gallery, array( "album" => "217" ) );


    it works well. But it's always the same :-D

    [ed. note: stahli last edited this post 12 years, 10 months ago.]
      • 43177
      • 11 Posts
      Nobody with any idea? :-(