Jan Derriks
Jan Derriks
Another way to reproduce it with only 2 announcements: Steps: 1. use fill data to create some users and courses 2. create 80 groups with 2 users (use random filler)...
Announcement bad dead code example: test on 0:
Even on the chamilo campus the issue appears: https://campus.chamilo.org/main/announcements/announcements.php?cidReq=TEST9&id_session=0&gidReq=0&gradebook=0&origin= (you have to login to see announcements) The root cause of the issue is the SELECT part in AnnouncementManager:getAnnouncements (a terrible...
If only this bug was that easy to fix :-) https://1.11.chamilo.org/main/announcements/announcements.php?cidReq=TESTHVA&gidReq=0&id_session=0
Same problem in 1.11.4. check on tags it seems a line is shifted: username - ok firstname - ok lastname - ok teachername - wrong, is username teachermail - wrong...
Very good! Maybe add the rule on the body also: $form->addRule('content', get_lang('ThisFieldIsRequired'), 'required'); Just to prevent people forgetting entering a message.
Sure, go ahead. It's more code.
Content is set by: $form->addHtmlEditor( 'content',
@SatyanJ Good question. In older 1.11 versions it used to mark messages that have been sent BY EMAIL. So the purpose is indeed to see if the "send by email"...