Project

General

Profile

Feature #4595

Add new LP visualization

Added by Yannick Warnier over 8 years ago. Updated almost 7 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Category:
Learning paths / Lecciones
Target version:
Start date:
07/04/2012
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

I thought I had already added this, but apparently not :-)

There might be a way to make presentations (learning paths) in Chamilo really rock by including impress.js as a visualization (make a simple spiral formulae and put the slides in there) and adding it as one of the modes the teacher can select in lp_list.php.

Doesn't require database changes, just the inclusion of the impress.js library and a simple algorithm to make each page rotate a bit...

Also, this is at another level but it might work as well (not sure if impress.js uses SVG): http://dl.dropbox.com/u/40496552/awwation-intro.svg


Files

Selection_003.png (31.6 KB) Selection_003.png Julio Montoya, 07/10/2013 15:26

Associated revisions

Revision f9faac1c (diff)
Added by Julio Montoya about 8 years ago

Adding impress js library see #4595

Revision 07b2c5fd (diff)
Added by Julio Montoya about 8 years ago

Adding impress demo in LP (not working yet) see #4595

Revision 13f1932b (diff)
Added by Julio Montoya about 8 years ago

Blocking the impress LP still very experimental see #4595

Revision e8837f18 (diff)
Added by Julio Montoya about 8 years ago

Impress LP preview is only available for the admin see #4595

Revision 8ebcd6db (diff)
Added by Julio Montoya over 7 years ago

Adding impress option when changing of default_view_mode see #4595

Revision 1242cd7f (diff)
Added by Julio Montoya over 7 years ago

Adding bar in the impress LP view see #4595

Revision cfd5c383 (diff)
Added by Julio Montoya over 7 years ago

Fixing LP list when using the "back" button see #4595

History

#1

Updated by Julio Montoya about 8 years ago

  • % Done changed from 0 to 10

I did a fast and simple implementation (just to view the slides) using impress.js

Go to the classic view and change in the URL action=view to action=impress

#2

Updated by Yannick Warnier about 8 years ago

Julio Montoya wrote:

I did a fast and simple implementation (just to view the slides) using impress.js

Go to the classic view and change in the URL action=view to action=impress

It really looks fantastic (a bit pixelized because of the resize of documents that are not slides to start with, but really great anyway):
http://chamilodev.beeznest.com/main/newscorm/lp_controller.php?cidReq=TESTCOURSEINENGLISH&id_session=0&gidReq=0&action=impress&lp_id=1#/step-1

#3

Updated by Julio Montoya about 8 years ago

  • Status changed from New to Needs more info
#4

Updated by Julio Montoya about 8 years ago

  • % Done changed from 10 to 20

Well, I have to add an option to the LP table because when using impress.js we don't have progress, item pre-requesites, etc etc.

I'm going to add an exit() to stop the code, maybe for 1.9.1 we can focus in that task.

http://code.google.com/p/chamilo/source/detail?r=1584e9496db6e7da0b40d79152cb02d630714c4f&repo=classic

The LP setting could be lp.display_type or display_mode ??

#5

Updated by Yannick Warnier about 8 years ago

Julio Montoya wrote:

The LP setting could be lp.display_type or display_mode ??

There is already one field for that (which is matched to a small view type icon in the lp_list.php view), called default_view_mod, so no need to add anything but an additional accepted value.

The new icon should be something like a recycle circle or a round arrow (like with a "jumping" meaning) and it should say "Impress mode - No tracking in this mode" (so we are clear).

#6

Updated by Julio Montoya about 8 years ago

I also thought that but the "default_view_mod" has 2 options "embed" and "embedframe" and has nothing to do with the "format" that the lp is going to be shown. I mean that embed doesn't share the same category with "impress".

What happened if someone whats a full screen LP with impress?

#7

Updated by Yannick Warnier about 8 years ago

Julio Montoya wrote:

I also thought that but the "default_view_mod" has 2 options "embed" and "embedframe" and has nothing to do with the "format" that the lp is going to be shown. I mean that embed doesn't share the same category with "impress".

In fact yes, it is a switcher between different visual modes, and yes, this is the one that should be used to pass to "impress" mode.

What happened if someone whats a full screen LP with impress?

What other type of presentation do you want to offer them? Fullscreen should be triggered by pressing F11 in your browser, otherwise, as you said, we cannot use (at this time) the left bar with the impress mode, so there is only one possibility for the impress view: full browser page (so only one icon).

The idea with the visualisation botton (frame/embedframe) is that you can select whether the left bar will be show or not, but there is also a disabled visualisation mode which makes it popup if I remember well.

So here you just add one mode and we're done. Users will have to click twice on the icon to get to the impress mode, but we'll document that.

We don't have much time to spend making it much better, and it will not be tested enough to make it more visible in the stable release. It is a "beta" feature and will remain as such for now (it was not planned initially), unless somebody wants to spend a lot of personal time doing so ;-)

#8

Updated by Yannick Warnier almost 8 years ago

  • Target version changed from 1.9.2 to 1.9.4
#9

Updated by Yannick Warnier over 7 years ago

  • Category set to Learning paths / Lecciones
  • Status changed from Needs more info to Assigned
  • Assignee set to Julio Montoya

Julio, if you get a chance before Friday, I don't mind you looking into this to officially launch it as one more visualization. You just have to add it to the cycle of visualizations with a new (or existing, but different) icon in the list of LPs

#10

Updated by Yannick Warnier over 7 years ago

  • Target version changed from 1.9.4 to 1.9.6

Not urgent. Moving to 1.9.6

#11

Updated by Julio Montoya over 7 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Julio Montoya)
  • % Done changed from 20 to 80

Option was added

#12

Updated by Yannick Warnier over 7 years ago

  • Status changed from Needs testing to Assigned
  • Assignee set to Julio Montoya
Nice. I need three fixes/improvements to close it:
  • leave the top bar in this mode as well
  • give an id to the switch_view_mode action, so that when reloading the page (F5 or pressing "back" button), it doesn't change mode without saying it
  • for some reason, when pressing "back" from the learning path in impress mode, I'm getting to the learning path as student...
#13

Updated by Julio Montoya over 7 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Julio Montoya)

The 3 suggestions were added

#14

Updated by Julio Montoya over 7 years ago

  • Assignee set to Yoselyn Castillo
#15

Updated by Yannick Warnier over 7 years ago

  • Status changed from Needs testing to Bug resolved
  • Assignee changed from Yoselyn Castillo to Julio Montoya
  • % Done changed from 80 to 100

Checked and confirm. This feature is great!

#16

Updated by Alexander Hu almost 7 years ago

Erm, just to bring this up for others:
how do we now use the "impress" feature in learning paths/views?
Adding url parameters can't be the right way :P
And i have been looking in the 1.9.6 stable for this functionality.

Any clues? :-)

#17

Updated by Julio Montoya almost 7 years ago

You have to click in the icon like 2 two times, a new option will appear:

Also available in: Atom PDF