R0.30 Support

another page in wrapper

  • Jason E
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 5 months ago #1 by Jason E
another page in wrapper was created by Jason E
I have installed the moodle certificate module and it's associated site-wide reports module.
The first creates certificates of completion and the second creates a moodle page for students to view their certificates.
The link to open for that is /moodle/certificates/index.php
I can create a menu link to open this page, but it doesn't open in the wrapper.
How can I make it open in the same wrapper that joomdle opens in?

Thanks.

Please Log in or Create an account to join the conversation.

More
15 years 5 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: another page in wrapper
Hi.

I think you need to modify Joomdle code to do that. Especifically, the joomdle wrapper view, to add this one to the case list.

If you do it, please share, we can add it for next release. Let me know if you have any questions.

Please Log in or Create an account to join the conversation.

  • Jason E
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 5 months ago - 15 years 5 months ago #3 by Jason E
Replied by Jason E on topic Re:another page in wrapper
I found that in joomla I can create a menu item
type joomdle - wrapper - Moodle wrapper.
I enter the path as
/moodle//certificates/index.php
under Moodle URL in Paramaters (Component)
This will open my item in the wrapper, however, I get an error at the top of the page.

Warning: file_get_contents(moodle/certificates/index.php/mnet/xmlrpc/server.php) [function.file-get-contents]: failed to open stream: Not a directory in wwwroot/administrator/components/com_joomdle/helpers/content.php on line 88

curiously, there is no line 88 in that file.

if I enter mysite.com/moodle/certificates/index.php
I don't get the error, but moodle prompts for login.

Any suggestions?
Last edit: 15 years 5 months ago by Jason E.

Please Log in or Create an account to join the conversation.

More
15 years 5 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re:another page in wrapper
This is not the way to go. That is moodle web services URL, nothing to do with wich URL will be shown.

I told you how I would do it (modifying code), I think you should try that route.

Antonio

Please Log in or Create an account to join the conversation.

  • Jason E
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 5 months ago #5 by Jason E
Replied by Jason E on topic Re:another page in wrapper
I don't understand what you mean. With the menu item, the page shows up as I want, but how to get rid of the error message?

I'm not really a programmer and wouldn't know how to begin to modify the code.

Please Log in or Create an account to join the conversation.