Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17791

Add link code to the text profile field type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Other
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Add an extra field when defining a text type user profile field that contains link information to be used when data is displayed in a user's profile. Use a "$" wildcard to be replaced with the user data.

      eg Admin sets up link as "http://google.com/search?q=$"
      User enters data into this field such as "rabbit"
      Then the relevant field on their profile page will be rendered as <a href="http://google.com/search?q=rabbit" target="_blank">rabbit</a>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ikawhero Shane Elliott
              Reporter:
              ikawhero Shane Elliott
              Tester:
              Martin Dougiamas
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10