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:
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
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