X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Deletion of storefront (https://forum.x-cart.com/showthread.php?t=61762)

jarop 11-23-2011 11:12 AM

Deletion of storefront
 
1 Attachment(s)
Hi

Working in the webmaster mode I did something that cannot remember and deleted the access to the storefront from the admin end. And now when I access the admin area I can't go into the storefront, I can only close or open.
Using gold version 4.4.4

Attaching picture of what I get.

Any suggestions, I'm going crazy trying to find the answer.


jarop

JWait 11-24-2011 06:00 AM

Re: Deletion of storefront
 
Do you have backup of you site stored locally? You should!

Just an idea but if you use a ftp program you might be able to see what was changed most recently and correct it.

jarop 11-28-2011 10:01 AM

Re: Deletion of storefront
 
Thanks, will try and do that.

CottonAge.com 11-28-2011 01:44 PM

Re: Deletion of storefront
 
looks like you edited the in skin/common_files/head_admin.tpl

Code:

{*
$Id: head_admin.tpl,v 1.1 2010/05/21 08:31:58 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{if $login ne ""}
{include file="quick_search.tpl"}
{/if}

<div id="head-admin">

  <div id="logo-gray">
    <a href="{$current_area}"><img src="{$ImagesDir}/logo_gray.png" alt="" /></a>
  </div>

{if $login ne ""}
  {include file="authbox_top.tpl"}
{/if}

{******** Remove this line to display how much products there are online ****
  <div class="head-admin-products-online">
    {insert name="productsonline" assign="_productsonline"}
    {if $config.Appearance.show_in_stock eq "Y"}
      {insert name="itemsonline" assign="_itemsonline"}
      {$lng.lbl_products_and_items_online|substitute:"X":$_productsonline:"Y":$_itemsonline}
    {else}
      {$lng.lbl_products_online|substitute:"X":$_productsonline}
    {/if}
  </div>
**** Remove this line to display how much products there are online ********}
</div>

This is head_admin.tpl code from default XC

CottonAge.com 11-28-2011 01:49 PM

Re: Deletion of storefront
 
As JWait said if you have Backup it will better

jarop 11-29-2011 11:50 AM

Re: Deletion of storefront
 
I have a back up and solved the problem, thanks for your help and will keep this code if I need in the future.


All times are GMT -8. The time now is 02:52 PM.

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