| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Redesign of site with CSS - new folder? | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Redesign of site with CSS - new folder?
Okay, auth.tpl has this line at the bottom:
{ include file="menu.tpl" dingbats="dingbats_authentification.gif" menu_title=$lng.lbl_authentication menu_content=$smarty.capture.menu } and menu.tpl has this part: <tr><td>{$menu_content}<br /></td></tr> but I can't work out where to find $smarty.capture.menu, which I presume contains the URL that the login arrow goes to. Should I be looking in a .php file for this? It's been over a year since I last edited the site in this depth, I'm afraid. EDIT: At the top of auth.tpl, I found this: <form action="{$form_url}/include/login.php" method="post" name="authform"> so that must be where I need to look! EDIT: I think it might be this part of /include/login.php: switch ($redirect) { case "admin": $redirect_to = DIR_ADMIN; $current_type = 'A'; break; But I'm not sure where the DIR_ADMIN variable is.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#12
|
|||||||||
|
|||||||||
Re: Redesign of site with CSS - new folder?
Open config.php in www.mysite.com/tomcat and change the paths for your site. And you want to have a separate DB for this test site
Also make sure your .htaccess doesnt have something to redirect to www.mysite.com
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#13
|
|||||||
|
|||||||
Re: Redesign of site with CSS - new folder?
Thanks Steve, I'll try that, much appreciated.
EDIT: I have a strange problem now. I'm in www.mysite.com/tomcat/admin, and I've made a change to home.tpl so that it displays a red bar across the top of the page, so that I can easily see which version of the site I am looking at. But when I go into 'General' and close the shop, it closes the real version of the shop, but not the test version! But I was definitely in www.mysite.com/tomcat/admin/configuration.php when I ticked the box to close the shop. I'm not sure how to create a separate database - is this easy to do?
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#14
|
|||||||||
|
|||||||||
Re: Redesign of site with CSS - new folder?
Yes you need a separate DB to work with the test site. You can use phpmyadmin and copy the existing one with a different name. Then make sure in the config.php for the test site you change the db too
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|