Hi there,
we have another question about this module
When we put images in a book page we saw that an absolute link is written into the relative mysql database field.
This isn't a problem but if we would change the host name of our site we have to rewrite all the "<img src=..." tags. We usually do it with a search & replace into mysql relative fields
We want to ask you if there is a mode to make book module to refer to the root-> variable of config.php and not tho the host name (to make a relative and not an absolute link). This problem seems to appear only with it and not with the other modules (for examples quizzes shows correctly every image even if we change the host pc).
Thank a lot,
Giovanni & Agnese
Backup/restore relinks images inside course automaticaly
There should be no problems with images, Java, Flash as long as they are from the same course as book. Books links images exactly the same way as resource module.
skodak
There should be no problems with images, Java, Flash as long as they are from the same course as book. Books links images exactly the same way as resource module.
skodak
I have the same problem of absolute image path when change the server IP address.
I have a simple solustion (?) .
- Take backup the given course
- Take the zip file to out
- Unzip the file
- Open moodle.xml
- search and replace(if Notepad ctr+H) old IP with new IP
- Restore the backup again
I know this is not a real solustion but it ease that manual!