Support Forum

SPTHEMEICONS stops working after upgrade to SP 5 7871

VI VikingBrent
VikingBrent
Member

I’ve got a function running in my custom theme that displays a png from my theme’s images folder and pulls some custom profile field stuff from the database for the tooltip and link.

I had successfully been using “.SPTHEMEICONS.” in my function to create the url to my theme’s images folder but after upgrading Simple Press 5 to 7871 and the Custom Profile Fields Plugin to 1.0.6, this has stopped working and the image url now resolves as ‘SPTHEMEICONSimagename.png’

I don’t see anything in the changelog in reference to this so I just wanted to ask around to see if this is a known-issue or if there is an alternate method of calling up my custom theme’s images folder.

Thanks a bunch.

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Apologies that broke for you. Once of the dangers of beta/RC I suppose.

We had to split that constant to SPTHEMEICONSURL and SPTHEMEICONSDIR so just change that and it will all start working again.

These are our ‘last chance’ days to make any such mods before final release.

VI VikingBrent
VikingBrent
Member

Terrific, thanks for the clarification and quick response. All is well once more.