UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Avatar in text area

Fagault Eric · ·
11:20 PM Thursday, 14 December 2017
None
Hello,
I'm trying to drop the member's avatar image into the post entry textarea.
(in .../components/com_easysocial/themes/wireframe/story/default.php)

I did this:

<div class = "es-story-textbox mentions-textfield" data-story-textbox>

<! - ***** ->
<div style = "margin-bottom: 5px"> <!-- with border-radius:50% -->
<img src = "<? php echo $ user-> getAvatar (small)?>" />
</ Div>
<! - ***** ->

<div class = "mentions">
<div data-mentions-overlay data-default = "<? php echo $ this-> html ('string.escape', $ story-> overlay);?>"> <? php echo $ story-> overlay; ?> </ Div>
<textarea class = "es-story-textfield" name = "content" data-story-textField data-mentions-textarea
data-default = "<? php echo $ this-> html ('string.escape', $ story-> content);?>"
data-initial = "<? php echo ($ story-> overlay)? JString :: strlen ($ story-> overlay): '0';?>"
placeholder = "<? php echo $ nameUser; echo", ";?> <? php echo JText :: _ ('COM_EASYSOCIAL_STORY_PLACEHOLDER');?>"> <? php echo $ story-> content; ?> </ Textarea>

</ Div>
</ Div>


But I can not put the placeholder on the same line as the avatar.
(As on the Example screenshot)

How would you do it?

Best regards.

Eric
The replies under this section are restricted to logged in users or users with an active subscription with us