R0.22 and earlier: No Longer Supported

[Solved] Error when adding a Joomdle menu item

  • Jeremy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago - 15 years 8 months ago #1 by Jeremy
After following the instructions, I've got everything working ok. EXCEPT that when I add a Joomdle menu item I get this error...
Code:
Warning: implode() [function.implode]: Invalid arguments passed in (removedbyuser)/public_html/nccaga/school/includes/router.php on line 325

Here is my working site. School Website

You can see the error message on all the pages. If I unpublish the "My Grades" menu item, the error goes away so I know it's gotta be something with Joomdle.

Also, is there a way to change the grades view to show the calculated grade for the classes as well?

If I can get a solution for those two things (mostly the error message), this would be PERFECT! Then I would just have to give it a great review on the Joomla Extension Directory!

Thanks,
Jeremy
Last edit: 15 years 8 months ago by Chris.
The topic has been locked.
More
15 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Error when adding a Joomdle menu item
Hi. First time I see that error.
Can you try deleting the router.php file in component directory?
It is the first thing that I can think of. If that does not work, we will keep trying :)

About the grades view: can you ellaborate a little more? I am always wanting to extend features, so maybe this is a good one. How would you like it?

Antonio
The topic has been locked.
  • Jeremy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago - 15 years 9 months ago #3 by Jeremy
Replied by Jeremy on topic Re: Error when adding a Joomdle menu item
Thanks for the quick reply.

I had a suspicion that the SEF setting might be the cause so I disabled that and got rid of the error. BUT I need SEF URL's on once the site goes to production. I can leave it off for now.

Do you still think it would be helpful to delete the router.php file?

On the grades thing, I would like the student to see their individual grades (like they can now) but also see their AVERAGE in the class. Similar to the "Overview Report" view in the grade report in Moodle.

Thanks again,
Jeremy

Last edit: 15 years 9 months ago by Jeremy. Reason: Added pic
The topic has been locked.
  • Jeremy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago #4 by Jeremy
Replied by Jeremy on topic Re: Error when adding a Joomdle menu item
FYI, I did go ahead and see what would happen if I deleted the router.php file. It COMPLETELY broke the site, so I had to add it back.
The topic has been locked.
More
15 years 9 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic Re: Error when adding a Joomdle menu item
Hi. Great to hear that you found what is causing the problem. I never used SEF so I never tested it :)
I will do it as soon as possible, and report back with what I find.

About the grades, it seems a good idea, so I save it for trying to include it on the next release. Thanks for the suggestion!

Antonio
The topic has been locked.
More
15 years 9 months ago - 15 years 9 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: Error when adding a Joomdle menu item
I activated "Search Engine Friendly URLs" to replicate your problem.

I get the same errors when router.php is present in com_joomdle/, but not when it is not.

Anyway, it is clear that the component needs to be modified to make it SEF-friendly, so I will start looking at it right away. I will comment when I have something.

Antonio
Last edit: 15 years 9 months ago by Antonio Durán.
The topic has been locked.
  • Jeremy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago #7 by Jeremy
Replied by Jeremy on topic Re:Error when adding a Joomdle menu item
I'm glad you were able to replicate the error. I deleted the router.php file within the component and got it working. Although I'm not sure if it's needed for some other feature.

Anyway, it's working so all I need now is for the grades view to average the grades present and I'll be a VERY satisfied user.

Thanks for all the help,
thelokey
The topic has been locked.
More
15 years 9 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic Re:Error when adding a Joomdle menu item
Hi. I think I have better news. I started to work on your SEF issue right away, and just completed a first version.

You can download it in this topic, in case you want to test and share your comments. As I have never used SEF, I will be happy to have any input.

joomdle.com/index.php?option=com_kunena&...4&id=253&lang=en#307

Antonio
The topic has been locked.
More
15 years 9 months ago #9 by Antonio Durán
Replied by Antonio Durán on topic Re:Error when adding a Joomdle menu item
Hi again. I had a little time and decided to code your other request, about grades.

I thought that you could try it and comment if it is what you were looking for, or if you would make any changes, so it is completed for next release.

I attach the modified package, wich include a new view called My course grades, which represents the overview view in Moodle.

Please test and share your comments,
Antonio

Attachment com_joomdle-20100217.gz not found

The topic has been locked.
  • Jeremy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago - 15 years 9 months ago #10 by Jeremy
Replied by Jeremy on topic Re:Error when adding a Joomdle menu item
thanks! i'll give it a try and let you know what happens.

do i need to do anything special to upgrade? uninstall or just overwrite?

-thelokey
Last edit: 15 years 9 months ago by Jeremy.
The topic has been locked.