How to hack Joomla core login module?

Friday, June 24, 2011 // by Hacking Beast Editor // Labels: , , , , , , , , , // 0 comments

How to hack Joomla core login module?
  1. Edit file "joomla root/modules/mod_login/tmpl/default.php
  2. Find there lines
    <a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>">
        <?php echo JText::_('REGISTER'); ?>
    </a>
  3. Replace with
    <a href="<?php echo JRoute::_( 'index.php?option=com_juser&task=register' ); ?>">
        <?php echo JText::_('REGISTER'); ?>
    </a>
  4. Save file.
Note, sometimes Joomla 1.5 templates have custom mod_login template. If the example above does not do any change try to hack the same file in /templates/tpl_name/html/mod_login/


0 comments:

Post a Comment