Multiple Files in the same File Resource

Re: Multiple Files in the same File Resource

by Scott Chillemi -
Number of replies: 3

Tim,

 

Thank you for taking a look at this for me.  Your questions and the answers are as follows:

What is the HTML source code of the link from index.html to sub.html

http://www.learningidentive-group/lms/sub.htm

What is the URL when you are looking at index.html?

http://www.learningidentive-group.com/lms/pluginfile.php?file=%2F514%2Fmod_resource%2Fcontent%2F1%2FReally%20Simple%20Test%20Web%20Page%2Findex.htm

When you click the link, what URL do you go to?

http://www.learningidentive-group.com/lms/sub.htm

I created a username called “tester” on my site.  It has “teacher” level access to a course called the “Internal Resource Center.”  If you login to this user you can add and delete resources to this course and possibly find out what I’m doing wrong.

There isn’t anything critical in this class so it might be a useful place to experiment.  Email me at scott.chillemi@hirsch-identive.com and I’ll send you the password for this account.  Also, if anyone else might have a theory or be able to help troubleshoot this please email me and I’ll send you the password too. 

This might be helpful as well.  If I link to an external site, I can both get to the external site and then get to additional sites from there.  It is only when I have an internal link that goes to another internal link that the secondary link does not work. 

Here is another thought related to links.  My company, at one point, changed its name.  This of course required me to change the URL for the Moodle site.  I changed a setting in the config.php file in my Moodle installation directory.  I had to change the “$CFG->wwwroot =” setting to the new URL.  Then I had to revisit the file resources screen for all my course videos, but everything worked just fine after that.  Of course, at the time I wasn’t even attempting to have subordinate video files so if something wasn’t working at that point perhaps I wouldn’t even have noticed.  Maybe there is another configuration file I need to modify for subordinate videos to load properly?

 

I really appreciate the help,

 

Scott

In reply to Scott Chillemi

Re: Multiple Files in the same File Resource

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

There are several things wrong here.

First, the link has to look like

<a href="sub.html">Link text here</a>

Not

<a href="http://www.learningidentive-group/lms/sub.htm">Link text here</a>

Second, you must have the "Use slash arguments" option turn on (Site administration ► Server ► HTTP) or this will not work at all.

 

Average of ratings: Useful (2)
In reply to Tim Hunt

Re: Multiple Files in the same File Resource

by Scott Chillemi -

Tim,

 

Thank you!  It works now!  You are Moodling genius.

 

Scott

In reply to Scott Chillemi

Re: Multiple Files in the same File Resource

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

There never was a truer word saidsmile