Home arrow Forum OsCommerce and Bridge
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2008, 02:51:31 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Addon Discussion
| |-+  Joomla Components
| | |-+  OsCommerce and Bridge
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: OsCommerce and Bridge  (Read 741 times)
R Sharp
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
OsCommerce and Bridge
« on: February 07, 2008, 08:37:33 PM »

I was trying to install the OsCommerce bridge, and got stuck on the included pdf instructions "step 6".

Does anyone know of a way to get OsCommerce to work within Joomla OR how to do "step 6"?

Step 6:

Using the Joomla adminstration tool create a Wrapper menu item to open up jos_create_account.php of your
osCommerce installation. Set it up the way you desire, once your happy with it, Save it. This relative URL will be used to
hack the login scripts for either the mod_login.php or the com_login.php (depending on your needs) to replace the
standard Joomla registration page. Check out the examples in the complete jos_osc_bridge.zip package.
mod_login.php example - original script:
if ( $registration_enabled ) {
?>
<tr>
<td>
<?php echo _NO_ACCOUNT; ?>
<a href="<?php echo sefRelToAbs( 'index.php?option=com_registration&task=register' ); ?>">
<?php echo _CREATE_ACCOUNT; ?></a>
</td>
</tr>
<?php
}
modified script:
if ( $registration_enabled ) {
?>
<tr>
<td>
<?php echo _NO_ACCOUNT; ?>
<a href="<?php echo sefRelToAbs( 'index.php?option=com_wrapper&Itemid=46' ); ?>">
<?php echo _CREATE_ACCOUNT; ?></a>
</td>
</tr>
<?php
}
NOTE: this is only an exmaple, you will have to create your own wrapper menu item first - so don't type this in exactly
becasue the itemID WILL be different.
Hack File Placements
These hacked files get placed in the defined Jooma! directories:
wrapper.php gets placed in the components/com_wrapper
wrapper.html.php gets placed in the components/com_wrapper
login.html.php get's placed in the components/com_login directory
mod_login.php gets place in the modules directory.
NOTE: Make sure to edit login.html.php and mod_login.php to reflect your correct wrapper information.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login