Welcome Guest, Not a member yet? Register   Sign In
adding virtual keyboard to login form
#4

[eluser]kresimir[/eluser]
I installed "Simple Login with CodeIgniter" from:
http://www.codefactorycr.com/login-with-...r-php.html.
I installed files under ci/application folder maps:views,models and controllers.

Also i installed keyboard.js keyboard.css and keyboard.png file.
For them i opened under ci/css ci/js and ci/images maps.
In the keyboard.js i change the path for the picture keyboard.png from:"keyboard.png" to "images/keyboard.png"
On opening the local site http://localhost/ci i get login form and picture of the keyboard. All work fine till i press Login button.
Than CI change my base url from:
http://localhost/ci to http://localhost/ci/index.php/verifylogin and i lost keyboard.png picture.
In config.php i have:
Code:
$config['base_url'] = '';
$config['index_page'] = 'index.php';
In controllers/verifylogin.php , function index() cause that i get index.php/verifylogin extension to base url ( $this->load->view('login/login'); )and the link to keyboard.png keyboard.js and keyboard.css is lost.
I lost the virtual keyboard.
How can I get the same screen like on openning the initial site:
"localhost/ci" instad of the "localhost/ci/index.php/verifylogin" ?


Messages In This Thread
adding virtual keyboard to login form - by El Forum - 09-18-2012, 03:39 PM
adding virtual keyboard to login form - by El Forum - 09-18-2012, 08:23 PM
adding virtual keyboard to login form - by El Forum - 09-19-2012, 02:16 AM
adding virtual keyboard to login form - by El Forum - 09-20-2012, 09:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB