ElkArte Community

Title: Forum Specific {{ Hello User }} message
Post by: meetdilip on March 04, 2016, 09:57:51 am
Just wondering if it is possible in Elk. I went to a tech forum recently and the particular section had an {{ hello user }} and a message on top ( dismissable ).
Title: Re: Forum Specific {{ Hello User }} message
Post by: radu81 on March 04, 2016, 02:43:14 pm
can you post a screenshot?
Title: Re: Forum Specific {{ Hello User }} message
Post by: meetdilip on March 05, 2016, 03:30:15 am
@radu81  here

@derived , I didn't gather the context.
Title: Re: Forum Specific {{ Hello User }} message
Post by: Flavio93Zena on March 05, 2016, 03:45:49 am
Shouldn't be hard either, it's a template+language file edit.
derived what you posted is entirely different...
Title: Re: Forum Specific {{ Hello User }} message
Post by: radu81 on March 05, 2016, 05:58:48 am
Or you can do it with a portal block
Title: Re: Forum Specific {{ Hello User }} message
Post by: meetdilip on March 05, 2016, 08:13:55 am
@radu81 , does that give {{hello user }} style salutation ?
Title: Re: Forum Specific {{ Hello User }} message
Post by: Antechinus on March 05, 2016, 02:30:34 pm
Depends what you put in your portal block. ;) Either way you'd have to write some custom code. If you are running a portal anyway, you could use a block. If you're not running a portal anyway, no point having one just for this.
Title: Re: Forum Specific {{ Hello User }} message
Post by: Flavio93Zena on March 05, 2016, 02:38:14 pm
What Ant said, and yes meetdilip, it will. If you check how SP is coded for the userinfo block you will already see something very very similar (where it says "Hey {user}"). :)