| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
edit auth.tpl and news.tpl | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi i am trying to edit the auth.tpl and news.tpl so as on the front end they are displayed with only a box with text "customer login" and "news" then if the customer requires these services they click on the box to be taken to the relative page, am i looking at the correct templates to do this.
__________________
4.1.11 gold x-special offers CDSEO Pro |
|||||||
#2
|
|||||||||
|
|||||||||
![]() I don't really follow what it is you are trying to achieve. These are two seperate sections and have nothing to do with one another, and both are complex.
The "auth" section deals with customer registration, customer login, and customer logout. If all you do is create a link to the "login" portion then what happens to the "logout" portion and the "registration" portion? The "news" section deals with newsletter display, newsletter subscription, and anti-spambot image verification (if enabled). What specifically do you want to happen when the customer clicks on "customer login"? What specifically do you want to happen when the customer clicks on "news"?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#3
|
|||||||
|
|||||||
![]() OK what i am trying to do is tidy up and shorten the total length of the vertical column down the left hand side of my web site which at the moment contains various boxes including customer login and news, these two boxes take up quite a bit of room for example the Customer Login box has:
"Username" box, "Password" box,"Log in" link, "Register" link, "Recover password" link and "If java script disabled click here" link. What i would like to have is a box in the vertical column with the text "Customer Login" and only this so when the customer selects this box they are taken to the login page.
__________________
4.1.11 gold x-special offers CDSEO Pro |
|||||||
#4
|
|||||||||
|
|||||||||
![]() The easiest method would be to require secure login. That would remove the "Username" box, "Password" box, and "Log in" link, replacing them with a button that says "secure login".
You can enable this in admin under "general settings" - "security options" Check "Use HTTPS for users' login and registration:" and "Use secure login form on a separate page (HTTPS):" and uncheck "Do not redirect customers from HTTPS to HTTP:" You can move the "Register" link, and "Recover password" link, perhaps to the secure_login.tpl, or keep them where they are. I usually leave it. I usually remove the "If java script disabled click here" link entirely and put a "noscript" warning that JavaScript must be enabled with a link to a static page that tells the customer how to enable it in the different browsers (good customer service). I put this in welcome_tpl right after {$lng.txt_welcome} Code:
This makes it invisible if JavaScript is already enabled, and warns the customer they need to if it is not. A much better solution than allowing the customer to not use it, I think. OK, now that everything has been moved or taken care of, we have a "secure login" button and a "register" button. Once the user logs in however, the "login" button is going to want to change to "Username - You are logged in - "logout" button. You will have to check if this appears how and where you want it. You can edit it in authbox.tpl. This is just a guideline and you may want to do things differently. Some people just make a "login" button that takes them to h ttp://www.yourwebsite.com/error_message.php?login_incorrect but I think that looks very unprofessional, but it works.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#5
|
|||||||
|
|||||||
![]() [quote=JWait]The easiest method would be to require secure login. That would remove the "Username" box, "Password" box, and "Log in" link, replacing them with a button that says "secure login".
You can enable this in admin under "general settings" - "security options" Check "Use HTTPS for users' login and registration:" and "Use secure login form on a separate page (HTTPS):" and uncheck "Do not redirect customers from HTTPS to HTTP:" Applied the above but now the link Secure login and Register have a broken link. Recover password still works.
__________________
4.1.11 gold x-special offers CDSEO Pro |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Do you have HTTPS? Try entering https://yourwebsite.com/ and see what happens/
You are going to need it. No customer in their right mind will buy from a site that doesn't have SSL.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#7
|
|||||||
|
|||||||
![]() Did what you have said and all i get is internet explorer cannot display the web page.
Also i cannot log into my admin now, whaen i try i get the same answer as above, why? and how can i get access to my admin...
__________________
4.1.11 gold x-special offers CDSEO Pro |
|||||||
#8
|
|||||||||
|
|||||||||
![]() It sounds like you do not have SSL. Who is your hosting company? Most at least give you a shared secure server. Look in the email they provided you when you signed up and try to access your site that way. Do you have Cpanel? PHPmyAdmin?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#9
|
|||||||||
|
|||||||||
![]() If you can access your site with phpmydamin...
Look in the xcart_config table and find "use_https_login" and change the "value" to N. In the same table find "use_secure_login_page" and change the value to N. You should be back to what you had before you changed the HTTPS settings.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#10
|
|||||||
|
|||||||
![]() How do you access phpmyadmin
__________________
4.1.11 gold x-special offers CDSEO Pro |
|||||||
|
|||
X-Cart forums © 2001-2020
|