Log in

No account? Create an account

Custom S2 Layout for Fotobilder


Previous Entry Custom S2 Layout for Fotobilder Aug. 1st, 2004 @ 12:54 am Next Entry
Hi all, I'm creating a custom S2 layout for my fotobilder account to match my custom S2 layout for my Journal. I've run across something that I'd like to get help on.

On the GalleryPage class, there is a member of type Picture[] called pictures from which I can obtain information about the pictures in the gallery. I'd like to print a list of the pictures including the descriptions for those pictures on my gallery page. The problem that I'm getting is that on the Picture class, the member of type string called des is where I'd assume for the descriptions to be, however the documentation says "string des : Description of picture for gallery pages. Not populated by default.", and that seems to be true. The fields are empty when I'm trying to access it from the GalleryPage.

Does anyone know why the fields would not be loaded, and if there is any way for me to get them from a GalleryPage?

much thanks,

Leave a comment
[User Picture Icon]
Date:August 1st, 2004 05:59 am (UTC)
The fields aren't loaded to save the database incase you don't want to use them. If you do, you should call


somewhere in GalleryPage::print_body() before you try to access the des property of the pictures. What I haven't found out yet is how to get that on the Picture pages!
Date:August 1st, 2004 11:17 pm (UTC)
Wow ... now I feel silly. I didn't even see that in the documentation for the GalleryPage. I must have skipped right over it ... *feels all embaressed now*.

Thanks for the information :)
(Leave a comment)
Top of Page Powered by LiveJournal.com