Can anyone help dispel some basic ignorance - I am posting reluctantly as my understanding of Panels is minimal having never used P2. I have latest D6, CTools and Panels beta - and yes I have Delegator enabled ;-) .
Prior to this I had Panels 3-alpha (3 and 4) working with a patched OG module (http://drupal.org/node/307980#comment-1501162) and I was able to create OG panels, enter content/views etc in to them, and have them display - which I think counts as it working.
I accept that OG probably needs an updated patch so for now my goal is simply to get a basic understanding of the workflow in P3 so I can get to a panel layout page where I can specify what content will show in each area/region/pane (struggles to recall correct terminology)
At http://localhost/admin/build/panels I click on Panel Page
At http://localhost/admin/build/pages/panel-page/add I give it name, title and path > CONTINUE
At http://localhost/admin/build/pages/panel-page/add/choose I choose a layouth (eg 2 col) > CONTINUE
At http://localhost/admin/build/pages/panel-page/add/content I get a completely white/blank screen.
Alternatively I try and follow Michelle's post
(mind you I have already done this once, probably incorrectly so already have Panel Pages listed and can't see how to remove it to try afresh)
At http://localhost/admin/build/pages I go to User Views > Operations > Task Handler
I see two Task Handler I have created (or maybe one I created and one I am in process of creating)
- Panel - Type=Normal
- Panel - Type=Local
If I click on Operations on either of these, and select Edit Content I get a blank/white screen at http://localhost/admin/build/delegator/user_view/panel_context/user_view...
and at http://localhost/admin/build/delegator/user_view/panel_context/user_view...
So looks to me like I am missing something really basic and I realise I am bashing around in here without a torch. What I was hoping to get to was a page such as I was getting to in alpha4 with the Patched OG where I had the layout page visible.
Anyone got a torch, or better, a map? Not sure how much use it is to go back and trying and figure out how this was all done in Panels2 since it sounds like some significant changes have occured.
Comments
Comment #1
petednz commentedI can't spot how to edit the above post, but just noting that I do see there is the option to remove the 'task handler' i had created, by clicking on operations.
Also think I should note that this install already had some OG Panels created in case that might be tripping me up. Should I delete all these in case it helps?
Comment #2
merlinofchaos commentedOk, completely blank, white screens are a bad thing. When this happens, one of two things should provide more information about what caused the problem:
1) the watchdog log may contain a PHP error. 2) the apache/php error log may contain a PHP error.
The workflow is completely different from Panels 2 and that won't help you. At this point you are running up against some kind of bug or incompatibility and figuring out why you get the white screen is going to be necessary to continue.
Comment #3
petednz commentedHi Merlin - thanks for engaging with me on this, and hopefully whatever it is that I have done 'bad' will be a warning for others. So have found my way to php_error.log and there is a whole string of these - does this point to my stupidity?
[02-May-2009 15:08:04] PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /Users/pd/Sites/drupal-6.11/sites/all/modules/ctools/includes/context.inc on line 163
[02-May-2009 15:08:04] PHP Fatal error: Cannot redeclare panels_simple_cache_get_cache() (previously declared in /Users/pd/Sites/drupal-6.11/sites/all/modules/panels 2/panels_simple_cache/panels_simple_cache.module:67) in /Users/pd/Sites/drupal-6.11/sites/all/modules/panels/plugins/cache/simple.inc on line 43
Comment #4
merlinofchaos commentedOk, regarding the first that's a stray typo. There's half a dozen issues on the subject; look in the ctools issue queue. THe short answer though is just remove that stray character -- the error says what file and line it is on.
The second error indicates that you didn't delete your Panels directory prior to installing the new one, and now you have a module that's been removed clashing with the namespace of where that code was relocated. You should delete your panels directory and install fresh from tarball, that will take care of the second error.
Comment #5
petednz commentedMany thanks - sorry to have your time spent doing this rather than making Panels even better - but we should be able to give something back in terms of testing for OG integration once my colleague can apply his capable coding brain to it.
Comment #6
merlinofchaos commented