Hello,
I am attempting to use the SimplePicasaGallery module and pull content to another page. I'm a bit of a silverstripe noob so be warned.
I have the following in a theme template. I created a SimplePicasaGallery page named "pics". I'm attempted to pull one of the functions and display photo thumbs. I can't get any of the functions in the page_controller to call from the control tag for the template. In this case I'm tyring to call PIcasaAlbumList which should have a $Thumb url that would be displayed. However the following code does not display anything.
Note: If I go to the pics page everything displays so I know it is working.
Here's my code:
<% control Page(pics) %>
<% control PicasaAlbumList %>
<a href='$Top.Link/viewalbum/$Id'>
<img src="$Thumb" alt="$Description" <% if ShowDescription %>title="$Description"<% end_if %>/>
</a>
<% end_control %>
<% end_control %>