04-07-2010, 09:12 AM
(This post was last modified: 04-07-2010, 09:13 AM by Disciple of Nagash.)
I managed to find the template files it uses, though out of interest how does the .htaccess file work?
Currently I have blocked the login template from loading and provided a link back to the index or to the other file to be auto logged in. It's all working fine, but I have one final issue.
With changing the login template, I now cannot login as admin. I did think to create a copy index file renamed as admin, however what links to the login templates is actually in one of the classes that the index uses!
Basically it's this part of the index.class.php:
You are not allowed to see php code.
I did think that maybe I could copy the original index.tpl.html file and rename it as index2.tpl.html, but then I have no idea how to make that load only for the registered admin.
Any ideas?
Oh and I do plan on making a tutorial for this once I have figured it all out!
Currently I have blocked the login template from loading and provided a link back to the index or to the other file to be auto logged in. It's all working fine, but I have one final issue.
With changing the login template, I now cannot login as admin. I did think to create a copy index file renamed as admin, however what links to the login templates is actually in one of the classes that the index uses!
Basically it's this part of the index.class.php:
You are not allowed to see php code.
I did think that maybe I could copy the original index.tpl.html file and rename it as index2.tpl.html, but then I have no idea how to make that load only for the registered admin.
Any ideas?
Oh and I do plan on making a tutorial for this once I have figured it all out!