Wiki page detailing ATutor/Lightbox integration

Greg Gay at
Thu Feb 14 15:44:33 UTC 2008

Hi Colin
Not knowing what the RSF code was doing, and leaving it there didn't
seem to affect functionality,  we left it in.  I'll clean it out now,
and update the module for download (and the wiki page).

We also discovered by accident that the lightbox generates a submit
event when an image is moved, thus our button activated submit code was
actually running each time an image was moved. Kind of a cool feature,
but not something we wanted in photo gallery since it could result in a
lot of extra network traffic in installations with many users using the
gallery. Instead we added a submit button to submit all the changes at
once, so the button submit code was replaced with something less generic
(i.e. if{save} instead of if{submit}). I'll include both options in the
code if users want to adjust the functionality to auto update the image
order in the database when images are moved, or do a manual submit all
changes at once.


Colin Clark wrote:

> Hi everyone,
> Greg Gay has recently posted a wiki page detailing his process for 
> integrating the Lightbox into ATutor. Might be interesting to anyone 
> who is curious about using Fluid components in a non-RSF environment.
> Greg, I noticed that you've got a bunch of unnecessary rsf:id 
> attributes in your markup. These are needed only for RSF
> applications,  and can be removed from your PHP templates.
> This points out one of the major issues we're looking into for the 
> Fluid framework. At the moment, the main strategy for sharing 
> component templates across different rendering technologies is
> exactly  what Greg had to do: cut and paste. This is clearly
> error-prone, and  we're working on a better approach to template reuse
> across view  technologies.
> Colin
> ---
> Colin Clark
> Technical Lead, Fluid Project
> Adaptive Technology Resource Centre, University of Toronto

More information about the fluid-talk mailing list