| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Top_menu.tpl what is wrong with my code? Why can't I get a logout link tab? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Calling all the X-Cart experts!!! I have been trying to modify top_menu.tpl so that the speed bar displays and next to it a changing login/out link appears
Can someone please tell me what is wrong with the below code. I've been trying to get a link on my logout tab for hours and I think I may cry if I don't solve it. The logout title displays fine but the link does not work? You would make a very frustrated person very happy if you can help me! Quote:
__________________
xcartgold 4.5.4 xcartgold 4.5.5 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Umm.. are you trying to make "logout" one of your "tabs" because that is what it looks like?
By default "login" will display "logout" once a user is logged in. Try changing.. Code:
Code:
You will probably need to modify auth.tpl and authbox.tpl to suit your purposes, maybe even making a duplicate, calling them mod-auth.tpl and mod-authbox.tpl or whatever format you use for modified templates. The reason you are not getting the desired response is that you are not getting the input to the proper form. You are calling include/login.php without including Code:
Code:
Anyway, look at auth.tplo and authbox.tpl and you should find what you need.
__________________
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|