Posts made by David Scotson

If you go to Google and search for "test" you'll see the url looks something like this:

http://www.google.co.uk/search?hl=en&safe=off&q=test&btnG=Search&meta=

Optionally, you can get rid of the useless bits to leave:

http://www.google.co.uk/search?q=test

So what you've got is a call to a program called search with a parameter called q which tells it what to search for.

If you choose Link to a file or website from the Add Resource menu then you can put the url in the location field as:

http://www.google.co.uk/search

and then hit the show settings button next to parameters, and from the dropdown menu choose (e.g.) surname and in the variable name box next to it put q.

When a user accessesses this resource they will not go to the url you typed in but instead be sent to a slightly longer, Moodle-generated url based on their own user details, for example:

http://www.google.co.uk/search?q=Redmond

I hope that helps, it's a bit complex if you're not used to messing with URLs but it's a relatively simple yet very powerful way of connecting two web applications together, once you get the hang of it.

I don't know much about Filemaker, but I do know that the Link to a Website resource allows you to insert Moodle data (such as the current user's first name or surname) as parameters into the URL.

You can use this, for example, to create a link to Google that is different for each user, a search on their surname for example.

If filemaker presents a relatively sane web interface you should be able to use this to create the necessary URL, and put a such a resource on the front page of your site.

I think I'd like to see all these files moved to the wiki as the current documentation/help distinction seems artificial to me. There's a lot of good content in the help files that would be useful in the wiki, and there's also a lot of small errors and confusions that could be cleared up too.

Even if it's only for the most popular languages at the moment, it won't be a step back for other languages and may in fact be just the kind of small impetus that prompts the creation of documentation Wikis in many other languages.

The interesting technical question is how such content could be extracted from the wiki (and probably minorly reformatted) so that it would be available for non-internet-connected Moodles

I'm assuming you mean a list view that has each entry as a seperate row in a table.

For the list view you have three areas for templates

  • header
  • repeated entry
  • footer

You need to create the table and the header row in the first area, then the repeated table row, then close the table like this:

header

 <table class="generaltable" width="80%">
 <tr>
 <th>test</th>
 <th>testing</th>
 <th>tester</th>
 <th>actions</th>
 </tr>

repeated entry

 <tr>
 <td>test</td>
 <td>testing</td>
 <td>tester</td>
 <td>##Edit##  ##More## ##moreurl## ##Delete##  ##Approve## ##user## ##comments## </td>
 </tr>

footer

 </table>

Depending on your theme you may need to add an appropriate class="something" to your table tag in the HTML and possibly add relevant CSS to your theme files.