Hi,
by the confirm-message after Users Activate (with the Joomla User-Regsitration) I want to create a new Moduleposition to show a Modul only by this message.
In components/com_user/controller.php after line 340 is this code:
Is it posible to set hier a Modulposition:
[code]<?
global $mainframe;
$document = &JFactory::getDocument();
$renderer = $document->loadRenderer( 'modules' );
$options = array( 'style' => 'xhtml' );
echo $renderer->render( 'user9', $options, null);
?> [/code]
On the position '[i]user9[/i]' I want to show my Module.
Two questions:
- Is is posible to set a Modulposition by this way?
- Can someone give me a tip, which the right php is?
Thanks a lot!
Mac
by the confirm-message after Users Activate (with the Joomla User-Regsitration) I want to create a new Moduleposition to show a Modul only by this message.
In components/com_user/controller.php after line 340 is this code:
// Lets activate this user
j// Lets activate this user
jimport('joomla.user.helper');
if (JUserHelper::activateUser($activation))
{
// Page Title
$document->setTitle( JText::_( 'REG_ACTIVATE_COMPLETE_TITLE' ) );
// Breadcrumb
$pathway->addItem( JText::_( 'REG_ACTIVATE_COMPLETE_TITLE' ));
$message->title = JText::_( 'REG_ACTIVATE_COMPLETE_TITLE' );
$message->text = JText::_( 'REG_ACTIVATE_COMPLETE' );
}import('joomla.user.helper');
if (JUserHelper::activateUser($activation))
{
// Page Title
$document->setTitle( JText::_( 'REG_ACTIVATE_COMPLETE_TITLE' ) );
// Breadcrumb
$pathway->addItem( JText::_( 'REG_ACTIVATE_COMPLETE_TITLE' ));
$message->title = JText::_( 'REG_ACTIVATE_COMPLETE_TITLE' );
$message->text = JText::_( 'REG_ACTIVATE_COMPLETE' );
}
REG_ACTIVATE_COMPLETE_TITLE lt. Sprachdatei wird hier ausgegeben: Aktivierung abgeschlossen!
REG_ACTIVATE_COMPLETE lt. Sprachdatei: Ihr Benutzerkonto wurde erfolgreich aktiviert! Sie können sich jetzt mit dem von Ihnen bei der Registrierung gewählten Benutzernamen und Passwort anmelden.
Is it posible to set hier a Modulposition:
[code]<?
global $mainframe;
$document = &JFactory::getDocument();
$renderer = $document->loadRenderer( 'modules' );
$options = array( 'style' => 'xhtml' );
echo $renderer->render( 'user9', $options, null);
?> [/code]
On the position '[i]user9[/i]' I want to show my Module.
Two questions:
- Is is posible to set a Modulposition by this way?
- Can someone give me a tip, which the right php is?
Thanks a lot!
Mac