Jump to content

Module not totally loaded into hook in custom front controller (missing css files)


Recommended Posts

Hi,

I have developed a custom module and front controller. (I developed it under PS 1.6 and am updating it for PS 1.7). So far everything works OK except one module. The content of the module displays, but the associated css files are not loaded. 

A strange thing I noticed is that in the context object list of loaded hooks and modules, the hook is there, but th module is not listed.

Could this be a context problem (module context vs front controller context)? What else could be causing it?

Any pointers would be greatly appreciated. 

Thanks,

Edited by brainstormtrooper (see edit history)
Link to comment
Share on other sites

Hello,

The CSS file should be loaded in the hookDisplayHeader just be sure that this module is hooked and the CSS file is added correctly.

If you can see any change, I think you need clear all cache, even the browser cache, or turn on the force compile option.

 

Regards!

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...