Skip to Content.
Sympa Menu

en - Re: [sympa-users] Customize home.tt2

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Michael Young <address@concealed>
  • To: Antonio Casado <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] Customize home.tt2
  • Date: Thu, 18 Nov 2021 12:31:45 +0000

Antonio-

 

The Sympa SOAP/HTTP API - https://sympa-community.github.io/manual/customize/soap-api.html

 

 

Michael Young 
Software Engineer IV

Information and Technology Services 
Finance & Administration 
Rochester Institute of Technology 
o: (585) 475-6031 | address@concealed

 

CONFIDENTIALITY NOTE: The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this information.

 

 

 

From: Antonio Casado <address@concealed>
Date: Thursday, November 18, 2021 at 3:02 AM
To: Michael Young <address@concealed>
Cc: "address@concealed" <address@concealed>
Subject: Re: [sympa-users] Customize home.tt2

 

Thank you Michael,

 

when you talk about extending the api you mean making a plugin?

 

Regards

 

El mar, 16 nov 2021 a las 13:53, Michael Young (<address@concealed>) escribió:

Antonio-

 

The Sympa application has a predefined set of “forms” that are available, as found in the web_tt2 directory.  Each of these forms, along with the wwsympa CGI (called by /sympa URLs by default)  that supports them is designed around supporting one list at a time.

 

We developed a “front end” similar to what you’re describing but ours is an extension of the CGI.

 

If you do not plan to use topics, and simply want to enumerate the lists that someone is a member of, display it on a page, and allow them to sub/unsub – then then API is the way to go with your choice of language (Perl, PHP, …).

 

If you do want to use topics (as we did), then modification of the wwsympa CGI is currently required with maintenance during each update to the Sympa base code to upgrade your modifications (a code merge). This also required getting to know template toolkit, and we prettied the output up with a lot of _javascript_ and Foundations/stylesheet use.

 

Had I known where our project would end up, I would have put the time into extending the API rather than modifying the CGI and using template toolkit as Perl/PHP on the back-end is way more efficient.

 

Michael Young

Software Engineer IV

Rochester Institute of Technology

 

From: <address@concealed> on behalf of Antonio Casado <address@concealed>
Reply-To: Antonio Casado <address@concealed>
Date: Tuesday, November 16, 2021 at 3:00 AM
To: "address@concealed" <address@concealed>
Subject: Re: [sympa-users] Customize home.tt2

 

Hi,

If it is very difficult to modify sympa. Could I create a link on "home" page that opens a different page at another URL ( miserver.com/newfrontend/ ) and be able to use the API in perl or the sympa.pl command to subscribe or unsubscribe the user?

 

Thanks

 

El vie, 12 nov 2021 a las 12:30, Antonio Casado (<address@concealed>) escribió:

Hello all,
I would like to customize the main page of sympa (web_tt2 / home.tt2) so that once authenticated the user will show him his subscription to the lists of a certain category as checks of a web form, and he can change his subscription when submitting the form (as a cookie form of a website).
But of course, I don't have the variables defined on that page. How could I do it?

 

I have sympa 6.2.64

 

--

Antonio Casado Rodríguez
Administrador de Servicios de Red y Seguridad TIC
Área de Comunicaciones
STIC (Servicio de las Tecnologías de la Información y las Comunicaciones)
UNIVERSIDAD DE ALMERÍA

Puede consultar la información adicional sobre confidencialidad de este email y protección de datos en nuestra página web http://www.ual.es/lopd-email

 - Responsable del Tratamiento: Universidad de Almería

 - Finalidad: Atender y dar respuesta a su petición o consulta y mantener los contactos y relaciones que se produzcan como consecuencia de la misma.

 - Derechos: Para el ejercicio de derechos de protección de datos diríjase a: http://www.ual.es/lopd-derechos


 

--

Antonio Casado Rodríguez
Administrador de Servicios de Red y Seguridad TIC
Área de Comunicaciones
STIC (Servicio de las Tecnologías de la Información y las Comunicaciones)
UNIVERSIDAD DE ALMERÍA

Puede consultar la información adicional sobre confidencialidad de este email y protección de datos en nuestra página web http://www.ual.es/lopd-email

 - Responsable del Tratamiento: Universidad de Almería

 - Finalidad: Atender y dar respuesta a su petición o consulta y mantener los contactos y relaciones que se produzcan como consecuencia de la misma.

 - Derechos: Para el ejercicio de derechos de protección de datos diríjase a: http://www.ual.es/lopd-derechos


 

--

Antonio Casado Rodríguez
Administrador de Servicios de Red y Seguridad TIC
Área de Comunicaciones
STIC (Servicio de las Tecnologías de la Información y las Comunicaciones)
UNIVERSIDAD DE ALMERÍA

Puede consultar la información adicional sobre confidencialidad de este email y protección de datos en nuestra página web http://www.ual.es/lopd-email

 - Responsable del Tratamiento: Universidad de Almería

 - Finalidad: Atender y dar respuesta a su petición o consulta y mantener los contactos y relaciones que se produzcan como consecuencia de la misma.

 - Derechos: Para el ejercicio de derechos de protección de datos diríjase a: http://www.ual.es/lopd-derechos




Archive powered by MHonArc 2.6.19+.

Top of Page