Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 21, 20168 yr 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
November 21, 20168 yr 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
November 21, 20168 yr Author 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?
Archived
This topic is now archived and is closed to further replies.