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

Adding Custome Header HTML To X-Cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-21-2007, 03:45 PM
 
jtatarin jtatarin is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 83
 

Default Adding Custome Header HTML To X-Cart

Hey guys. I emailed x-cart support prior to me purchasing x-cart and they said it was very easy to do the following. I went through the forum and couldn't really find many articles on how to add your own header.

Basically I want to add a html header to all pages of x-cart.

the html I want is this. http://www.dealpedia.com/header/header.html

Basically I would like it to look like this:

http://www.dealpedia.com/header/layout.jpg

Thanks guys. Im sure this isn't too hard to do. I just have to start somewhere !
__________________
x-Cart Gold 4.5.0
X-Payments 1.0.4
Reply With Quote
  #2  
Old 02-21-2007, 07:20 PM
 
balinor balinor is offline
 

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

Default Re: Adding Custome Header HTML To X-Cart

Start here:

http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-22-2007, 10:12 AM
 
jtatarin jtatarin is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 83
 

Default Re: Adding Custome Header HTML To X-Cart

Hey balinor. Is what i want to do possible? Is it easy to do?
__________________
x-Cart Gold 4.5.0
X-Payments 1.0.4
Reply With Quote
  #4  
Old 02-22-2007, 10:15 AM
 
balinor balinor is offline
 

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

Default Re: Adding Custome Header HTML To X-Cart

It is definitely possible, you can make the whole store custom if you want...that is what we do all the time Read that link I posted, it will walk you through the basics of editing templates.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-22-2007, 01:32 PM
 
jtatarin jtatarin is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 83
 

Default Re: Adding Custome Header HTML To X-Cart

Ok. Would I need to edit several templates to do what I want to do? Or would it be just 1 or two?
__________________
x-Cart Gold 4.5.0
X-Payments 1.0.4
Reply With Quote
  #6  
Old 02-22-2007, 01:34 PM
 
balinor balinor is offline
 

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

Default Re: Adding Custome Header HTML To X-Cart

You really need to read that thread
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 02-24-2007, 03:19 PM
 
jtatarin jtatarin is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 83
 

Default Re: Adding Custome Header HTML To X-Cart

This is sort of frusterating. I've looked through all the templates and I haven't been able to figure out what needs to be changed. I would have thought it would have been a bit easier-Jeff
__________________
x-Cart Gold 4.5.0
X-Payments 1.0.4
Reply With Quote
  #8  
Old 02-24-2007, 03:24 PM
 
balinor balinor is offline
 

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

Default Re: Adding Custome Header HTML To X-Cart

Yes, it is not a point and click exercise..you need to know html, css and eventually Smarty.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 02-24-2007, 04:21 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Adding Custome Header HTML To X-Cart

Jeff,

Do you have html editing skills?

If you can edit html, you can learn how to do this.

If you do not have html editing skills, you will need someone with html skills to do this for you.

Padraic pointed you in the right direction. You will use "webmaster mode" to determine the exact template file that has the header. You will examine the file that has the header contents, and replace it with your content. You will need to respect the tables and CSS. You will need to respect the smarty includes.

If you read the thread Padraic suggested, it will all be clear... that is, if you know html.

If you are not proficient in html, this will be Greek (or pick the language that you don't know) to you. You will not be able to do this using a visual editor (dreamweaver) -- except dreamweaver can help you with nested tables -- but the guts of xcart, the smarty includes and associated code, is something that you must learn, or have someone else do it.

You don't have to know php. You need to be able to get around an html page and respect the smarty code.

Unfortunately, it's not point and click -- but then, there's nothing out there that is (with this kind of power or flexibility).

Good luck.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #10  
Old 02-25-2007, 01:22 PM
 
jtatarin jtatarin is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 83
 

Default Re: Adding Custome Header HTML To X-Cart

Hey guys.. I did exactly what you told me to do and it appears to be working. Im just worried that I took the easy way out. I opened up WEBMASTER mode and just opened the templates of what I wanted removed and just deleted the entire thing. I deleted everything in head.tpl and copied my own head. I deleted everything in the searchbar.tpl and also the template from the tabs on the top left.

what I did is working but im worried something was left out.

http://www.dealpedia.com
__________________
x-Cart Gold 4.5.0
X-Payments 1.0.4
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 01:56 PM.

   

 
X-Cart forums © 2001-2020