Skip to Content.
Sympa Menu

en - Re: [sympa-users] custom_attributes not saved from a mobile phone browser

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: IKEDA Soji <address@concealed>
  • To: Gautier Auburtin <address@concealed>
  • Cc: sympa-users <address@concealed>
  • Subject: Re: [sympa-users] custom_attributes not saved from a mobile phone browser
  • Date: Mon, 25 Sep 2017 18:04:30 +0900

Hi Gautier,

On Sun, 24 Sep 2017 21:24:54 +0200 (CEST)
Gautier Auburtin <address@concealed> wrote:

> After many tests, i found that the "responsive" class attribute lay be
> involved
>
> Instead of
> <table class="responsive">
> Use
> <table>
> All data is now saved from a mobile phone.
>
> I'm not kidding...

You are right. I could reproduce the bug with iPhone.

I submitted an issue to GitHub project:
https://github.com/sympa-community/sympa/issues/61

Regards,

-- Soji

> regards,
>
> Gautier
>
> De: "Gautier Auburtin" <address@concealed>
> À: "sympa-users" <address@concealed>
> Envoyé: Dimanche 24 Septembre 2017 13:29:58
> Objet: custom_attributes not saved from a mobile phone browser
>
> Hi all,
>
> I noticed that custom_attributes are not saved when the subscriber confirms
> its subscription with a mobile phone browser (and when he edits its
> preferences with a mobile phone browser)
> The custom attributes are saved from any PC browser, but when i use
> adaptive version in firefox or chrome, they are not saved too.
> The custom attributes are text field.
>
> We are using Sympa 6.2.16 [ http://www.sympa.org/ ]
>
> The content of the TTL template edit_attributes.tt2 seems good to me.
>
> Do you have any idea ?
>
> Regards,
>
> Gautier
>
> <!-- $Id: edit_attributes.tt2 12241 2015-06-20 03:34:12Z sikeda $ -->
> [% IF list_conf.custom_attribute && list_conf.custom_attribute.size > 0 %]
> <div class="block">
> <i>[%|loc%]Additional information[%END%]</i>
> <table class="responsive">
> [% FOREACH k IN list_conf.custom_attribute %]
> <tr><td  class="text_left"><label for="custom_attribute.[% k.id
> %]">[%|loc(k.name)%]%1:[% END %]<br/>
> <i>[% k.comment %]</i>
> </label></td><td>
> [% SET m = subscriber.custom_attribute.item(k.id).value %]
> [% IF k.type == 'string' %]<input type="text" name="custom_attribute.[%
> k.id %]" id="custom_attribute.[% k.id %]" value="[%
> subscriber.custom_attribute.item(k.id).value %]" size="40" />
> [% ELSIF k.type == 'integer' %]<input type="text" name="custom_attribute.[%
> k.id %]" id="custom_attribute.[% k.id %]" value="[%
> subscriber.custom_attribute.item(k.id).value %]" size="10" />
> [% ELSIF k.type == 'text' %]<textarea cols="50" rows="5"
> name="custom_attribute.[% k.id %]" id="custom_attribute.[% k.id %]"
> value="[% subscriber.custom_attribute.item(k.id).value %]" size="500">[%
> subscriber.custom_attribute.item(k.id).value %]</textarea>
> [% ELSIF k.type == 'enum' %]<select name="custom_attribute.[% k.id
> %]"><option value=""></option>
> [% FOREACH l IN k.enum_values.split(',') %]
> <option [% IF l == "$m" %]selected[% END %] value="[% l %]">[% l
> %]</option><br>
> [% END %]
> </select>
> [% ELSE %]
> [% subscriber.custom_attribute.item(k.id).value %]
> [% END %] [% IF k.optional == 'required' %]*[% END %]
> <!-- (k.id:[% k.id %]) (m:[% m | html %]) (k.type:[% k.type %])
> --></td></tr>[% END %]
> </table>
> <i>[%|loc%]*: Required element[%END%]</i>
> </div>
>
> [% END %]
> <!-- end edit_attributes.tt2 -->
>
>
>
> Gautier Auburtin
> Chargé d'urbanisation numérique
>
> Campus Condorcet
> 20 avenue George Sand - 93210 Saint-Denis La Plaine
> 01 55 93 93 89
>
> [ http://www.campus-condorcet.fr/ | www.campus-condorcet.fr ]
> Abonnez-vous à la [
> http://www.campus-condorcet.fr/campus-condorcet/Annexes/p-7-Lettre-d-information.htm
> | Lettre d'information ]
>


--
株式会社 コンバージョン
ITソリューション部 システムソリューション1グループ 池田荘児
〒140-0014 東京都品川区大井1-49-15 アクセス大井町ビル4F
e-mail address@concealed TEL 03-6429-2880
https://www.conversion.co.jp/



Archive powered by MHonArc 2.6.19+.

Top of Page