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

Please help with edit skin.1

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-09-2005, 10:47 AM
 
expressrugs expressrugs is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 77
 

Default Please help with edit skin.1

Hello All
V 4.0.12 How do I edit powered by x-cart at the bottom of the home page and where do I find it? Also how can I edit this I have the orange skin as default how do I change the box Example Featured products on home page here is link to see what I'm talking about
http://www.expressarearugs.com/xcart/home.php
Also 2. how do I remove the send to a friend on the cart page.
Thanks
__________________
4.1.3
Reply With Quote
  #2  
Old 03-09-2005, 02:53 PM
 
techhead techhead is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: Australia, Melbourne
Posts: 30
 

Default

the quickest (and easiest) way to edit templates is to use the webmaster mode in the admin section... or you can edit the templates directly.

you will find the footer in the following file:
skin1/bottom.tpl

comment out or remove the following code:
{include file="main/prnotice.tpl"}
{include file="copyright.tpl"}

or alternatively you directly edit those tempates.
skin1/main/prnotice.tpl
skin1/copyright.tpl

be careful if you got to edit the featured section as it calls the 'dialog.tpl' template that is used every where you see a box on the screen.

to remove the 'send to a friend' you will need to edit the following file:
skin1/customer/main/product.tpl
and comment out/remove the following code:
{include file="customer/main/send_to_friend.tpl" }
__________________
xcart v3.5.8 through to v4.0.14
redhat v9
php v4.3.10
MySQL 4.0.22
Reply With Quote
  #3  
Old 03-09-2005, 03:13 PM
 
expressrugs expressrugs is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 77
 

Default

Hello
Thank you very much for the help. The one thing I still can get is how to change the color of the boxs on screen "be careful if you got to edit the featured section as it calls the 'dialog.tpl' template that is used every where you see a box on the screen. " In that i don't see any color options?
Maybe I'm not looking at it right.
__________________
4.1.3
Reply With Quote
  #4  
Old 03-09-2005, 03:28 PM
 
techhead techhead is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: Australia, Melbourne
Posts: 30
 

Default

if your out to change colour, all you need to do is edit the style sheet:
skin1/skin1.css

the styles to look out for are:
DialogTitle ... (the title bar)
DialogBorder ... (the border arround the box)
DialogBox ... (where the content goes)

I always edit the skin1/dialog.tpl file and remove the following bit of code:
background="{$ImagesDir}/dialog_bg_n.gif"

only because I think the image used in the dialog title is butt ugly, if you do this you will want to change the DialogTitle font colour to something other than white.

good hunting!
__________________
xcart v3.5.8 through to v4.0.14
redhat v9
php v4.3.10
MySQL 4.0.22
Reply With Quote
  #5  
Old 03-09-2005, 03:32 PM
 
expressrugs expressrugs is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 77
 

Default

I did try that something must be wrong. Not sure what. I will keep trying.
Thank you for all your help.
__________________
4.1.3
Reply With Quote
  #6  
Old 03-09-2005, 03:39 PM
 
techhead techhead is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: Australia, Melbourne
Posts: 30
 

Default

changes in the style sheet can take awhile to become visual if your using a lazy browser like ie.

make the changes to the skin1.css, then clear your browser cache out before trying to see the changes.
__________________
xcart v3.5.8 through to v4.0.14
redhat v9
php v4.3.10
MySQL 4.0.22
Reply With Quote
  #7  
Old 03-09-2005, 03:46 PM
 
balinor balinor is offline
 

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

Default

Or just use Firefox
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 03-09-2005, 04:52 PM
 
expressrugs expressrugs is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 77
 

Default

Hello Guys
Thanks for the help!!! But still is not working. Here is the code it looks like it should work but it dosen't.
.DialogBox {
BACKGROUND-COLOR: #ffffff;
}
.DialogBorder {
BACKGROUND-COLOR: #C5BF9F;
}
.DialogTitle {
COLOR: #FFFFFF; FONT-WEIGHT: bold; FONT-SIZE: 11px;
This should give me a green box with white background.
__________________
4.1.3
Reply With Quote
  #9  
Old 03-09-2005, 05:10 PM
 
techhead techhead is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: Australia, Melbourne
Posts: 30
 

Default

yeap... that's right... and that's what you've got... that big red thing at the top is a background image located here:

/skin1/images/dialog_bg_n.gif

in order to change that you will need to edit the image through something like firefox and re-upload it to the skin's image directory in the colour you want it or you can remove it from the dialog.tpl ( background="{$ImagesDir}/dialog_bg_n.gif" )
__________________
xcart v3.5.8 through to v4.0.14
redhat v9
php v4.3.10
MySQL 4.0.22
Reply With Quote
  #10  
Old 03-09-2005, 05:17 PM
 
expressrugs expressrugs is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 77
 

Default

What do you use to edit this file. Sorry for the dumb question but I have no idea.
__________________
4.1.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:37 AM.

   

 
X-Cart forums © 2001-2020