Explore the community Forums Lectora Lectora Questions & Answers Change link to doc after posting to LMS

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #416452 Score: 0
    Profile photo of KFT
    KFT
    Member
    beginner
    intermediate
    curious george
    contributor
    wise owl
    @KFT

    I have a course with a button that links to a document on a website. The external link has changed – short of changing, republishing and reuploading, is there a way to access the link in the pubhished files? The button in question is an asset that shows on all pages, so I can’t just find the page in question and edit.

    #416455 Score: 0
    Profile photo of Stan Miller
    Stan Miller
    Member
    beginner
    intermediate
    LUC16 Attendee
    wise owl
    contributor
    curious george
    friend finder
    LUC17 Attendee
    35 pts
    @smiller7502

    This happens to us a lot. The first thing we do is ask the owner of the document if they can change the filename back to what it was, or move the file back to where it was, or both. When we explain why, it works far more often than it fails.

    I know that doesn’t answer your question directly, but it might make your question moot!

    #416459 Score: 1
    Profile photo of Stan Miller
    Stan Miller
    Member
    beginner
    intermediate
    LUC16 Attendee
    wise owl
    contributor
    curious george
    friend finder
    LUC17 Attendee
    35 pts
    @smiller7502

    Oh, and in case my first suggestion doesn’t work? Before editing the course, consider creating a shortened URL (e.g. bit.ly or goo.gl) that points to the new location, and then pointing your course to the shortened URL instead. That way, if the doc moves again, you’ll be able to just repoint your shortened URL instead of editing and republishing the course.

    This post has received 1 vote up.
    #416463 Score: 0
    Profile photo of Darrel Somoza
    Darrel Somoza
    Member
    contributor
    friend finder
    beginner
    intermediate
    junior moderator
    advanced
    wise owl
    curious george
    profile
    195 pts
    @Klaatu

    Yes, it is relatively simple. In the published content open the html page that the button is on using any text editor, notepad works fine, search for the URL and make changes as necessary. Resave.

    In the attached, I set the button to open google. Open page_1.html (in HTML folder)  in notepad. Search for “google”. When you find the URL change google to something else like trivantis. Resave and open by double clicking the index.html. click the button and you should now go to the revised site.

    Attachments:
    1. website.zip
    #416524 Score: 0
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    20 pts
    @CarlFink

    If you happen to know a tool like sed, you could just have a single-line command search and replace the URL in all files. Of course unless you change the source, you’ll have to do this swap every time you publish the course.

     

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.