3361 Posts in 944 Topics by 844 members
|Go to End|
30 November 2009 at 12:57am Last edited: 30 November 2009 2:34am
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.
30 November 2009 at 2:33am
Damn it. got it...
Forgot to check the checkbox left of the entry in the admin panel.....
shame on me...
|Go to Top|