Hi,

I LOVE this module.

I am using modal_frame to provide poups for content. I am also using lightbox2 for images.

I know there is a way to specify php return value for page specific visibility settings. How do I specify that if I am in a frame then return false?

I could use this to exclude things like qtc chat and feedback from being in a modal window.

Comments

dsnopek’s picture

Title: Having chat and feedback not show up modal frame » Add API function to determine if your in the child frame or not
Version: 6.x-1.x-dev » 7.x-1.x-dev
Category: Support request » Task
Issue summary: View changes
Issue tags: -lightbox2, -modalframe, -feedback, -qtc

From PHP you can detect if your in the child frame like this:

if ($GLOBALS['modalframe_page_template']) {
  // do something different in the child frame
}

We probably should implement an API function for this. Moving to the 7.x-1.x to do so.