The grid format issue

The grid format issue

by Alireza Meshkin Mehr -
Number of replies: 10

Using Essential theme, and the grid format for the course, is it possible to make the navigation getting back to the current position on the light box after doing some task or activity ? As an example, when we click on a book activity on a section in a course and finish it and then tend to come back to the previous position on the course ( on the light box) , it goes back to the main page of the course (where the sections are listed) , not to the light box. (Oh, my explanation got a bit complicated I think smile )

Average of ratings: -
In reply to Alireza Meshkin Mehr

Re: The grid format issue

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

No it is not currently possible without code changes.  The changes are theme independent.  And no, I don't know what the changes are.  And I'm the person with the most amount of current knowledge about the Grid format as I've been maintaining and developing it for years.

In reply to Alireza Meshkin Mehr

Re: The grid format issue

by Mary Evans -

Essential -> Grid Format - > Light Box? Am I missing something?

I think this is a Course Format question for Gareth, so moving it into Course Format Forum

In reply to Mary Evans

Re: The grid format issue

by Mary Evans -

Oops...I did not see you had answered Gareth, as you can see I have just moved this!

In reply to Mary Evans

Re: The grid format issue

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

No worries, Mary, beat me to it!

In reply to Gareth J Barnard

Re: The grid format issue

by Alireza Meshkin Mehr -
Sorry, my mistake. I put it in the wrong forum. Thanks Gareth for the clear explanation. Although I think that'd be a great improvement for Grid format if you add this change to it. Don't you agree that it's kind of confusing or at least cumbersome for the students to click and choose the sections (to get back to the previous position), every time they are doing an activity ? Regard
In reply to Alireza Meshkin Mehr

Re: The grid format issue

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Yes it would, but the code would be complex - section return on a URL on the activity - which may or may not exist in core - thus possibly an enhancement, thus would be at the earliest M2.9 if implemented today.  But I have no time.

In reply to Gareth J Barnard

Re: The grid format issue

by Alireza Meshkin Mehr -

Ok. Got it . Thanks

In reply to Alireza Meshkin Mehr

Re: The grid format issue

by Dave Catlin -

This might be very naive, I am not qualified to question the technicality of this discussion.  There must be some mechanism that when I click on the image in the grid format directs me to the resources.  Is there not a shortcode or trigger element that can be pasted into the resource to get back to the lightbox?

In reply to Dave Catlin

Re: The grid format issue

by Mary Evans -

It's not that simple, as Gareth originally stated.  It would be good though wouldn't it if it were that simple!

Cheers

Mary

Average of ratings:Useful (1)
In reply to Mary Evans

Re: The grid format issue

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Indeed it is not simple.  Ok, looked at it again and the 'one section per page' course layout adds a 'section=' parameter to the returning URL in the breadcrumb which might possibly be used to open the light box at that section upon return.  But quite a bit of work to do, so will have to be funded.  I anticipate at least two days with investigation, code and test.