I am trying to layout my front page so i downloaded Panels 2 but I can seem figure out how to work can some one please help me out. I would like to do a layout some what like this http://www.xsisterhoodx.com/
I'm developing a new picture module in Drupal and I've got a little problem.
Each time I add or modify a node of my new module the function hook_form() is called. So both pages are powered by the same source code in hook_form(). But I want to display slightly different content on both pages, depending on if you are on "add node" or "edit node". Isn't there some kind of variable that tells me what page the user is looking at?