By Giovanni Mio Medicina on Thursday, 27 July 2017
Posted in Technical Issues
Likes 0
Views 493
Votes 0
Hello,
Sorry if I wrote this request there but did not find a category for esmobile.
I plugged the quick2cart component into easysocial, it would be great to be able to customize the "filter" button in the "esmobile".
Now the "filter" button does not work on quick2cart menus
I have created new menus for quick2cart, how can I customize the button?
Thank you
Hi Giovanni,

By right the filter button only be appear in the dashboard,profile,user,friends,followers,photo,videos,events,pages,groups and albums view where it has sidebar and has filter that can be toggle : https://www.screencast.com/t/GYcjsZIebP
and that why the button was no functions in the quick2cart page at the first place and unfortunately it is not possible to add menu in the filter button in the page
However, can you provide us with your FTP access to check the visibility of the button in the quick2cart page?

You can add the information needed by edit your first post in the Details section or you can just include your site's access once at http://stackideas.com/dashboard/site rather than needing to keep adding them in your replies
·
Thursday, 27 July 2017 16:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
Thanks for the quick response. If it was possible to hide the key in quick2cart it would be nice.
The data for ftp you already have: https://stackideas.com/dashboard/site
·
Thursday, 27 July 2017 17:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Giovanni,

Firstly, seems like you still using older version of esmobile https://www.screencast.com/t/DpdcfO4lx where the latest version was 2.0.2
It could be best if you can perform update as there is a lot of bug fixes in the latest version
As for now, I've make temporary fix in your files below:
.../templates/esmobile/index.php
I've adding the checking in the line 352

<?php if (EsMobile::hasFilter()) { ?>

.../templates/esmobile/framework.php
in the function hasFilter (line 147)
from

public static function hasFilter()
{
$input = JFactory::getApplication()->input;
$view = $input->get('view', '', 'cmd');

$views = array('dashboard', 'profile', 'users', 'friends', 'followers', 'photos', 'videos', 'events', 'pages', 'groups', 'albums');

if (in_array($view, $views)) {
return true;
}

return false;
}

to

public static function hasFilter()
{
$input = JFactory::getApplication()->input;
$view = $input->get('view', '', 'cmd');
$input = ES::request();

// Only check on EasySocial pages only
$option = $input->get('option', '');

if ($option != 'com_easysocial') {
return false;
}

$views = array('dashboard', 'profile', 'users', 'friends', 'followers', 'photos', 'videos', 'events', 'pages', 'groups', 'albums');

if (in_array($view, $views)) {
return true;
}

return false;
}


Can you have a look Giovanni?
·
Thursday, 27 July 2017 18:17
·
0 Likes
·
0 Votes
·
0 Comments
·
thank a lot..
·
Thursday, 27 July 2017 18:20
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Giovanni Glad to hear your issue has resolved.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.

Have a nice day ahead
·
Thursday, 27 July 2017 18:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post