Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Solar Signin


digilee

Recommended Posts

I couldn't find a contribution that already did this so i built it myself:

 

With a few small code changes and uploading of 4 files, you can fade in a signin box.

See it in action at http://solarfrenzy.com

 

Grab the contribution here:

http://addons.oscommerce.com/info/5529

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Link to comment
Share on other sites

  • 4 weeks later...

Double check that you have assigned the height/ width and the class:

?height=160&width=300" class="smoothbox"

 

Also check that you have the correct js files and that they are referenced correctly.

<script type="text/javascript" src="/smoothbox.js"></script>

<script type="text/javascript" src="/mootools.v1.11.js"></script>

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Link to comment
Share on other sites

These are the changes i made:

1. Uploaded the following files to C:\xampp\htdocs\oscommerce\catalog\sm

smoothbox.css

smoothbox.js

mootools.js

 

2. Uploaded the following file to C:\xampp\htdocs\oscommerce\catalog and made the changes

solarsignin.php

 

<link rel="stylesheet" href="sm/smoothbox.css" type="text/css" media="screen" />
 <script type="text/javascript" src="sm/smoothbox.js"></script>
 <script type="text/javascript" src="sm/mootools.js"></script>

 

3. Made the following changes in \includes\languages\english.php

 

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="solarsignin.php?height=160&width=300" class="smoothbox">Sign In</a>?;

 

Now can you tell me whats wrong??

 

Thanks.

Link to comment
Share on other sites

  • 1 month later...

i had the same problem, i fixed it by doing 2 things... i'm not sure which one did it but here it is anyways:

 

1)instead of using smoothbox.css i copied the content of smoothbox.css into my stylesheet.css

 

2) when i downloaded mootools.v1.11.js i named it mootools.js so this time i renamed it back to mootools.v1.11.js (i'm pretty sure this was the problem)

 

and... it works now :)

Designrfix.com | Graphic Design Inspiration & Web Design Resources - @designrfix
Link to comment
Share on other sites

  • 2 weeks later...
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...