Comments (3)
Hi fxpar,
Moodle does actually have permanent links for sections that you can use. These won't work in a copy of a course though. If you turn editing on and click on the section Edit menu, then hover over the Edit section entry, you should see a URL of the form:
WEBSITE/course/editsection.php?id=SECTION_ID&sr=SECTION_NUMBER
You should get a permanent link if you take the SECTION_ID and put this into a URL of the form:
WEBSITE/course/view.php?id=COURSE_ID§ionid=SECTION_ID
from moodle-format_onetopic.
Hi @fxpar,
Just be aware that if you use permanent section links within a course, these won't work in a copy of the course. e.g. If you make a backup of a course, and restore the backup as a new course, any permanent section links within the copy will have their course IDs updated for the new course, but won't have their section IDs updated, so trying to follow the link, Moodle will look for the old section in the new course, and won't find it, returning an error.
Also, for anyone using an older version of Onetopic, I just noticed that although support for this feature is included in the current version, san juan 2018010608, it doesn't seem to be included in san juan 2018010604, so you may need to upgrade to use it.
from moodle-format_onetopic.
Hi @james-cnz
Indeed, this works perfectly!
Thank you very much (I will link to your answer in the moodle onetopic plugin page) !
Cheers
François
from moodle-format_onetopic.
Related Issues (20)
- PHPDoc still mentions "format_base"
- Page does not refresh when moving sections
- Duplication of activitiy in section 0 HOT 4
- Endless redirects on unavailable sections for tutors HOT 3
- Support new core feature: indent acitivity HOT 1
- Content intent inside a topic in course
- Bulk editing in Moodle 4.2 does not work in format_onetopic HOT 2
- Use different/additional css rules to mark active tab HOT 4
- Deprecated template for availability section - Moodle 4.1.5 HOT 1
- Enhancement Request - Add Additional Site-Level Settings
- Section restrictions not showing HOT 1
- Edit Buttons Disappearing
- descriptive / meaningful names for tabs
- "Embedded courseindex" broken
- Moodle 4.4: Failure due to new Hooks API HOT 1
- Unncessary session locking in styles.php HOT 1
- After upgrade to Moodle 4.4, Onetopic throws error trying to require a non-existent format.js from topics plugin. HOT 4
- Plugin formatting in the Space theme HOT 1
- Module scope tabs not visible when entering SCORM Package HOT 1
- Need refresh to display change in section 0 shown before tab HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-format_onetopic.