[Lizmap] Lizmap Announcement : New Extension

Arnaud Vandecasteele arnaud.sig at gmail.com
Mon Apr 18 21:47:56 PDT 2022


Hi,

Did you have the chance to have a look on this extension.
Do you think there is an interest for Lizmap ?
If not, would you please answer to my question so I can finalize this
extension :
 - 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
jApp::configPath('db') path. I've specified some instructions inside the
install directory (announcementAdmin) but I'm not quite sure that they are
interpreted.
 - The announcementAdmin form
<https://github.com/arno974/lizmap-announcement/blob/main/announcementAdmin/forms/config.form.xml>
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 asked the question on
the jelix forum
<https://jelix.org/forums/forum/5-jelix-utilisation-et-developpement/posts/12152-10214-form-valeur-de-checkbox-toujours-0#p12158>
[3].

Thanks,

Arnaud

On Thu, Apr 7, 2022 at 8:06 AM Arnaud Vandecasteele <arnaud.sig at gmail.com>
wrote:

> Hi,
>
> Following the announcement of this new extension, I would like to know if
> you had the opportunity to try it ?
> If so, do you have any comments or suggestions ?
>
> Regards,
>
> Arnaud
>
> On Mon, Mar 28, 2022 at 3:58 PM Arnaud Vandecasteele <arnaud.sig at gmail.com>
> wrote:
>
>> Hi,
>> I've been working for the last couple of weeks on a new extension called "
>> Lizmap-Announcement <https://github.com/arno974/lizmap-announcement>"
>> [1].
>> The main idea behin this extension is to allow the administrator to
>> publish news and announcements that will be displayed on a project opening.
>>
>> *Currently, the main functionnalities are :*
>>  - 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.
>>  - View/Delete the announcement in the administration section
>>  - View the announcement when opening a project that has been configured
>> to display an announcement
>>  - When a user close an announcement, it will not be displayed anymore
>> (unless the announcement is configured as permanent - but not implemented
>> yet)
>>
>> *Things that could be improved/verify:*
>>  - 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
>> jApp::configPath('db') path. I've specified some instructions inside the
>> install directory (announcementAdmin) but I'm not quite sure that they are
>> interpreted.
>>  - The announcementAdmin form
>> <https://github.com/arno974/lizmap-announcement/blob/main/announcementAdmin/forms/config.form.xml>
>> 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 asked the question on
>> the jelix forum
>> <https://jelix.org/forums/forum/5-jelix-utilisation-et-developpement/posts/12152-10214-form-valeur-de-checkbox-toujours-0#p12158>
>> [3].
>>  - Add a readme for the github repository project
>>
>> 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.
>>
>> Regards,
>>
>> Arnaud
>>
>> [1] https://github.com/arno974/lizmap-announcement
>> [2]
>> https://github.com/arno974/lizmap-announcement/blob/main/announcementAdmin/forms/config.form.xml
>> [3]
>> https://jelix.org/forums/forum/5-jelix-utilisation-et-developpement/posts/12152-10214-form-valeur-de-checkbox-toujours-0#p12158
>>
>>
>> --
>> --------------------------------------------------------------------
>> Arnaud Vandecasteele
>>
>>
>>
>
> --
> --------------------------------------------------------------------
> Arnaud Vandecasteele
>
>
>

-- 
--------------------------------------------------------------------
Arnaud Vandecasteele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220419/61cfb52f/attachment.html>


More information about the Lizmap mailing list