Summary

Issue to track the Course D7 port.

Remaining tasks

http://drupal.org/project/issues/course?version=7.x

Comments

scottrigby’s picture

Title: Course: Drupal 7 code? » Port to Drupal 7 (Course)
Category: feature » task

Hi Dru-p,

  • A public release of course module will be coming soon. That will be D6 initially.
  • A D7 version will happen, but not immediately.

We'll use this issue to keep track of how it's going.

md2’s picture

Hi Scott,

We would be willing to help sponsor a D7 version if you'd be interested?

~Mark

ratheesh cm’s picture

Title: Port to Drupal 7 (Course) » Course for D6

Hi Scott.

Is there any release in the coming weeks ,for D6?

tebb’s picture

Title: Course for D6 » Port to Drupal 7 (Course)

This issue is for tracking the D7 port. Please don't change that. Thanks.

joachim’s picture

I don't see any code even!

scottrigby’s picture

@ratheesh cm & joachim: We're working on the cleanup in-between (and often in bits as part of) sprints… i know i said in April this would be coming – now I really mean it! We're very close to being able to commit a cleaned up version.

@md2: A few people have suggested helping with this in different ways. If you're still into that idea, can you send us a message using our drupal contact form to set up a chat? http://drupal.org/user/145945/contact

scottrigby’s picture

The initial 6.x-1.x branch of Course has been committed!
http://drupalcode.org/project/course.git

scottrigby’s picture

Version: » 6.x-1.x-dev
anjjriit’s picture

are we really need autoload module for Drupal 7 version ?
and do you think autoload module wil be release in Drupal 7 ?

scottrigby’s picture

@anjjriit you're right, Autoload will not have a D7 port because it's functionality is in 7 core. So the D7 port of Course module will need to remove this dependency.

anjjriit’s picture

I removed autoload dependencies, try to install this port and found error
"Fatal error: Cannot redeclare course_node_load() (previously declared in ../modules/course/course.module:170) in ../modules/course/course.module on line 583"

Please help me how to fix it?

scottrigby’s picture

@anjjriit this ticket is to track the D7 port, which is something we're currently doing after hours - this branch is not considered finished.

Be sure to read the notes on the Course 7.x-1.x release page:

Course module Drupal 7 development branch. Only use this if you want to help develop the D7 Course project.

(also echoed on the Course project page). Please don't post errors in this issue as there will be a lot of them at this point. If you are able to help with the port, there's a fair amount of work left to do. If not, you can keep an eye on this issue and we'll post updates as it shapes up =)

scottrigby’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
crashtest_’s picture

If we're not tracking issues here for the drupal 7 port where are those issues being tracked and how can I help?

isak_manresa’s picture

I've been looking for a module that permits Drupal 7.x an moodle 2.x integration.

I've just installed the course module and seems that is the courses integration module that have more functionallities available in drupal community.

I'm a drupal newbee, but I'll try to help with the port, reporting and trying to fix the issues. Where Can I post the results?

isak_manresa’s picture

Issue summary: View changes

more compelling issue summary

mikran’s picture

I can see several places where this module could utilize Relation module to a great extent, have you thought about using that?

scottrigby’s picture

@mikran yes good idea. For 7x we've tossed the Relation idea around a bit, but still haven't sorted out whether the benefits justify another dependency - since the actual relations for Course are fairly straightforward. So maybe, but a case would have to be made. That would probably be good as a separate feature request issue, so we can have a focused discussion about it with everyone interested :)

scottrigby’s picture

Issue summary: View changes

update milestone

julianmancera’s picture

Hi Scott,

I have an e-learning project that involves using something like the course module for drupal 7. What is the state I mean percentage of development? I'm willing to help to finish it.

Thank you

Julian

djdevin’s picture

@julian: we're pushing really hard for a 6.x-1.0 release to start porting to 7.x. If you'd like to help with the 6.x-1.0 blocker issues/testing that'd be great :)

scottrigby’s picture

Status: Active » Postponed

Yep just updated this issue summary this morning to include our timeline and roadmap. Check it out - and echoing what @djdevin said - yes please also see #1517330: 6.x-1.0 release and we'd love help with those issues however you're able :) If we can make that goal with a bit of wiggle room before the end of June, we might still be able to make our 7x milestone date (possibly before, but it really depends on now soon we can get 6.x-1.0 released).

rpeters’s picture

This seems to be the most promising elearning platform from the Drupal Community thus far. My question is I see it is bundled with ubercart product wouldn't it be better to be bundled with commerce product? Since commerce is becoming the Drupal 7 eCommerce preferred module and ubercart is being phazed out it seems. Ubercart do not plan to do anything with their module. I want to contribute to this module mainly because I have project I would like to use this on.

rpeters’s picture

Status: Postponed » Active
scottrigby’s picture

Status: Active » Postponed

@rpeters Thanks for your interest in contributing. This issue should stay 'postponed' though, until after the 6.x-1.0 release. Please see this issue's summary timeline above (and comment #20 right before yours).

scottrigby’s picture

Issue summary: View changes

Update 6.x -> 7.x timeline

scottrigby’s picture

6.x-1.0-rc4 was released a few days ago. Just updated the 7x timeline to reflect a new target date ("end of summer" is a best guess, but there are ways anyone here can help). Will keep this issue updated =)

ontwerphuis’s picture

Hi This is good news - please let me know how we can assist - not a big coder myself but might be able to sponsor a sprint ?

I agree with #21 Commerce seems to be the way forward. We're using it on a number of sites running on D7.

Thanks once again. ;)

SeamusJp’s picture

Looking forward to this. Do you expect release before October 2012?
Thanks!

djdevin’s picture

7.x development will be started right after 6.x-1.0 is released. We could really use testing for now!

djdevin’s picture

Status: Postponed » Active

Initial porting has begun - Course 6.x-1.x is undergoing changes for coder_upgrade to better understand it.

Once Course 1.0 is ready, we will do a full coder_upgrade and then merge that to the 7.x-1.x branch.

djdevin’s picture

Status: Active » Needs work

Initial D7 port has been committed (and should be somewhat functional).

Please report new issues with the 7.x-1.x-dev version.

Stellanhaglund’s picture

I added the d7 dev but it needs the ahah which is only for d6.

What should I do about this?

djdevin’s picture

I think you might have an old release? ahah_helper was removed as a dependency in D7

Edit: the dev release hasn't been built yet. Look for a date of Oct-1 on the release, or grab it from Git.

Stellanhaglund’s picture

ok, thanks!

Stellanhaglund’s picture

Got this after enabling course content.

Warning: include(/home/merchiac/public_html/crmiac.com/test/course.transcript.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course.transcript.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include(/home/merchiac/public_html/crmiac.com/test/course.course_report.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course.course_report.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include(/home/merchiac/public_html/crmiac.com/test/course.course_report_select.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course.course_report_select.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include(/home/merchiac/public_html/crmiac.com/test/course_enrollments_add.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course_enrollments_add.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include(/home/merchiac/public_html/crmiac.com/test/course_enrollments.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course_enrollments.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include(/home/merchiac/public_html/crmiac.com/test/course.transcript.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course.transcript.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include(/home/merchiac/public_html/crmiac.com/test/course.course_report.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course.course_report.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include(/home/merchiac/public_html/crmiac.com/test/course.course_report_select.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course.course_report_select.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include(/home/merchiac/public_html/crmiac.com/test/course_enrollments_add.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course_enrollments_add.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include(/home/merchiac/public_html/crmiac.com/test/course_enrollments.view.inc) [function.include]: failed to open stream: No such file or directory in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Warning: include() [function.include]: Failed opening '/home/merchiac/public_html/crmiac.com/test/course_enrollments.view.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in course_views_default_views() (line 11 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Trying to get property of non-object in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).
Notice: Undefined variable: view in course_views_default_views() (line 12 of /home/merchiac/public_html/crmiac.com/test/sites/all/modules/course/views/course.views_default.inc).

Stellanhaglund’s picture

Sorry I will add this to the right place.

Stellanhaglund’s picture

Issue summary: View changes

Update timeline

fuzzy76’s picture

Now that 6.x-1.0 is out, I guess the part in the summary about development being postponed is wrong?

fuzzy76’s picture

Issue summary: View changes

Updated issue summary.

djdevin’s picture

Changed, thanks. An alpha for 7 is out too :)

deggertsen’s picture

I've created a new feature request for a rules action to enroll or unenroll a user in a course. I think would address the Drupal Commerce integration mentioned in #21 and #25.

#2010002: Rules Action: Enroll/Unenroll User in Course

Couldn't this issue be marked as fixed seeing that there is now a D7 release available?

djdevin’s picture

Status: Needs work » Closed (fixed)

Yeah let's kill this issue.

djdevin’s picture

Issue summary: View changes

Removing part about it being postponed

  • Commit 1f7e4e5 on 7.x-1.x, 7.x-1.x-fieldable-entities, course-object-entity-view by scottrigby:
    Issue #1116740: update course.module file: Convert queries to D7...
  • Commit cb38eee on 7.x-1.x, 7.x-1.x-fieldable-entities, course-object-entity-view by scottrigby:
    Issue #1116740: simplify hook_node_load() ->course and ->course_outline...
  • Commit 941ba5a on master, 7.x-1.x-fieldable-entities, course-object-entity-view:
    Issue #1116740: Remove old autoload dependency. Fix default course type...
  • Commit baad4c9 on master, 7.x-1.x-fieldable-entities, course-object-entity-view:
    Issue #1116740: bring back course menu loader (with a new name), to...
  • Commit 9247927 on 7.x-1.x, 7.x-1.x-fieldable-entities, course-object-entity-view by djdevin:
    Issue #1116740: Initial D7 port from coder_upgrade, custom coder...