× Joomdle 1.0 Installation

[SOLVED] Joomdle Wrapper for other pages

4 weeks 1 day ago
Sam
Posts: 2
More
Topic Author
[SOLVED] Joomdle Wrapper for other pages #1
Dear team,

Im using Joomdle 2.0, Joomla 3.9.27 and Moodle 3.9.7 both Moodle and Joomla on the same domain (subfolders).

How do I wrap custom moodle pages in Joomla using index.php?option=com_joomdle&view=wrapper

For example, I want to wrap mymoodle.com/calendar/view.php.

I don't want to use the Joomla iFrame wrapper and want to use option=com_joomdle&view=wrapper for SSO reasons.

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

4 weeks 1 day ago
Antonio Durán
Posts: 7293
More
[SOLVED] Joomdle Wrapper for other pages #2
Hi.

If you look at file components/com_joomdle/views/wrapper/view.html.php you'll see the different content type supported.
For example, to show a calendar day, that would be:
index.php?option=com_joomdle&view=wrapper&moodle_page_type=event&time=XXX

For other type of content you can also use:
index.php?option=com_joomdle&view=wrapper&moodle_page_type=fullurl&gotourl=XXX

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

4 weeks 18 hours ago
Sam
Posts: 2
More
Topic Author
[SOLVED] Joomdle Wrapper for other pages #3
Thank you

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