By Fagault Eric on Thursday, 11 May 2017
Posted in General
Replies 5
Likes 0
Views 561
Votes 0
Hello,
When a member indicates its poison, in the thread a notification displays it, it is necessary to overflow this notification to display in a modal the map.
I wanted to display this map in the thread without needing to overflow the notification.
Can you tell me what file can display this?
Thank you very much.
Best regards.
Eric
You mean the "thread" is it you referring on the stream and you would like to display the map on the stream instead of dropdown section? You can refer on my attached screenshot below.
·
Thursday, 11 May 2017 15:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Good evening Arlex,
I have been busy in recent weeks, I have not had time to come back here.


What I want to do is display the map in the tread directly instead of displaying it only at hover.

Can you tell me what file is processing this?

Best regards.

Eric
·
Sunday, 28 May 2017 00:37
·
0 Likes
·
0 Votes
·
0 Comments
·
It okay Eric, you can take a look following file how it populate the location when hover.

JoomlaFolder/components/com_easysocial/themes/wireframe/stream/default/item.php

// LINE 187
<?php if ($stream->content || $stream->getMetaHtml()) { ?>
<div class="es-stream-content" data-contents>
<?php echo $stream->content; ?>
<?php echo $stream->getMetaHtml(); ?>
</div>
<?php } ?>

That location content is populate from this method -> $stream->getMetaHtml()

JoomlaFolder/administrator/components/com_easysocial/includes/stream\item.php

public function getMetaHtml()
{
if (!$this->with && !$this->location && !$this->mood) {
return;
}

$theme = ES::themes();
$theme->set('stream', $this);
$output = $theme->output('site/stream/meta/default');

return $output;
}


Regarding the theme file, it will go to this file :
JoomlaFolder/components/com_easysocial/themes/wireframe/stream/meta/default.php

Location data :
JoomlaFolder/components/com_easysocial/themes/wireframe/stream/meta/location.php

Hope this will help.
·
Monday, 29 May 2017 11:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
I return to this old conversation, which I had not had time to evolve.
First, thank you for this information.

My idea is to display the Google Map in the wire instead of hovering.

I see this:
data-Popbox = "module: // easysocial / locations / Popbox

How to display in the thread instead of the popbox?

Best regards..

Eric
·
Wednesday, 11 October 2017 21:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately currently we do not have a method to populate location on the stream.

But you can take a look this js file how to render on the pop up.

JoomlaFolder/media/com_easysocial/scripts/site/locations/popbox.js
·
Thursday, 12 October 2017 00:07
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post