dramony Posted January 5, 2011 Share Posted January 5, 2011 Hi,I tried adding a floating floating "Go to Top" link on all of the pages but the site goes blank.I'm just wondering how to this, anyone?Thank you in advance. Link to comment Share on other sites More sharing options...
rocky Posted January 5, 2011 Share Posted January 5, 2011 Edit config/config.inc.php and temporarily change 'display_errors' from 'off' to 'on'. You should then get an error message to help you identify the problem.The most common reason this happens is that there are {} used in the Javascript code, which confuses Smarty. The solution is to add {literal} before the Javascript code and {/literal} after it so that Smarty ignores the Javascript {}.There's also a "Scroll to top" module here you may be interested in. Link to comment Share on other sites More sharing options...
dramony Posted January 5, 2011 Author Share Posted January 5, 2011 wow Thanks Rocky.. been searching for it here but didn't end up there.. Thanks a lot man! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now