ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Cant seem to put mailto links into announcements and course banners


  • 2010-08-09 19:30:00

    Cant seem to put mailto links into announcements and course banners

    Hello. I'm working with 2.0 and I'm trying to put an email link into a course banner. The HTML is fine, but when I view the page, it outputs as:

    [php]<a mailto:support@liveonlinemath.com="" href="mailto:%3Ca%20href=">support@liveonlinemath.com</a>[/php]

    I've confirmed this behavior on the demo server installation with an announcement called "link testing". Normal links work fine, but mailto links get messed up.

  • 2010-08-10 09:48:13

    Re: Can't seem to put mailto links into announcements and course banners

    Confirmed, thanks. Have added this to our bug tracker.

  • 2010-08-10 15:47:23

    Re: Can't seem to put mailto links into announcements and course banners

    Harris,

    By the way, I noticed that the mailto link is properly coded in the AT_courses database table. So, it must be something in the output that's failing.

    Hope it helps.

  • 2010-08-10 17:29:14

    Re: Can't seem to put mailto links into announcements and course banners

    You should just need to type in the email address, and it will display as a mailto link. Add a space before and after the email address.

  • 2010-08-10 17:55:35

    Re: Can't seem to put mailto links into announcements and course banners

    Greg,

    I tried doing the space before and after a plainly entered email and similar behavior still occurs.

    Any other ideas?

  • 2010-08-13 19:18:15

    Re: Can't seem to put mailto links into announcements and course banners

    Greg/Harris,

    Just wanted to see if there was any more movement on this, or if it's just in the bug tracker.

    Thanks!

  • 2010-08-16 09:34:21

    Re: Can't seem to put mailto links into announcements and course banners

    Sorry about the delayed respond. We have confirmed it and it extended to another problem as well. I have fixed the bug on the trunk but we are testing it some more. I will issue a patch once this is completed. Thanks.

  • 2010-08-16 10:50:57

    Re: Can't seem to put mailto links into announcements and course banners

    Harris,

    Good to hear that part of it is fixed, but what do you mean by "trunk"?

    Thanks.

  • 2010-08-16 11:58:46

    Re: Can't seem to put mailto links into announcements and course banners

    Our subversion repository which keeps track of the code revisions. In other words, the place where the fixes would appear in the next release.

  • 2010-08-16 12:22:56

    Re: Can't seem to put mailto links into announcements and course banners

    Ok, great.

    One last question. Was it just the index.php (or index.tmpl.php) file that you changed to allow the displaying of mailto links?

    Thanks.

  • 2010-08-16 13:58:08

    Re: Can't seem to put mailto links into announcements and course banners

    It's actually going to be the

    include/lib/output.inc.php

    Themes won't be affected. :)

  • 2010-08-16 14:18:16

    Re: Can't seem to put mailto links into announcements and course banners

    Great. Thanks alot.