10
Quote:
I"m trying to use an html template I have instead of the index.php at the root ( I made the html template a php file and named it index.php)
1.This can't work, because you have nowhere an including of the needed files. If you use this instead of the index.php you need to tell the script from there it can get the needed variables.
2.if you want to use this as php you can't use smarty tags. There are two ways to do this right:
- create an index.php and a template for it, so you have php and smarty separeted...
- make everything in php without smarty-tags
3. Why don't you turn all blocks and modules off for anonymous users and set the login block visible for anonymous. It's the same effect, if you want you can set the login-block as centerblock...