Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

[SOLUTION] How to move Post button (JomSocial 4.4.4) to Chat message text area

2 years 6 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

One of the solutions:
You need to change:
...\components\com_community\templates\jomsocial\layouts\chat\default.php
Best way is to copy that file with folder structure to your JomSocial template/theme to something like this:
...\components\com_community\templates\YOUR_THEME\layouts\chat\default.php
Find lines 136 and 140 and comment those out like this:

<!-- ***********                <div style="text-align:right; padding-top:2px"> -->
                    <button class="joms-button--primary joms-button--small joms-js--send"> 
                        <?php echo JText::_('COM_COMMUNITY_SEND'); ?>
                    </button>
<!-- ***********                </div> -->
Add few css lines to template/theme:
.joms-chat__messagebox .joms-textarea {
    padding-right: 62px;
}
button.joms-js--send {
    position: relative;
    float: right;
    top: -44px;
    right: 10px;
    width: 43px;
    height: 34px;
    font-size: 12px;
    padding: 4px;
}

2 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Vladimir,

Glad to know you already solved the issue.

cheers!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW