Doug,

>
> How sweet it would be with SSO in place to land the student directly on the 
> exam page rather than on the 
> Lon-Capa courses page.
>

A URL of loncapa.msu.edu/adm/roles?role=$role&symb=$symb
replacing $role with st./$domain/$courseid, and $symb with the unique 
identifier for the resource (available from: Course Editor > Content Utilities 
> List Resource Identifiers) works at MSU with the SSO service in use here.  
(See: bugs.loncapa.org/show_bug.cgi?id=3987 )

However, use of a more elegant short url of the form: /tiny/$domain/$key, where 
$domain is course domain, and $key is a unique six character key has now been 
implemented. (The tiny urls in a course are managed via: Course Editor > 
Content Utilities > "Display/Set Shortened URLs for Deep-linking").

There are three enhancement requests in bugs.loncapa.org, all with a target 
milestone set to 2.12, related to the use of deep linking to a specific 
resource or folder in a LON-CAPA course.

For more information see:
bugs.loncapa.org/show_bug.cgi?id=6400 (Tiny URL for deep linking)
bugs.loncapa.org/show_bug.cgi?id=6906 (Option for LON-CAPA load balancer to 
record offload node)
bugs.loncapa.org/show_bug.cgi?id=6907 (Content in a course can be set to be 
deep-link only)

The state of both 6400 and 6906 is currently set to resolved, whereas 6907 is 
set to assigned (and is 95% complete).

The "deep-link only" functionality (bug 6907) is flagged for 2.12, because if 
it is enabled in a course, selecting a role in the course will require that the 
user session is hosted on a 2.12 LON-CAPA server/VM.  

As usual that is enforced by an entry in the 
/home/httpd/lonTabs/releaseslist.xml file, which in this case is:
<parameter name="deeplink" valuematch="on">2.12</parameter>

Stuart Raeburn
LON-CAPA Academic Consortium

________________________________________
From: LON-CAPA-users <lon-capa-users-boun...@mail.lon-capa.org> on behalf of 
Mills, Douglas G <dmi...@illinois.edu>
Sent: Wednesday, April 3, 2019 11:25 AM
To: Discussion list for LON-CAPA users
Cc: Mills, Douglas G
Subject: Re: [LON-CAPA-users] .sty file magic?

Great!  Thank you Stuart.

Also somewhat related, what is the status of deep linking? One of our upcoming 
scenarios involves using another campus LMS LTI integration with ProctorTrack 
for authentication with a call back to Lon-Capa to take an exam. How sweet it 
would be with SSO in place to land the student directly on the exam page rather 
than on the Lon-Capa courses page.

 Thanks,
Doug



Douglas Mills

Director of Instructional Technology

Department of Chemistry

University of Illinois




On 4/3/19, 9:51 AM, "LON-CAPA-users on behalf of Raeburn, Stuart" 
<lon-capa-users-boun...@mail.lon-capa.org on behalf of raeb...@msu.edu> wrote:

    Doug,

    In course context all files for which the content handler in LON-CAPA is 
either lonxml.pm or lonhomework.pm have access to styles defined in a published 
.css file set via a cssfile parameter, made applicable to the current resource.

    Those files include uploaded or published files with an html, htm, xhtml, 
xhtm, or xml extension, and published resources with a task, problem, exam, or 
survey extension (or indeed the "simpleproblem" template item in a course).

    Those same files will also be impacted by styles defined in any published 
.sty files associated with a course via Settings > Course Settings >  Display 
(Display of resources checked), and included in a comma separated list of paths 
to style files entered in the "Default XML style file" textbox.

    Standard LON-CAPA pages such as /adm/navmaps (for a Course Contents 
listing) do not currently include links to published .css files, and do not 
support modification (based on target and tag) using a published .sty file.

    I have added an enhancement request
    (see: bugs.loncapa.org/show_bug.cgi?id=6904 ) to add a course setting to 
allow a Course Coordinator to choose which columns should be displayed in the 
Contents listing. (The "Due in less than 24 hours" warning is in the 
"long_status" column).

    On a related note, LON-CAPA 2.12 will include the ability to suppress menu 
links to, and display of /adm/navmaps in specific contexts, i.e., the Placement 
Test course container, and when LON-CAPA is launched as an LTI Provider, (when 
the LTI scope is a folder, or a single resource).

    Stuart Raeburn
    LON-CAPA Academic Consortium

    ________________________________________
    From: LON-CAPA-users <lon-capa-users-boun...@mail.lon-capa.org> on behalf 
of Mills, Douglas G <dmi...@illinois.edu>
    Sent: Friday, March 29, 2019 2:58:29 PM
    To: Discussion list for LON-CAPA users
    Cc: Mills, Douglas G
    Subject: [LON-CAPA-users] .sty file magic?

    HI All,

    I'm probably in over my head on this one, but I'm looking at a very nice 
sty file example and attempting to work from that to create a sty file that 
simply inserts a style sheet that will not display the remaining time on a 
timed assessment on the content page.

    I know that doesn't sound like a very good idea, but the use is very 
specific. We are experimenting with a stand-alone instance of Lon-Capa as an 
exam server. The testing facility we are using likes their proctors, not the 
LMS, to be in charge of the time, so ideally perhaps we would not use a timer 
at all for these exams. However, there are a couple of logistical reasons that 
push the user of the timer for these. I have hidden all evidence of the timer 
on the problem page itself using css, but as far as I know (and think I've been 
told) there is no "natural" way to attach a style sheet to the contents page.  
Because the only thing in these instances of the course are the exams 
themselves, it looks to me like the following should hide the time remaining 
information that displays once the timer has been started:

    <style type="text/css">
    td span[title="Due in less than 24 hours!"]{display:none;}
    </style>

    However, so far my feeble attempts to get that inserted into the contents 
page via a sty file are coming up empty. I added some more obvious css into my 
attempted style file injection that have no effect either, so I'm guessing I'm 
failing so far to get the style code inserted into that (or any other) page.

    If it can't be done it's not the end of the world, but there are so few 
things that can't be done in Lon-Capa, I thought it was worth asking about.  
Thanks!

    Doug

    Douglas Mills
    Director of Instructional Technology
    Department of Chemistry
    University of Illinois
    _______________________________________________
    LON-CAPA-users mailing list
    LON-CAPA-users@mail.lon-capa.org
    
https://urldefense.proofpoint.com/v2/url?u=http-3A__mail.lon-2Dcapa.org_mailman_listinfo_lon-2Dcapa-2Dusers&d=DwIGaQ&c=nE__W8dFE-shTxStwXtp0A&r=VsGo3jOm8tGLd6f-KlhT-g&m=EUuSMGUDId-481RZm_1w5vyxj-k6og3rAvc7ZBoallE&s=wi8ghM6FmmKJqwdeSkzlf5EwfjADV-jjkxHpnyve6SA&e=


_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__mail.lon-2Dcapa.org_mailman_listinfo_lon-2Dcapa-2Dusers&d=DwIGaQ&c=nE__W8dFE-shTxStwXtp0A&r=VsGo3jOm8tGLd6f-KlhT-g&m=EUuSMGUDId-481RZm_1w5vyxj-k6og3rAvc7ZBoallE&s=wi8ghM6FmmKJqwdeSkzlf5EwfjADV-jjkxHpnyve6SA&e=
_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

Reply via email to