Re: [Tiki-devel] Shouldn't the wiki variable {{user}} shows the user real name (when enable) ?
Jean-Marc Libs <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <CA++RN4fSxEoOR=Ycy7aDdE1d_xsfyyMh7aeHEwNkT5H70BLaiQ@mail.gmail.com> |
The sad thing is, our documentation says {{user|nobody}} is already
supported and it should display "nobody" as a default value when {{user}}
is empty. There seems to have been a regression on this some time since
Tiki12.x :-(
It's probably simpler to ask for {{realname}}.
Cheers,
J-M
On Mon, Jan 24, 2022 at 10:27 AM luciash via TikiWiki-devel <
[email protected]> wrote:
> Hi B,
>
> yes, it is the expected behavior.
>
> But if you *wish* to support the realname maybe someone could extend the
> code of argument variables to support the smarty modifiers, maybe something
> like this:
>
> {{user|username}}
>
> luci
>
>
> Dne 29.12.2021 v 7:03 Bernard Sfez via TikiWiki-devel napsal(a):
>
>
> On 28 Dec 2021, at 23:13, Jean-Marc Libs <[email protected]> wrote:
>
> I suggest you write pluginRealname or pluginUsername :-)
>
>
>
> 2 people telling me I'm drunk ? 😂😂
>
> I don’t remember writing I need to change the behaviour, I just asked if
> this is the normal behaviour.
>
> My understanding is:
> Yes, {{user}} will display the user email when "Use email as username” I
> enable.
>
> Documentation clarified, thanks.
>
> Bernard
>
>
> _______________________________________________
> TikiWiki-devel mailing listTikiWiki-devel-5NWGOfrQmneRv+LV9MX5ugtCRVl27V+i0wdF1cv0I5s@public.gmane.org://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel