Place simple social networking share buttons on my website
I already have a registration system with login, but would like to expand it so that after the user enters all their info into the registration form, including email, an auto-email is sent to user to validate their registration.
Please see below for a detailed explanation of how to accomplish this.
Needed an accordion that scrolled right to left and had vertical text, that would advance on it's own and pause when you moused over it.
Spry has the ability to slide an accordion right to left built into it as an option. Found a solution for the vertical text solution that appears to work across all browser. Used the Spry forum to tackle the auto-start and mouse over pause.
Prior to ColdFusion 9, it was not always easy to <cfdump /> a variable when using <cfscript />.
Create a function or a utility component which you can then call from cfscript. Using the function, you can pass in "true" to stop the code execution anywhere you place the function call. This is useful for debugging chunks of code with a lot of conditional logic.
I am finishing up the administrative area of my website, which requires admin users to login. I have now added security levels - 1 for administrator and 2 for admin user. At login a session variable is set. There is a system button that allows an administrator to add/update/delete users. I want to restrict admin users access to this button and all system pages. I have an idea how to do it, but wanted to see if there is a simple "best practices" approach to the problem. Thank you.
There are some ways to approach this problem. 1. Define your login page by Restrict access based on: Username, password, and access level 2. In the admin page, use if condition to hide the button. This mean the user who has the level as a Administrator can see the button and the User Admin only can see the list of the users
This site is produced in partnership with O'Reilly.