Am having the exact same issue to another user who posted the following in the wrong place.

Help would be fantastic.

Admittedly, I don't know enough about theming to know for sure this is an issue with the theme.

Goal - Utilize Lightbox2 to open node content in a Lightbox without displaying menus and other general page information (i.e. just the node info).

What I've got so far - I'm able to open the node in a lightbox, but it opens the entire page.

What I've tried - I'm attempting to make the "alternative solution" noted here work.

The problem: I receive the following error on my pages:

Notice: Undefined index: format in include() (line 5 of /../../sites/all/themes/danland/page.tpl.php).

The code is:

if ($_GET["format"] == "simple") {
  include (

with line 5 being the GET line.

Any help appreciated!


This is a terribly conundrum. Any feedback at all that may point me in the right direction would be fantastic.

I am having the same problem. I got the page to open with the simple format & then the error appears but doesn't seem to have any effect other than bothering me. Did you ever figure out a solution?

I was seeing the same thing as you guys. I did some searching and it looks like you need to make sure the $GET call is set before you look for a value. Here's the code that removed the error for me:

if (isset($_GET["format"])) {
  if (


Worked beautifully! Thank you!

Status:Active» Fixed

Status:Fixed» Closed (fixed)
