digilee Posted November 8, 2007 Share Posted November 8, 2007 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 Quote SolarFrenzy Solar powered gadgets at down to earth prices. CheekyNaughty Promoting British Design Link to comment Share on other sites More sharing options...
shounakgupte Posted December 4, 2007 Share Posted December 4, 2007 Hi. I have tried to implement this addon. But instead of the small screen shown in the reference site, it opens a normal new page. Can anyone tell me whats wrong? Thanks. Quote Link to comment Share on other sites More sharing options...
digilee Posted December 4, 2007 Author Share Posted December 4, 2007 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> Quote SolarFrenzy Solar powered gadgets at down to earth prices. CheekyNaughty Promoting British Design Link to comment Share on other sites More sharing options...
shounakgupte Posted December 4, 2007 Share Posted December 4, 2007 The url is showing correctly "solarsignin.php?height=160&width=300" For the src of javafiles should I include it from "/oscommerce/catalog/sm/smoothbox.js" or just /sm/smoothbox.js is ok??? Quote Link to comment Share on other sites More sharing options...
digilee Posted December 4, 2007 Author Share Posted December 4, 2007 what's the url? Can't tell what the path should be without seeing your code. Quote SolarFrenzy Solar powered gadgets at down to earth prices. CheekyNaughty Promoting British Design Link to comment Share on other sites More sharing options...
shounakgupte Posted December 4, 2007 Share Posted December 4, 2007 i havent hosted the site yet.... its still running on localhost Quote Link to comment Share on other sites More sharing options...
shounakgupte Posted December 4, 2007 Share Posted December 4, 2007 and all the javafiles are under "C:\xampp\htdocs\oscommerce\catalog\sm" Quote Link to comment Share on other sites More sharing options...
shounakgupte Posted December 5, 2007 Share Posted December 5, 2007 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. Quote Link to comment Share on other sites More sharing options...
shounakgupte Posted December 7, 2007 Share Posted December 7, 2007 anyone???? Quote Link to comment Share on other sites More sharing options...
voided Posted January 27, 2008 Share Posted January 27, 2008 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 :) Quote Designrfix.com | Graphic Design Inspiration & Web Design Resources - @designrfix Link to comment Share on other sites More sharing options...
voided Posted January 27, 2008 Share Posted January 27, 2008 oh and btw this works good in firefox but not too much in IE... any ideas to fix it up for IE? Quote Designrfix.com | Graphic Design Inspiration & Web Design Resources - @designrfix Link to comment Share on other sites More sharing options...
carolinagirl Posted January 29, 2008 Share Posted January 29, 2008 I am having problems with IE6 and FireFox. I cannot get it to work. The loading gif just keeps loading. Quote "There is no disgrace in not knowing, the only disgrace is not to be willing to learn." ...Benjamin Franklin Link to comment Share on other sites More sharing options...
webgo2 Posted February 9, 2008 Share Posted February 9, 2008 whats the bet way to get this to work for admin sign in Quote Link to comment Share on other sites More sharing options...
sunrise99 Posted September 5, 2008 Share Posted September 5, 2008 I am having problems with IE6 and FireFox. I cannot get it to work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.