php - working with joomla 2.5 users component -


i developing component in joomla 2.5 has total 2 pages, after first page user redirected login page if not logged in. data got first page needs saved temporarily , saves database after successful login.

so in order did code changes inside site_root/components/com_users/views/login/tmpl

and modified default.php recive our ajax call , send temp data after succeful login..

now need upgrade joomla 3.0 ,

what right way deal these kind of problems? there other way can work joomla login component fulfill abvove requirements(by not messing core joomla code)?? plese valuable suggestions....

you should not modify joomla core files.

to make kind of change should using plugins , events onafterlogin etc.

there pretty documentation here: http://docs.joomla.org/plugin

and can recommend book plugin development if understand power of plugins.

https://www.yireo.com/books/programming-joomla-plugins-book


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -