I have created my first course in Moodle. When I go in to edit the course, strange things happen...
I have a page that contains a number of hyperlinks. On of the hyperlinked words is the word "Acronyms", which is to open up a new browser window and take the user to http://www.example.com.acronyms.html.
I have created the page, but when I edit it, the link changes from "http://www.example.com.acronyms.html" to "http://www.example.com/%22http://www.example.com.acronyms.html/%22".
Any idea why this is being added to the correct url? is this a setting that I have overlooked? Any help would be greatly appreciated.
I have set up a test account in case anyone would like to see the problem first hand. My development installation of moodle is at http://www.moptac.net/moodle. You can log in with username: moodle and password: moodle. Try editing any of the pages in the course "Plant Bio Security Management. - specifically, try changing any of the hyperlinks. Feel free to poke around, as this is a test account on a development server.
Again, any assistance would be welcomed.
I svar til James Meng
Re: Inserting url and slashes when editing a web page resource
ved John Isner -
I looked at your site and I don't have an answer, but I am curious: How did you create these links? Did you create them in the HTML editor, using the Link button and then typing in the URL? Or did you paste the table of resources from another application?
I svar til John Isner
Re: Inserting url and slashes when editing a web page resource
ved Steve Giesel -
Hi John,
James and I are two of several people involved with this new installation of Moodle. I'm the one who actually created the pages and links; this is what I did in several tries.
This problem occurs if I paste in content or if I compose it there and try to link up. And it doesn't matter if the link is to an internal file or an outside url. Saving the edits on the web page Resource adds the extra markup to the correct url's. Now if I upload an existing html file the problem does not occur with the links inside that file.
Hope this clarifies the situation for you. Thanks for your assistance.
James and I are two of several people involved with this new installation of Moodle. I'm the one who actually created the pages and links; this is what I did in several tries.
- Copy/pasted directly from the original Web page into a new web page Resource. The first save worked fine. All links worked as they should.
- Copy/pasted from the original Web page into a new Word document, then saved that as a filtered html. Then I copied from there into a new Moodle web page Resource. The first save worked and all links functioned normally.
This problem occurs if I paste in content or if I compose it there and try to link up. And it doesn't matter if the link is to an internal file or an outside url. Saving the edits on the web page Resource adds the extra markup to the correct url's. Now if I upload an existing html file the problem does not occur with the links inside that file.
Hope this clarifies the situation for you. Thanks for your assistance.
I svar til Steve Giesel
Re: Inserting url and slashes when editing a web page resource
ved John Isner -
You should probably have asked your question in the HTML editor forum.
I thought the problem might be related to pasting from an MS Office document. While I was on your site, I tried cleaning the HTML using the Word button (to the right of the clipboard on the toolbar). It had no effect. But then you say everything works until you attempt to edit the resource. That's an HTML editor question for sure.
I thought the problem might be related to pasting from an MS Office document. While I was on your site, I tried cleaning the HTML using the Word button (to the right of the clipboard on the toolbar). It had no effect. But then you say everything works until you attempt to edit the resource. That's an HTML editor question for sure.
I svar til John Isner
Re: Inserting url and slashes when editing a web page resource
ved Steve Giesel -
Thanks John. I'll re-post over there. We weren't sure if this was a set-up problem or what.
Steve
Steve
I svar til Steve Giesel
Re: Inserting url and slashes when editing a web page resource
ved Dave Cuttriss -
I've also played with this by taking all the code, inserting it into a dreamweaver php file, correcting all the errors and re-inserting it into Teaching resources 3. It stills keeps adding those weird extra "\".
I also tried with "virgin" code & it did the same thing.
It certainly seems to be a problem with the HTML editor.
Sorry I can't help more
Dave
I also tried with "virgin" code & it did the same thing.
It certainly seems to be a problem with the HTML editor.
Sorry I can't help more
Dave