Moodle

Multilang filter does not work in the resource location field when resource type is "Link to file or website"

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.8.2
  • Fix Version/s: None
  • Component/s: Filters
  • Labels:
    None
  • Environment:
    W2K 2003 server with PHP >=5.2 and MySQL >=5.0 and Moodle 1.8.2.
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

When creating a multilingual resource by changing the resource name in the title, I need to link to a different file or website depending on the chosen language.

Example:
Resource name = <span lang="en" class="multilang">Google in English</span><span lang="de" class="multilang">Google in German</span> correctly displays the resource name depending on the language.

However, inserting <span lang="en" class="multilang">http://www.google.co.uk</span><span lang="de" class="multilang">http://www.google.de</span> in the resource location field of the resource fails opening the right google site.

This bug (or lack) makes it a burden to build multilanguage courses since the only method to have it working then is to build everything into a webpage resource type by constantly editing the HTML code.

Activity

Hide
Petr Kalis added a comment -

See patch

Show
Petr Kalis added a comment - See patch

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: