Display registration form on login page

17.04.2013 14:24
#1
lamerumixa
Joomshopping forum user no avatar
Name: lamerumixa
04.11.2011
Posts: 8
Quote
Display registration form on login page

Display registration form on login page (Отображать регистрацию на странице логина)

plg_jshopping_captcha_1.0.0.zip
addon_acymailing_newsletter_1.0.4.zip
function onBeforeDisplayRegisterView(&$view) {.....$view->_tmpl_register_html_5 .=......}
on page /user/register works
on page /user/login dont works

components\com_jshopping\controllers\user.php

function register(){...
line $dispatcher->trigger('onBeforeDisplayRegisterView', array(&$view));
Copy and paste the following

function login(){...
$dispatcher->trigger('onBeforeDisplayLoginView', array(&$view));

 
Copyrights MAXXmarketing GmbH. All Rights Reserved