× R0.30 Support

another page in wrapper

9 years 10 months ago
Jason E
Posts: 84
More
Topic Author
another page in wrapper #1
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.

9 years 10 months ago
Antonio Durán
Posts: 7167
More
another page in wrapper #2
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.

9 years 10 months ago 9 years 10 months ago by Jason E.
Jason E
Posts: 84
More
Topic Author
another page in wrapper #3
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 k
I don't get the error, but moodle prompts for login.

Any suggestions?

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

9 years 10 months ago
Antonio Durán
Posts: 7167
More
another page in wrapper #4
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.

9 years 10 months ago
Jason E
Posts: 84
More
Topic Author
another page in wrapper #5
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.