Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
GriefCode Posted November 21, 2016 Posted November 21, 2016 Hello, after I have finished the first part of my application. I deployed it on my production server, probably that one has not the default design. The custom design does not adapt at the moment. It was loaded over a hook:https://github.com/gamershost/Forum-Application/blob/master/hooks/hookCss.php Is there any reason why that does not work on other Themes? Regards
newbie LAC Posted November 21, 2016 Posted November 21, 2016 Hello, \IPS\Output::i()->cssFiles = array_merge( \IPS\Output::i()->cssFiles, \IPS\Theme::i()->css( 'accountSettings.css', 'dvstats', 'front' ) ); Change accountSettings to accountsettings (all letters are lowercase) And remane applications/dvstats/dev/css/front/accountSettings.css
GriefCode Posted November 21, 2016 Author Posted November 21, 2016 2 minutes ago, newbie LAC said: Hello, \IPS\Output::i()->cssFiles = array_merge( \IPS\Output::i()->cssFiles, \IPS\Theme::i()->css( 'accountSettings.css', 'dvstats', 'front' ) ); Change accountSettings to accountsettings (all letters are lowercase) And remane applications/dvstats/dev/css/front/accountSettings.css Thanks for the reply, I will try that out. But what is the reason behind that, why does it need to be lower letters?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.