Subject: The mailing list for listmasters using Sympa
List archive
- From: Jerome Pouilloux <address@concealed>
- To: "address@concealed" <address@concealed>
- Subject: [sympa-users] access to user attributes in tt2
- Date: Mon, 10 Jan 2022 14:52:17 +0000
Hi,
first of all, happy new year to every one.
I'm trying to get attributes from user in a tt2 template to check the value.
To do that, I have filled the field `attributes_user` in the table `user_table`
in my tt2 I have tried to do
[% IF user %]
[% FOREACH vuser IN user.attributes %]
[% vuser %]
[% END %]
[% END %]
but the result is an hash who changes every time I refresh the page example:HASH(0xd4442a0), HASH(0x790f858).
What am I missing?
Furthermore, is there a possibility to check a value directly in the ldap configured in sympa.conf?
Regards
first of all, happy new year to every one.
I'm trying to get attributes from user in a tt2 template to check the value.
To do that, I have filled the field `attributes_user` in the table `user_table`
in my tt2 I have tried to do
[% IF user %]
[% FOREACH vuser IN user.attributes %]
[% vuser %]
[% END %]
[% END %]
but the result is an hash who changes every time I refresh the page example:HASH(0xd4442a0), HASH(0x790f858).
What am I missing?
Furthermore, is there a possibility to check a value directly in the ldap configured in sympa.conf?
Regards
-
[sympa-users] access to user attributes in tt2,
Jerome Pouilloux, 01/10/2022
-
Re: [sympa-users] access to user attributes in tt2,
Stefan Hornburg (Racke), 01/10/2022
-
RE: [sympa-users] access to user attributes in tt2,
Jerome Pouilloux, 01/10/2022
-
Re: [sympa-users] access to user attributes in tt2,
Stefan Hornburg (Racke), 01/10/2022
-
RE: [sympa-users] access to user attributes in tt2,
Jerome Pouilloux, 01/11/2022
- Re: [sympa-users] access to user attributes in tt2, Etienne MELEARD, 01/12/2022
-
RE: [sympa-users] access to user attributes in tt2,
Jerome Pouilloux, 01/11/2022
-
Re: [sympa-users] access to user attributes in tt2,
Stefan Hornburg (Racke), 01/10/2022
-
RE: [sympa-users] access to user attributes in tt2,
Jerome Pouilloux, 01/10/2022
-
Re: [sympa-users] access to user attributes in tt2,
Stefan Hornburg (Racke), 01/10/2022
Archive powered by MHonArc 2.6.19+.