| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
password protect static page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() i need to password protect one of our static pages. i thought i could just do it by .htaccess which works for protecting the actual html file. http://****/skin1/pages/US/stores.html)
however, when i try http://****/pages.php?pageid=5 pays no attention to the fact that the html page is protected. is there a way to keep x-cart from displaying the static page unless the right username/password is entered? any help would be most appreciated. thanks.
__________________
X-Cart version 4.0.13 (unix) |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Enable smarty tags on your static pages. Then follow this.
Code:
If the user is not logged in it will display the 'You must login..' if they are logged in it will show the HTML. |
|||||||||
#3
|
|||||||
|
|||||||
![]() thanks for the tip. however, i want to use a completely separate password that is not linked to x-cart accounts. maybe this is impossible?
__________________
X-Cart version 4.0.13 (unix) |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|