Browse folder of a course...

Moderator: Coursenligne

Browse folder of a course...

Postby pascal@procompetence.ca » Wed Feb 08, 2012 1:20 am

Hi all,

After i upgraded to chamilio 1.8.8.4 i saw a new icon that appears in my courses view. A little folder that permit every user to browse the content of the course. All pages and files... How can i remove this folder icon?
Attachments
Screen Shot 2012-02-07 at 8.17.40 PM.png
Screen Shot 2012-02-07 at 8.17.40 PM.png (20.4 KiB) Viewed 730 times
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Browse folder of a course...

Postby Coursenligne » Wed Feb 08, 2012 11:33 am

That's a bit of a discussion....
It looks like people can even save the content as PDF file (if you selected the option).
As a test I would go as admin in the courses (or platform it doesn't really matter).
Or you can see "Documents" with an open eye; click on it, it'll close the eye (make "Documents" unvisible), or in admin you uncheck the box "Documents" that allows students to browse the content.

Please let us know whether it's OK ;)
Coursenligne
 
Posts: 1260
Joined: Sat Apr 09, 2011 9:59 pm

Re: Browse folder of a course...

Postby pascal@procompetence.ca » Wed Feb 08, 2012 12:09 pm

Hi Coursenligne,

Thanks for your answer...

If you are talking about those two options(see the screenshot) i alredy try this and it did not work... It does that after an upgrade from 1.8.7...
Attachments
Screen Shot 2012-02-08 at 7.07.48 AM.png
Screen Shot 2012-02-08 at 7.07.48 AM.png (35.38 KiB) Viewed 711 times
Screen Shot 2012-02-08 at 7.07.12 AM.png
Screen Shot 2012-02-08 at 7.07.12 AM.png (47.13 KiB) Viewed 711 times
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Browse folder of a course...

Postby Coursenligne » Wed Feb 08, 2012 1:06 pm

That was it... Bad luck on this one especially as people can have access to the whole content.
Maybe a "bug" raising?
Coursenligne
 
Posts: 1260
Joined: Sat Apr 09, 2011 9:59 pm

Re: Browse folder of a course...

Postby adeschenes » Thu Feb 09, 2012 11:22 am

Hi Pascal,

If you feel comfortable with this, you can modify the file user_portal.php located on the root directory.

On the line 92, change the parameter true to false like you can see below:

90
91 //$load_dirs = api_get_setting('courses_list_document_dynamic_dropdown');
92 $load_dirs = false;
93

Enjoy,

Alain

PS : Content de voir des gens de Québec sur Chamilo ;)
adeschenes
 
Posts: 452
Joined: Fri Mar 05, 2010 6:33 pm
Location: Québec, Canada

Re: Browse folder of a course...

Postby Coursenligne » Thu Feb 09, 2012 11:29 am

Hello Alain,
Doesthis will avoid student from being able to see the PDF link for the courses and as a consequence being able to export the whole content of the course in PDF format ?

Thanks very much for the trick!!!!!

Et heureux de voir que la communauté francophone se renforce (même si je ne suis pas de chez vous...; :))
Coursenligne
 
Posts: 1260
Joined: Sat Apr 09, 2011 9:59 pm

Re: Browse folder of a course...

Postby adeschenes » Thu Feb 09, 2012 12:14 pm

Hi Eric,

If you do this, it will diseable the export capacity.

Image

You should also replace the icon pdf by a white image... : .../main/img/icons/22/pdf.png

Good luck,

Alain
adeschenes
 
Posts: 452
Joined: Fri Mar 05, 2010 6:33 pm
Location: Québec, Canada

Re: Browse folder of a course...

Postby pascal@procompetence.ca » Sun Feb 12, 2012 3:54 pm

Hi all,

Thanks for your answer... We put false arguments at line 92 and it works well. We do not use the export to pdf function.
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

Browse folder of a course...

Moderator: Coursenligne

Browse folder of a course...

Postby pascal@procompetence.ca » Wed Feb 08, 2012 1:20 am

Hi all,

After i upgraded to chamilio 1.8.8.4 i saw a new icon that appears in my courses view. A little folder that permit every user to browse the content of the course. All pages and files... How can i remove this folder icon?
Attachments
Screen Shot 2012-02-07 at 8.17.40 PM.png
Screen Shot 2012-02-07 at 8.17.40 PM.png (20.4 KiB) Viewed 730 times
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Browse folder of a course...

Postby Coursenligne » Wed Feb 08, 2012 11:33 am

That's a bit of a discussion....
It looks like people can even save the content as PDF file (if you selected the option).
As a test I would go as admin in the courses (or platform it doesn't really matter).
Or you can see "Documents" with an open eye; click on it, it'll close the eye (make "Documents" unvisible), or in admin you uncheck the box "Documents" that allows students to browse the content.

Please let us know whether it's OK ;)
Coursenligne
 
Posts: 1260
Joined: Sat Apr 09, 2011 9:59 pm

Re: Browse folder of a course...

Postby pascal@procompetence.ca » Wed Feb 08, 2012 12:09 pm

Hi Coursenligne,

Thanks for your answer...

If you are talking about those two options(see the screenshot) i alredy try this and it did not work... It does that after an upgrade from 1.8.7...
Attachments
Screen Shot 2012-02-08 at 7.07.48 AM.png
Screen Shot 2012-02-08 at 7.07.48 AM.png (35.38 KiB) Viewed 711 times
Screen Shot 2012-02-08 at 7.07.12 AM.png
Screen Shot 2012-02-08 at 7.07.12 AM.png (47.13 KiB) Viewed 711 times
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm

Re: Browse folder of a course...

Postby Coursenligne » Wed Feb 08, 2012 1:06 pm

That was it... Bad luck on this one especially as people can have access to the whole content.
Maybe a "bug" raising?
Coursenligne
 
Posts: 1260
Joined: Sat Apr 09, 2011 9:59 pm

Re: Browse folder of a course...

Postby adeschenes » Thu Feb 09, 2012 11:22 am

Hi Pascal,

If you feel comfortable with this, you can modify the file user_portal.php located on the root directory.

On the line 92, change the parameter true to false like you can see below:

90
91 //$load_dirs = api_get_setting('courses_list_document_dynamic_dropdown');
92 $load_dirs = false;
93

Enjoy,

Alain

PS : Content de voir des gens de Québec sur Chamilo ;)
adeschenes
 
Posts: 452
Joined: Fri Mar 05, 2010 6:33 pm
Location: Québec, Canada

Re: Browse folder of a course...

Postby Coursenligne » Thu Feb 09, 2012 11:29 am

Hello Alain,
Doesthis will avoid student from being able to see the PDF link for the courses and as a consequence being able to export the whole content of the course in PDF format ?

Thanks very much for the trick!!!!!

Et heureux de voir que la communauté francophone se renforce (même si je ne suis pas de chez vous...; :))
Coursenligne
 
Posts: 1260
Joined: Sat Apr 09, 2011 9:59 pm

Re: Browse folder of a course...

Postby adeschenes » Thu Feb 09, 2012 12:14 pm

Hi Eric,

If you do this, it will diseable the export capacity.

Image

You should also replace the icon pdf by a white image... : .../main/img/icons/22/pdf.png

Good luck,

Alain
adeschenes
 
Posts: 452
Joined: Fri Mar 05, 2010 6:33 pm
Location: Québec, Canada

Re: Browse folder of a course...

Postby pascal@procompetence.ca » Sun Feb 12, 2012 3:54 pm

Hi all,

Thanks for your answer... We put false arguments at line 92 and it works well. We do not use the export to pdf function.
pascal@procompetence.ca
 
Posts: 8
Joined: Sun Feb 05, 2012 5:27 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

Social network

Youtube

Subscribe to our newsletter

Leave us your e-mail in the box below, then make sure you approve the confirmation e-mail you will receive

 


 

Upcoming events