On 5/29/24 9:48 AM, Marc SCHAEFER wrote:
May I just modify those files, and is there any way to see, in the web GUI, where those files are referenced?
Yes, you may modify them. The search algorithm for templates is described at https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/utilities/i18n.... however, this is only for templates which have no entry or a mailman:/// entry in the template table in the database.
Also see https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/t...
In the database itself, the template table is empty (as seen in the GUI) and I did not see the text "web_page_url" in a dump of the database, so I have some issues to understand how this is used by Mailman (except direct file access to /var/lib/mailman3/templates?)
It is by direct access following the search algorithm.
If you are looking at templates in Postorius, these can be created and will place the template in the postorius_emailtemplate table in the database and an entry in the templates table with a URI beginning with the POSTORIUS_TEMPLATE_BASE_URL setting to retrieve the template via the Postorius API. The Postorius template UI should show the current value for a template not yet set in Postorius, but it doesn't. See https://gitlab.com/mailman/postorius/-/issues/366.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan