D
D
doctorcat2016-04-08 20:53:29
PHP
doctorcat, 2016-04-08 20:53:29

Opencart 2.2 how to connect ulogin?

Opencart 2.2 ulogin 2.0.2
I do everything as it is written on the official website. As a result joxi.ru/8AnX06Pc8oVemO
To begin with, I corrected the structure of the module in terms of the language part so that it lies in the correct directories.
But when you try to manually upload files where they do not exist, various errors begin to fly out.
It seems to me that the whole problem is in connecting the module in the header.php file.
The official ulogin documentation says to connect like this:
$data['ulogin_form_marker'] = $this->load->controller('module/ulogin');
but it seems to me that in version 2.2 you need to do it somehow differently.
PS: This is my first time working with a module for opencart and opencart itself at the level of connecting modules, so I will be grateful for a comprehensive answer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
doctorcat, 2016-04-09
@doctorcat

the issue is resolved by creating additional /default/template directories. In any case, everything worked for me.

W
web-mechanic, 2016-04-09
@amfetamine

the error is typical in the absence of a template file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question