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)
-   -   Adding Custome Header HTML To X-Cart (https://forum.x-cart.com/showthread.php?t=29068)

jtatarin 02-21-2007 03:45 PM

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 !

balinor 02-21-2007 07:20 PM

Re: Adding Custome Header HTML To X-Cart
 
Start here:

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

jtatarin 02-22-2007 10:12 AM

Re: Adding Custome Header HTML To X-Cart
 
Hey balinor. Is what i want to do possible? Is it easy to do?

balinor 02-22-2007 10:15 AM

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.

jtatarin 02-22-2007 01:32 PM

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?

balinor 02-22-2007 01:34 PM

Re: Adding Custome Header HTML To X-Cart
 
You really need to read that thread :)

jtatarin 02-24-2007 03:19 PM

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

balinor 02-24-2007 03:24 PM

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.

carpeperdiem 02-24-2007 04:21 PM

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.

jtatarin 02-25-2007 01:22 PM

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


All times are GMT -8. The time now is 08:19 AM.

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