Im about to create a selfmade image gallery. i created a datamodel named GalleryImage.
and added a "Title" to the static $db.
I created a GalleryPage page type and added
static $has_many = array("Images"=>"GalleryImage");
Then i ran /dev/build?flush=1
and altough ive added some GalleryImages to it and inserted
<% control Images %>
<% end_control %>
inside my GalleryPage.ss file no Title of the Images shows.
GalleryPage.php : http://pastie.org/719094
GalleryPage.ss : http://pastie.org/719095
GalleryImage.php : http://pastie.org/719098