Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Flat template: Dropdown element in header of Event not working on stream

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

When Event or Group activity is posted on stream there is dropdown options for that activity to Hide or Delete that post. On jomsocial theme that works but switching to Flat it becomes inactive since it is rendered outside joms-stream__header class and since this is javascript triggered it does not show dropdown menu despite the fact that visual element is present.
I have not managed to find why joms-list__options is outside header on event activity. One way to "fix" this is to add:

<?php
		$my = CFactory::getUser();
		$this->load('activities.stream.options');
    ?>
to ...\components\com_community\templates\Flat\layouts\activities\events\create.php
line 49.
That makes another joms-list__options above first one and then all works as intended. This is just temporary fix since there are 2 identical elements. I would like to remove first one that is not functional but cannot find where it is inserted in Flat theme?

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

Hi,

Thank you for reporting, we will check this.

cheers!

6 years 6 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
We checked the Flat theme and it does not contain any override as you shared the file.
Please check if you added the custom work and created override files in that flat theme.
You can also download the Flat theme and compare it with your Flat theme folder.




Regards

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

I overwritten all Flat theme files with original and same thing happens. Event and Group post on wall does not have functional drop down arrow on post header that is responsible for options like Report, Hide and Delete post.
Look at demo:
js-flat.demo.joomlart.com/index.php/profile
scroll down to post that is:

Juana Hoffman added a new event
2 months ago
Top Designers Discuss State of Industry at Interior...
Donec molestie nunc lacus, ut accumsan sem imperdiet eu. Maecenas semper erat vitae elit rutrum, ut imperdiet elit consectetur. Pellentesque...
 Thursday, 10 August 2017 12:00 AM
 Motorola Mobility
Dropdown arrow in post header does not have function and it should.
<div class="joms-list__options"> is above <div class="joms-stream__header"> and it should be inside <div class="joms-stream__header"></div>
If I move <div class="joms-list__options"> into <div class="joms-stream__header"> via Web Inpect we have Hide and Delete options available.

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

Hi,

The flat template already updated, you can download it and re-install with the latest one.

thank you!

6 years 6 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

UPDATE: We are working on it and this issue will be fixed in the next update of the Theme very soon.


Hi
Thanks for sharing more details, I am checking it with the development team on this issue, and will share an update soon.
Please stay with us.

Regards

6 years 6 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
The package is updated. You can download and install the flat theme again.
The issue is fixed.

Regards

The following user(s) said Thank You: Vladimir
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