any plans for porting?

Comments

michaellander’s picture

If the maintainer will create a 7.x dev branch, I can probably find time to port it and submit a patch. Else I can help you maintain the project if you don't have time as well. Let me know. Thanks!

michaellander’s picture

I've got it ported.. If dev will make a branch, I'll submit the patch.

kika’s picture

subscribe

tebb’s picture

Title: Drupal 7 » Context PHP: Drupal 7 version

Subscribing.

Changed title to show module name in Dashboard.

Mike, could you post the patch?

michaellander’s picture

Status: Active » Needs review
StatusFileSize
new2.75 KB

Yep. Pretty simple. Just needed php module dependency and php_exec instead of drupal_exec. Made a few other super minor changes just to make 'coder' module happy.

Edit: Oh yeah, I based it off 'HEAD', assumed HEAD was now d7 dev?

vgarvardt’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Assigned: Unassigned » vgarvardt

Created 7.x branch and pushed dev release based on mikegfx's patch with some additions. Release should appear in the downloads list within 12 hours.

vgarvardt’s picture

Dev release landed.

account-deletion-needed’s picture

Does this work with the current Context (7.x-3.0-beta1)? Cause I'm not seeing any PHP option in the conditions and reactions drop-downs.

Cheers

mohammed j. razem’s picture

Category: support » bug
StatusFileSize
new456 bytes

There you go. The module had to implement hook_ctools_plugin_api() in order to work with Context (7.x-3.0-beta1).

evanbarter’s picture

Status: Needs review » Reviewed & tested by the community

#9 works as described.

robin van emden’s picture

I can second that #9 works as specified - please commit to 7.x-3.x-dev?

phiscock’s picture

Even with patch #9 I'm not getting a PHP option in the dropdown menus using the latest versions of Context (7.x-3.0-beta6) and CTools (7.x-1.2+43-dev). I'm guessing something has changed to break it again, but I don't know the modules well enough to spot what that is. Can anyone suggest a solution?

Thanks

Anonymous’s picture

Issue summary: View changes

Try clearing your caches and refresh the context page.

brad.bulger’s picture

There is nothing that I can find that clearly states the lack of need for this function, but it seems to work without it now as of Context 3.6.