Loading...
 
Skip to main content

Features / Usability


File Gallery Ref in Handlers

I have a profile that creates a file gallery, and then I try to reference it in the category handler to apply the category to the file gallery.

Here is my code for the file gallery.

objects:
-
type: file_gallery
ref: file
data:
name: $profilerequest:groupname$Default name$
parent: 1

This is my code for the category.

objects:
-
type: category
ref: category
data:
name: $profilerequest:groupname$Default name$
items:
- blog, $blogname
- wiki_page, $wikipage
- calendar, $calendar
- file_gallery, $file

The blog, wiki page, and calendar are all categorized correctly, but the file gallery does not work. Does anyone have any suggestions?

It almost seems like the ref does not work for the file gallery. Does anyone know if the coding for the ref is embedded in the code for each handler? Or is there one set of code for just the ref section?

Thanks,
Greg