<div dir="ltr"><div>Hi,</div><div>I've been working for the last couple of weeks on a new extension called "<a href="https://github.com/arno974/lizmap-announcement" target="_blank">Lizmap-Announcement</a>" [1].<br></div><div>The
main idea behin this extension is to allow the administrator to publish
news and announcements that will be displayed on a project opening. <br></div><div><br></div><div><u><b>Currently, the main functionnalities are :</b></u></div><div> -
Write an announcement in the administration section : you can
select if the announcement will be displayed on all the projects of a
repository or for an individual project. Announcements are stored inside a
SQLite database.<br></div><div> - View/Delete the announcement in the administration section<br></div><div> - View the announcement when opening a project that has been configured to display an announcement<br></div><div> -
When a user close an announcement, it will not be displayed anymore
(unless the announcement is configured as permanent - but not
implemented yet)</div><div></div><div><br></div><div><u><b>Things that could be improved/verify:</b></u><br></div><div> -
I am not yet very comfortable with the jelix extension installation
mechanism. During the extension installation, I need to copy the SQLite
database in the <br>jApp::configPath('db') path. I've specified some
instructions inside the install directory (announcementAdmin) but I'm
not quite sure that they are interpreted. <br></div><div> - The <a href="https://github.com/arno974/lizmap-announcement/blob/main/announcementAdmin/forms/config.form.xml" target="_blank">announcementAdmin form</a>
has two options that are not taken into account (permanent and
display_type) [2]. Despite my different tests, the values are always 0
for permanent and empty for display_type. I've already <a href="https://jelix.org/forums/forum/5-jelix-utilisation-et-developpement/posts/12152-10214-form-valeur-de-checkbox-toujours-0#p12158" target="_blank">asked the question on the jelix forum</a> [3].<br></div><div> - Add a readme for the github repository project<br></div><div><br></div><div>I
would be happy to discuss with the lizmap team about this extension and
how I can solve the issues about some form options not correctly taken
into account.</div><div><br></div><div>Regards,<br><br></div><div>Arnaud<br></div><div><br></div><div>[1] <a href="https://github.com/arno974/lizmap-announcement" target="_blank">https://github.com/arno974/lizmap-announcement</a></div><div>[2] <a href="https://github.com/arno974/lizmap-announcement/blob/main/announcementAdmin/forms/config.form.xml" target="_blank">https://github.com/arno974/lizmap-announcement/blob/main/announcementAdmin/forms/config.form.xml</a></div><div>[3] <a href="https://jelix.org/forums/forum/5-jelix-utilisation-et-developpement/posts/12152-10214-form-valeur-de-checkbox-toujours-0#p12158" target="_blank">https://jelix.org/forums/forum/5-jelix-utilisation-et-developpement/posts/12152-10214-form-valeur-de-checkbox-toujours-0#p12158</a></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">--------------------------------------------------------------------<br>Arnaud Vandecasteele<br><br><br></div></div></div></div></div>