Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Login Link

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 08-06-2006, 02:08 PM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default

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

i looked everywhere man.

the closest i found is secure loging form tpl.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #42  
Old 08-07-2006, 02:45 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

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.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #43  
Old 08-07-2006, 08:15 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default

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?
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #44  
Old 08-07-2006, 10:19 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default

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.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #45  
Old 08-07-2006, 10:30 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

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

Quote:
If ticked, the categories list always shows root categories
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #46  
Old 08-07-2006, 11:14 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default

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.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #47  
Old 08-07-2006, 12:07 PM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default

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.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #48  
Old 08-08-2006, 05:09 AM
 
stickygoblin stickygoblin is offline
 

Advanced Member
  
Join Date: Apr 2006
Location: Gloucester, UK
Posts: 34
 

Default

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
__________________
X-cart custom design and implementation specialists based in the UK

X-Cart Version :: 4.1.9
Running on :: Linux 9.3 with Plesk 8.2
Webserv :: Apache Tomcat 4.1.24-full.2jpp
mySQL :: 4.1.20
PHP :: 5

http://www.19dozen.com
http://www.a1automodels.com
http://www.norinse.co.uk
http://www.akw-medicare.com
http://www.akw-medicare.eu
http://www.ironmongery2u.com
http://www.carperformanceuk.co.uk
Reply With Quote
  #49  
Old 08-10-2006, 08:14 PM
 
yages yages is offline
 

eXpert
  
Join Date: Sep 2004
Location: Australia
Posts: 332
 

Default

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
__________________
yages
x-cart version 4.5.5
Reply With Quote
  #50  
Old 08-11-2006, 07:21 PM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default

yages, i guess u fixed it cuz ur page is working.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:20 PM.

   

 
X-Cart forums © 2001-2020