Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C2] Create catalogue visibility fields in Course & Session tables #5990

Open
NicoDucou opened this issue Dec 19, 2024 · 1 comment
Open
Assignees
Milestone

Comments

@NicoDucou
Copy link
Member

En Chamilo 1.11.x hay un campo extra field que permite indicar si un curso tiene que aparecer en el catalogo o no.
Esta funcionalidad se activa asi en 1.11.x :

// Only courses with this option will be visible in catalogue
// Requires DB changes:
/*INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, default_value, field_order, visible_to_self, visible_to_others, changeable, filter, created_at) VALUES(2, 3, 'show_in_catalogue', 'Show in catalogue', '', 0, 1, 1, 1, 0, NOW());SET @ef_id = LAST_INSERT_ID();INSERT INTO extra_field_options (field_id, option_value, display_text, priority, priority_message, option_order) VALUES(@ef_id, '1', 'Yes', NULL, NULL, 1),(@ef_id, '0', 'No', NULL, NULL, 2);*/
//$_configuration['show_courses_in_catalogue'] = false;

En Chamilo 2 este campo deberia de existir para los cursos y tambien lo mismo para las sesiones.

En el catalogo hay varias cosas que revisar asi que lo urgente aqui es de tener los campos para la Alpha2 de Chamilo pero no la funcionalidad en el catalogo

@NicoDucou NicoDucou added this to the 2.0 milestone Dec 19, 2024
@ywarnier ywarnier changed the title [C2] Crear campos de Course y Session para visibilidad en el catalogo [C2] Create catalogue visibility fields in Course & Session tables Dec 19, 2024
@christianbeeznest
Copy link
Contributor

Hola Nicolas, esta agregado en la tabla settings la variable show_courses_in_catalogue , faltaria solo validar eso en la pagina de catalogo, me podrias pasar la tarea donde estan las demas correcciones que se tiene que hacer porfa ? , para asi verlo todo de una vez :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants