× How To / General

Show previous or next link on course page

1 month 3 weeks ago
Fred Wong
Posts: 22
More
Topic Author
Show previous or next link on course page #1
Hi


I have course on Moodle and show those courses in Joomla using Joomdle, in the course we have multiple activity and show those activity using pages.

We want to show the Previous page or next page link on the current page activity.


Below I have attached the screenshot for your reference .

If you want the access I can give you the access so that you can check
Attachments:

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

1 month 3 weeks ago
Antonio Durán
Posts: 7252
More
Show previous or next link on course page #2
Hi,
If I understand you correctly, you are using the Joomdle course view, and you want to link from page to page directly, right?
I think you could do that with links like:
index.php?option=com_joomdle&view=page&course_id=XX&page_id=YY

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

1 month 2 weeks ago 1 month 2 weeks ago by Fred Wong.
Fred Wong
Posts: 22
More
Topic Author
Show previous or next link on course page #3
Can you please let me know where to add these link and how can I get the course id or page id.

Do I need to edit this file :- com_joomdle/page/default.php or some other file ?

Thanks

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

1 month 2 weeks ago
Antonio Durán
Posts: 7252
More
Show previous or next link on course page #4
You don't need to edit any files, if I understood you right.

You would add the link to the page content.
Course ID and page ID you need to get from Moodle database.

This process is complex, so I would not recommend it if you have more than a few courses.

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

1 month 2 weeks ago 1 month 2 weeks ago by Fred Wong.
Fred Wong
Posts: 22
More
Topic Author
Show previous or next link on course page #5
I guess you didn't understand what I mean, find below attachment for better understanding if not I can give you the access.

This browser does not support PDFs. Please download the PDF to view it: Download PDF


This browser does not support PDFs. Please download the PDF to view it: Download PDF


This browser does not support PDFs. Please download the PDF to view it: Download PDF

Attachments:

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

1 month 1 week ago
Antonio Durán
Posts: 7252
More
Show previous or next link on course page #6
I am sorry, but I don't know if I understand.
Those links are from Moodle, and you cannot change them....

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