SMF Gallery icon not showing in Smf 2.1 Steyle-V4 Dark theme

Started by Edwar Colt, February 22, 2023, 04:29:06 PM

Previous topic - Next topic

Edwar Colt


Hi..

I did the installation at https://atrack.live and the > SMF Gallery icon > https://custom.simplemachines.org/index.php?mod=473 does not appear in the theme > Smf 2.1 Steyle-V4 Dark > https://custom.simplemachines.org/index.php?theme=3011

I couldn't find the correct dropmenu to make the correction. the image is loaded by codes > fa fa-mlist fa-lg <

tks

vbgamer45

Is is a theme/mod issue.

By default we use an icon gallery.png file. But looks like theme is using font awesome icons.
It is little trickier in SMF 2.1 as it requires modifying the menu hook call to adjust. Sources/GalleryHooks.php
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Edwar Colt

So we found a small incompatibility in version 2.1 still unresolved?
my knowledge is still not enough to replace the call in GalleryHooks.php , but I'll do some tests. If I find the solution, I'll come back here in this thread.

Thanks

Arantor

It's not an incompatibility between the gallery and 2.1, it's something between the gallery and your theme that doesn't follow how SMF 2.1 does things.
Holder of controversial views, all of which my own.


Edwar Colt

I mean version 2.1 being the link between the gallery and the theme. Both were developed to meet the latest version of the forum.

Arantor

Yes but the theme does things in a way that SMF itself doesn't. SNF itself doesn't use Font Awesome for anything - while this theme does.

Any other mod you install that adds a menu item will have the same problem.
Holder of controversial views, all of which my own.


Edwar Colt

Exactly. I installed a contact page mod and it had the same problem. the icon did not appear in the menu of this theme

Arantor

It might be worth asking the theme author how you should set the icons - it's not really the responsibility of each mod to make sure they set an icon for one specific theme that doesn't work the same way as SMF does out of the box.
Holder of controversial views, all of which my own.


Edwar Colt

Yes, it would be impossible to fit all existing mods to one theme. I think that the use of these icons over time in other themes will make an adaptation to the problem arise.

In this theme in particular, it seems that the programmer stopped doing this work according to this post I found on the author's forum linked to the theme. webtiryaki.com/threads/peacock-theme-smf-2-1-rc4.943/post-3589

Edwar Colt

The solution I found that ended up solving the problem with this theme better was to remove the other icons from the menu. The result was very good. and in the case of installing new mods the problem does not interfere again in the menu.

Edwar Colt

In order not to leave unresolved

The definitive solution for the icons not existing in the menu of this theme is in the answer from @webtiryaki in
https://www.simplemachines.org/community/index.php?msg=4147808 

Advertisement: