How show joomla module in error page.

In error.php page, you need to import the module helper. This can be done by adding this code

jimport( ‘joomla.application.module.helper’ );

Normally we defined module in index.php file jdoc:include type=”modules” name=”menu”
But in error.php it will not work. In error.php you need to call module:

$module = JModuleHelper::getModule( ‘menu’ , ‘Main Menu’ );
$attribs[‘style’] = ‘xhtml’;
echo JModuleHelper::renderModule( $module, $attribs);

where menu = type of the module and
Main Menu = name of the module not ttile.


Change wordpress admin url.

U can change the wp-admin to whatever U want by using the plugin
After installation and activate the plugin, U will see a Lockdown WP menu is added to the admin side bar.Click Lockdown WP. Then U will get an option Hide WP Admin. There is a check box below it.Check the Box.

There is another option WordPress Login URL. Beside this U will see input box.Insert your desired admin folder name in that input box.

At last press the save option button then logout from the admin panel.