X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Login Link (https://forum.x-cart.com/showthread.php?t=2355)

ecommerce 08-06-2006 02:08 PM

where i customer/secure_login.php
on 4 0 18?

i looked everywhere man.

the closest i found is secure loging form tpl.

B00MER 08-07-2006 02:45 AM

Version 4.0.x+ secure_login.php is directly under xcart/ and NOT customer/

As for categories and location not showing up you'll need to include the, include/categories.php file and define a "location" variable via $smarty->assign within your php. :wink:

ecommerce 08-07-2006 08:15 AM

Does secure_login.php need to have an SSL installed?

How do i make it so that secure_login.php doesnt need the https in front of it?

ecommerce 08-07-2006 10:19 AM

boomer, you know how xcart just lists all the ROOT categories on the left side by default, well i dont want that.

i want that area to only show the subcategories based on the Root cat.


example - I have 2 main/root cats

CAT1 CAT2

Only When visitor clicks on CAT1 then left menu will
list in the subcats of CAT1.

Only When visitor clicks on CAT2 then left menu will
list in the subcats of CAT2.

Ofcourse, it has to work in such a way that if i add cat 3, 4, 5 ,6 and so on,
it will automatically do this.

i found this http://forum.x-cart.com/viewtopic.php?t=25470&highlight=
but i dont know if thats what i need.

B00MER 08-07-2006 10:30 AM

Look around the General Settings area in X-Cart's Admin ;)

Quote:

If ticked, the categories list always shows root categories

ecommerce 08-07-2006 11:14 AM

lolol wow that was the easiest. i was killig myself.
lolololol wow i feel stupid, and balinor is probably, saying
"this guy doesnt read the manual"

4 things happenened when i unticked it.

1. i lost the little gifs before the sub cat name.
now is just a link. the rest of the css is ok.
im on 4 0 18 and could it be cuz theres 2 menu
menu.tpl
menu_customer.tpl
I'll looke for the answer.

2. if the subcat, doesnt have subsubcats, the box is empty and looks ugly.
is not a big deal, as of yet.

this is one in need advice on mate.
3. if customer not on any categeroy, it shows the root menu.
instead of the root menu, can i disable it so that it doesnt show it?

instead, i would like to show the hept.tpl menu or something else that i can make up.

ecommerce 08-07-2006 12:07 PM

boomer, you being the master of css,

i tried putting a current css on the menu but it didnt work.

my dreamweaver css attribute didnt recognize the command current

if visitor is on cat1
or a subcat, to high lit the background permantently for as long
as the visitor is on that category.

stickygoblin 08-08-2006 05:09 AM

any ideas how to do this in my version of xcart as I have tried the one that worked in 3.5.5 and it does nothing.

or is there a real simple way now that i'm totally missing?

cheers

sticky

yages 08-10-2006 08:14 PM

Copied Laureon's mod and the following error occurs

Warning: main(./auth.php): failed to open stream: No such file or directory in /home/xxxx/public_html/xxxxx/customer/myaccount.php on line 2

here is the php file

<?
require "./auth.php";
require $xcart_dir."/include/categories.php";
$smarty->assign("main", "myaccount");
$smarty->assign("location",$location);
$smarty->display("customer/home.tpl");
?>

Anyone know how to fix the error

ecommerce 08-11-2006 07:21 PM

yages, i guess u fixed it cuz ur page is working.


All times are GMT -8. The time now is 01:16 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.