Jump to content

Make new module for ps 1.6


Recommended Posts

I make module for 1.6 PS. How add in root folder 'css', 'js', 'img' folders and link from *.tpl or *.php file to this directory. And how CSS-files understand how take images from img-directory.

        $this->context->controller->addCSS($this->_path.'css/layout.css');
        $this->context->controller->addJS($this->_path.'js/eye.js');

I add this lines in:

public function hookHeader($params)
    {

Am I right?

But it is don't work?

I don't know how CSS files take image files?

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

×
×
  • Create New...