The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

[SOLUTION] Insert Time Stamp Into Chat Messages

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

In ...\com_community\templates\your_active_template\layouts\chat\default.php find line 176 that looks like:

{{= }} title="{{= data.time }}" data-id="{{= }}">{{= data.message }}</span>
and after it add new line:
<span class="joms-js-chat-content-timestamp">{{= data.time }}</span>
Add to template css (joomla template or jomsocial template):
span.joms-js-chat-content-timestamp {
	float: right;
	font-size: 0.80em;
} span.joms-js-chat-content-timestamp {
	color: #fff;
.joms-chat__message-item span.joms-js-chat-content-timestamp {
	color: #000;
If there is no ...\com_community\templates\your_active_template\layouts\chat\default.php in Your active JomSocial template, copy/paste one from jomsocial template to Your active template with same folder tree (layouts\chat\default.php) and then edit php file.

The following user(s) said Thank You: John
2 years 5 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0


Thank you for your input,this issue already on our task list..

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