Which theme are you using?  If you're in blueprint, you should be able to create a custom lightbox function that does extra work in the "close" callback of the lightbox.

- Demian

From: anna headley [anna3lc@gmail.com]
Sent: Friday, December 14, 2012 11:27 AM
To: Demian Katz
Cc: vufind-tech@lists.sourceforge.net
Subject: Re: [VuFind-Tech] logout landing page

New problem with my logout page.

Now I'm trying to have it display as a lightbox, then redirect back to the home page when the lightbox is closed.

I've got it coming up in a lightbox just by adding a click handler to the link that calls getLightbox (and related processing in Lightbox.php).  But I'm not sure how to approach the redirect-on-close.  Is anything in vufind currently behaving this way?  Do I need to do this somehow in the php or write a new javascript function to do it?  Can I do it using the regular lightbox-closing mechanism, or might I need to add a form into the page to force the user to click "okay"?

It looks like the followupModule stuff that's in lightbox.js is for loading followup pages in the lightbox itself.  I would like to load the page in the browser, as I said, after the lightbox has been closed.

Appreciate any leads!
Anna




On Wed, Nov 28, 2012 at 11:17 AM, anna headley <anna3lc@gmail.com> wrote:
Great, thanks, Demian!



On Wed, Nov 28, 2012 at 10:59 AM, Demian Katz <demian.katz@villanova.edu> wrote:
$interface->assign('user', false);