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 ('simple.tpl.php');
return;
}
with line 5 being the GET line.
Any help appreciated!
Comments
Comment #1
wnnpg CreditAttribution: wnnpg commentedThis is a terribly conundrum. Any feedback at all that may point me in the right direction would be fantastic.
Comment #2
makt CreditAttribution: makt commentedI 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?
Comment #3
davidsheart02 CreditAttribution: davidsheart02 commentedI 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:
HTH
Comment #4
makt CreditAttribution: makt commentedWorked beautifully! Thank you!
Comment #5
makt CreditAttribution: makt commented