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

home.php need a clean copy

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-30-2007, 11:00 AM
 
tropitek tropitek is offline
 

Member
  
Join Date: Sep 2007
Posts: 13
 

Default home.php need a clean copy

Hello sirs - newbee question
i changed the x-cart logo on the home.php to my logo now the page does not work correct. i did a restore but it did not restore the file.
http://www.tropitek.net/wholesale/home.php

i did the mod in front page, now i see it can change the coding.

i also deleted the Categories in my admin that i created & it did not take them off the page.

i am thinking if i could get a home.php clean copy it may correct the error.
please email me a copy to sales at tropitek.net
help please.
thank you Paul
__________________
my new xcart 5 link is here https://www.tropitek.net/xcart/
my old xcart 4 link is here http://www.tropitek.net/wholesale/home.php


X-Cart Pro version 4.7.?
PHP 5.6
MySQL client 5.1.63
Operation system Linux
Reply With Quote
  #2  
Old 09-30-2007, 12:16 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: home.php need a clean copy

Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:

http://forum.x-cart.com/showthread.php?t=23970

Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your question correctly.

Also, please be aware of where you post...as the forum title states, this forum is for Completed Custom Mods only, not questions.


Moving this to Template Editing. Thank you!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-30-2007, 01:05 PM
 
tropitek tropitek is offline
 

Member
  
Join Date: Sep 2007
Posts: 13
 

Default Re: home.php need a clean copy

hello sir
your comments are noted.

If any one has the orginal home.php file my problem will be corrected i'm sure.

I feel stupid that i did not make a copy first as i normally do.
warning to myself edit website sober.

thank you Paul
__________________
my new xcart 5 link is here https://www.tropitek.net/xcart/
my old xcart 4 link is here http://www.tropitek.net/wholesale/home.php


X-Cart Pro version 4.7.?
PHP 5.6
MySQL client 5.1.63
Operation system Linux
Reply With Quote
  #4  
Old 09-30-2007, 01:09 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: home.php need a clean copy

Ok, just go into your skin1_original folder, and you'll see original copies of all of your files. You can use the 'restore template' button at the bottom of the template editing screen as well.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 09-30-2007, 03:24 PM
 
tropitek tropitek is offline
 

Member
  
Join Date: Sep 2007
Posts: 13
 

Default Re: home.php need a clean copy

i changed the php home.php file & i cannot see a back up file of this one only templates are in the orginal skins file.
__________________
my new xcart 5 link is here https://www.tropitek.net/xcart/
my old xcart 4 link is here http://www.tropitek.net/wholesale/home.php


X-Cart Pro version 4.7.?
PHP 5.6
MySQL client 5.1.63
Operation system Linux
Reply With Quote
  #6  
Old 09-30-2007, 03:25 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: home.php need a clean copy

Not the php file, you shouldn't be editing those. You want skin1_original/customer/home.tpl. Did you really edit home.php?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 09-30-2007, 03:36 PM
 
tropitek tropitek is offline
 

Member
  
Join Date: Sep 2007
Posts: 13
 

Default Re: home.php need a clean copy

yeppers, i edited the home.php like i would with html

shall i just delete the whole x-cart & start from fresh?
__________________
my new xcart 5 link is here https://www.tropitek.net/xcart/
my old xcart 4 link is here http://www.tropitek.net/wholesale/home.php


X-Cart Pro version 4.7.?
PHP 5.6
MySQL client 5.1.63
Operation system Linux
Reply With Quote
  #8  
Old 09-30-2007, 03:37 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: home.php need a clean copy

If you aren't too far along, I'd probably start again yes, as you should not be editing php files to change the look of the site. Start here:

http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 09-30-2007, 03:41 PM
 
tropitek tropitek is offline
 

Member
  
Join Date: Sep 2007
Posts: 13
 

Default Re: home.php need a clean copy

ok
will start from fresh, i only have a few hours of work into it so far, so it's not a huge deal.
I'll read before editing next time for sure.
regards
Paul
__________________
my new xcart 5 link is here https://www.tropitek.net/xcart/
my old xcart 4 link is here http://www.tropitek.net/wholesale/home.php


X-Cart Pro version 4.7.?
PHP 5.6
MySQL client 5.1.63
Operation system Linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 07:49 AM.

   

 
X-Cart forums © 2001-2020