?
avatar C-Lodder
C-Lodder
20 Aug 2017

On com_menus and com_modules, the dropdown to switch client is in different positions:

  • com_menus: next to search input
  • com_modules: floated to the left

The markup seems to be a little different

avatar C-Lodder C-Lodder - open - 20 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - change - 20 Aug 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Aug 2017
avatar C-Lodder
C-Lodder - comment - 20 Aug 2017

com_menus has a layout override for the search tools, which can probably be removed.

avatar wilsonge
wilsonge - comment - 20 Aug 2017

Fixed with b2de61d

avatar wilsonge wilsonge - change - 20 Aug 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-08-20 10:39:58
Closed_By wilsonge
avatar wilsonge wilsonge - close - 20 Aug 2017
avatar infograf768
infograf768 - comment - 20 Aug 2017

b2de61d
solves the styling issue properly. :)

In fact I had found out where the issue came from.
I could solve it easily when we have only one selectorFieldName as used in modules and templates.
I.e. I could solve it for Menus Manager by simplifying the override and using
<?php echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this, 'options' => array('filterButton' => false,'showSelector' => true, 'selectorFieldName' => 'client_id'))); ?>
in the default view.
Screenshot taken before @wilsonge commit
screen shot 2017-08-20 at 12 35 16

But for menu items we have 2 filters: menutype and client_id and I don't see how we can have multiple selectorFieldName in searchtools selector.

If someone has an idea for the future, that would be nice.

Add a Comment

Login with GitHub to post a comment