I want to edit $context['member']['last_login'] but how can I do that?

Started by Lixine, October 26, 2022, 03:25:40 PM

Previous topic - Next topic

Lixine


I want to edit $context['member']['last_login'] but how can I do that?

Doug Heffernan

Quote from: Lixine on October 26, 2022, 03:25:40 PMI want to edit $context['member']['last_login'] but how can I do that?

What are you trying to do?

Lixine

Quote from: Doug Heffernan on October 26, 2022, 03:34:37 PM
Quote from: Lixine on October 26, 2022, 03:25:40 PMI want to edit $context['member']['last_login'] but how can I do that?

What are you trying to do?

I want to move the time part away from the date part

like this



$context['member']['last_login']



but it doesn't work because it gives both in the same element. I need to edit $context['member']['last_login']

Aleksi "Lex" Kilpinen

No. You do not edit $context, that is just data, not presentation.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Doug Heffernan

Also, if you want to change the display of the date you must edit the time format.

Advertisement: