Announcement

  •  » Themes
  •  » Smartpocket icons missing on picture page when AdminTools activated

#1 2021-01-29 18:37:33

BMS
Member
2015-12-24
17

Smartpocket icons missing on picture page when AdminTools activated

Hello,

My current mobile theme is Smartpocket  Revision 11.1.0.1 and desktop theme Elegant  Revision 11.1.0
When logged in as SmartPocket admin and AdminTools is activated, SmartPocket displays no icons in the navigation buttons on the picture page.

https://www.makkink.eu/exploringlinux/piwigo/img/smartpocket.png

When Admintools is de-activated all is fine.

https://www.makkink.eu/exploringlinux/piwigo/img/smartpocket1.png

For the display of these icons smartPocket uses in its JS-build CSS the selector .ui-icon as defined in ../themes/smartpocket/jquery.mobile.css
However when simultaneaously activating the AdminTools the latter amongst others includes ../themes/default/js/ui/theme/jquery.ui.theme.css in which also an .ui-icon is defined.
As a result we end up with the default .ui-icon background-image: url(/piwigo/themes/default/js/ui/theme/images/ui-icons_222222_256x240.png
This background image is entirely different from the image SmartPocket expects and effectively no icon will be shown.

As SmartPockets has an icon backgroundimage of its own a possible solution could be to rename the SmartPocket class selectors from .ui-icon to e.g. .sp-icon

Or arrange that in case the SmartPocket theme is loaded that the AdminTools plugin is de-activated.
Admintools should remain activated when in the desktop theme like Elegant.

Environment
    Piwigo 11.1.0
    OS: Linux
    PHP: 7.3.11
    MySQL: 5.5.5-10.3.13-MariaDB
    Afbeeldingen-bibliotheek: ImageMagick 6.9.10-68

Last edited by BMS (2021-01-30 13:20:58)

Offline

 
  •  » Themes
  •  » Smartpocket icons missing on picture page when AdminTools activated

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact