Sorry that I haven't participate enough lately, but I'm quite sick at the moment (theres something wrong with my teeth and maxillary sinus <- what a word???. And I'm using quite strong pain killers).
This is something that needs to be sorted out before anyone can start to create bookmark feature on the editor. Relative links or absolute links.
Cheers,
Janne
Even more importantly is emails, and filtering ... in which stuff fail to work with relative paths.
http://moodle.org/mod/forum/discuss.php?d=3557
Sorry to hear about the illness, Janne! Get well soon!
The relative linking of uploaded html files accessed through file.php is very problematic. IMHO all links should be strictly absolute, backup/restore process handles all necessary relinking.
Could anybody please supply some examples where he/she thinks relative links could be really useful?
skodak
Example
page: http://mysite/file.php/2/something/other.html
HTMLArea in IE coverts relative link: href="hmm.html"
to: href="http://mysite/files/hmm.html"
http://mysite/files/index.php is the address of the page with HTMLArea used for editing.
If you need "longer" books, please consider creating several books instead of one. Loooong books are hard to read and hard to print. You can also manually create master TOC on the first page of each book. On the main course page books can be grouped (label followed by indented list of books).
I am planning the collapsible TOC after the introduction of templates in Moodle.
Decision not to implement more levels was pedagogical, it could be implemented within several hours. Maybe after TOC display is somehow improved, I will add one more level
Thank you for working on this. I will be looking forward to the 1.3.1+ and 1.4 coming out. I will try it out on the 1.4CVS as well. I appreciate your work as it benefits us all.
You talked of manually creating a master TOC on the first page, could you be more specific? I am assuming your are speaking of creating links in the first page.
Your label approach is quite creative. I had not thought about that. I will try to implement that and see the results.
Ron Banks
Ah yes, I forgot that this issue had been discussed before. So I understand the value of converting relative links to absolute links now. But surely a relative link should be converted to an absolute link with respect to the page itself, not the editor page.
We currently have the situation that when using the HTML editor on mozilla converts relative links to absolute links but on IE relative links are converted to absolute links with respect to the editor page.
If I understand correctly neither is what we want. Rather we want in all browsers all relative links to be converted to absolute links with respect to the actual page.
Other users (not using HTMLArea) should be given some general info on what links Moodle works with and how backup/restore works.
I´m new to this, so excuse me if my question has already been answered in this thread and I didn´t understand it.
I have a dynamic ip in my server, which means that whenever I´m starting it, all the absolute links (wee icons in the forums, pictures, etc) stop working.
I´d rather have relative links which would stay there regardless of the ip, linking to say "moodledata/sessions/2/file" instead of http://myip/Myfolder/...
Any suggestions about how to fix this problem? Thanks a lot
I´m new to this, so excuse me if my question has already been answered in this thread and I didn´t understand it.
I have a dynamic ip in my server, which means that whenever I´m starting it, all the absolute links (wee icons in the forums, pictures, etc) stop working.
I´d rather have relative links which would stay there regardless of the ip, linking to say "moodledata/sessions/2/file" instead of http://myip/Myfolder/...
Any suggestions about how to fix this problem? Thanks a lot