How To / General
Opening moodle plugin page in joomdle wrapper
- Web Buster UK Ltd
-
Topic Author
- Offline
- Elite Member
-
Less
More
8 years 5 months ago - 8 years 5 months ago #1
by Web Buster UK Ltd
Opening moodle plugin page in joomdle wrapper was created by Web Buster UK Ltd
Is it possible to open a specific moodle page/plugin page within the joomdle wrapper?
We are using a 3rd party plugin called NED Marking Manager, and is trying to create a link on a Joomla page to directly open the Marking Manager page within the wrapper.
We are using a 3rd party plugin called NED Marking Manager, and is trying to create a link on a Joomla page to directly open the Marking Manager page within the wrapper.
Last edit: 8 years 5 months ago by Web Buster UK Ltd.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
8 years 5 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Opening moodle plugin page in joomdle wrapper
Hi.
You may be able to get what you need using the fullurl page type in Joomdle wrapper links.
For example:
http://localhost/j30/index.php?option=com_joomdle&view=wrapper&moodle_page_type=fullurl&gotourl=moodle/mod/glossary/view.php?id=276
While I was testing it locally, I noticed a problem with most recent Joomla versions, so I had to do a little code change to make it work.
To do it, edit file: components/com_joomdle/views/wrapper/view.html.php
Change:
By:
You may be able to get what you need using the fullurl page type in Joomdle wrapper links.
For example:
http://localhost/j30/index.php?option=com_joomdle&view=wrapper&moodle_page_type=fullurl&gotourl=moodle/mod/glossary/view.php?id=276
While I was testing it locally, I noticed a problem with most recent Joomla versions, so I had to do a little code change to make it work.
To do it, edit file: components/com_joomdle/views/wrapper/view.html.php
Change:
Code:
case "fullurl" :
$gotourl = $app->input->get('gotourl');
$gotourl = urldecode ($gotourl);
$this->wrapper->url = $gotourl;
Code:
case "fullurl" :
$gotourl = $app->input->get('gotourl', '', STRING);
$this->wrapper->url = $gotourl;
Please Log in or Create an account to join the conversation.
- Web Buster UK Ltd
-
Topic Author
- Offline
- Elite Member
-
8 years 5 months ago #3
by Web Buster UK Ltd
Replied by Web Buster UK Ltd on topic Opening moodle plugin page in joomdle wrapper
That is perfect, thank you very much!
Please Log in or Create an account to join the conversation.