Closed (won't fix)
Project:
Panels
Version:
5.x-2.x-dev
Component:
Plugins - content types
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Aug 2008 at 05:13 UTC
Updated:
12 Mar 2010 at 01:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
gordon commentedI did some more research and I found that adding a single like would allow you to select which context to use. This is perfect as I don't need to workout which context I need to grab.
I am not sure if this will work with a panel that has no contexts, but for my purpose it is exactly what I want.
Comment #2
gordon commentedActually to fix this was very easy.
I fixed the use of optional context, and made a change the configuration forms so that if there is no required context it will display the optional context so you can specify a context of not to be past to the php code.
'
I have added to the custom_php an optional context of "any" so all contexts will be displayed.
Comment #3
sdboyer commentedOK, so...I'm a bit baffled as to how your patch is working for you :P
Attached is a patch that takes the final step that, at least for my master -dev working copy, fixes this problem.
Comment #4
sdboyer commented(after gordon's via-irc-thumbs-up)
Great. Committed.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
denis_sle commentedI'm using the last dev version ( panels-5.x-2.x-dev November 17, 2008) and I can see context only as admin user,
here is the code for custom php:
for regular (loggedin) user , this code return:
for admin user it return full context, all
Comment #7
denis_sle commentedComment #8
Chris Einkauf commentedComment #9
sun.core commentedSorry, but Panels for D5 will not see any further fixes, since Panels for D6 simply advanced too much and no one cares for D5.