Using OWL with Joomla/CB

17 years 9 months ago #17339 by acf01
Using OWL with Joomla/CB was created by acf01
Hello,
I wasn't sure the best area to post this question.

I found where someone came up with a way to be able to log users in to the OWL document repository through Joomla automatically. I had to place a few lines in to the joomla index.php file. I have posted a section of code from the file so you can see where exactly it fit in. What I added is the "Modification to login to OWL" portion.

[code:1]$return = strval( mosGetParam( $_REQUEST, 'return', NULL ) );
$message = intval( mosGetParam( $_POST, 'message', 0 ) );
if ($option == 'login') {
$mainframe->login();
//
// Modification to login to OWL
//
chdir('../owl/');
include('owlauth.php');
chdir('../joomla/');
//
// End modification to login to OWL
//
// JS Popup message
if ( $message ) {
?>
<script language="javascript" type="text/javascript">
<!--//
alert( "<?php echo _LOGIN_SUCCESS; ?>" );
//-->
</script>
<?php
}[/code:1]

This logs you in to OWL when you log in to joomla, so you can access the owl database easily within joomla using a wrapper. This works fine when using the standard joomla login form, but with the CB login form, I haven't been able to get it to work. I tried pasting those lines in comprofiler.php but I haven't gotten it to work so far.

If anyone would know where I should be putting that in order to work with the CB login, I would appreciate it!

Post edited by: acf01, at: 2006/07/19 09:35

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.736 seconds

Facebook Twitter LinkedIn