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)
-   -   changing template (https://forum.x-cart.com/showthread.php?t=43981)

jencinas 12-01-2008 02:54 PM

changing template
 
Hello we like this design

http://www.gleniboutique.com/

This is my page

www.iwearsunglassesshop.com

I need to know how to update this template to loook similar to the web page above

I dont know how to get rid of the boxes in the right and left.

Guidance will be greatly appreciated

Thank you

balinor 12-01-2008 03:27 PM

Re: changing template
 
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 questions correctly. Thanks! :)

Victor D 12-01-2008 11:39 PM

Re: changing template
 
These boxes are from skin1/customer/home.tpl
They have classes VertMenuLeftColumn and VertMenuRightColumn.
To center your page you should find the line
HTML Code:


{include file="rectangle_top.tpl"}

and change it (in my example to 750px)
HTML Code:


{include file="rectangle_top.tpl" width="750"}


add in your skin1.css
HTML Code:


BODY{
text-align: center;
}
TD.Container{
margin: 0px auto;
text-align:left;
}


jencinas 12-02-2008 05:40 AM

Re: changing template
 
Thank you

jencinas 12-02-2008 07:00 AM

Re: changing template
 
I am trying to use this javas script to access the log in page
javascript:document.loginform_top.submit();
but is not going anywhere

also I try to link this to www.iwearsunglassesshop.com/auth.php and that page is not working

any ideas?
Thank you

Victor D 12-02-2008 07:23 AM

Re: changing template
 
This javascript is used to submit the existing form.
If on your page there is no form named "loginform_top" it will make nothing.
auth.php also isn't suitable for login.
All the POST data for logging in should be sent to include/login.php AFAIK.

jencinas 12-02-2008 06:46 PM

Re: changing template
 
Thank you, i created and index is the first page in my web site www.iwearsunglassesshop.com
the problem is that I need to include the featured products in this page and is not working also I need to include the search as is in home.php

Can you send me a sample

Thank you

Victor D 12-03-2008 12:34 AM

Re: changing template
 
Do you want to have html front-end for this store and use x-cart to manage orders only?

balinor 12-03-2008 02:50 AM

Re: changing template
 
Joaqauin, please update your forum signature with your X-Cart version as requested. This is a requirement to use this forum. Thank you :)

jencinas 12-03-2008 05:44 AM

Re: changing template
 
Victor, my front end page is php and I will like to have the featured products there as well as in some other pages that will be outside the cart?

is this possible?

balinor 12-03-2008 05:56 AM

Re: changing template
 
Joaquin, you seem to be ignoring my requests. Please, take a moment to update your forum signature or your posts will be removed until you do so. Thank you.

Victor D 12-03-2008 06:12 AM

Re: changing template
 
As for search
HTML Code:


<form name="productsearchform" action="your_domain/pathtoyourstore/search.php" method="post">
 <input type="hidden" value="Y" name="simple_search"/>
<input type="hidden" value="search" name="mode"/>
<input type="hidden" value="Y" name="posted_data[by_title]"/>
<input type="hidden" value="Y" name="posted_data[by_shortdescr]"/>
<input type="hidden" value="Y" name="posted_data[by_fulldescr]"/>
<input type="hidden" value="all" name="posted_data[including]"/>
<input type="text" value="" name="posted_data[substring]"/>
<input type="submit" />
</form>


Featured products is a little bit complex.
PHP Code:

require ("/pathtostore/auth.php");
include (
"/pathtostore/featured_products.php"


and array $products will contains featured products.
Surely you should change your_domain and pathtostore to it's actual values

hektore 12-04-2008 05:33 AM

Re: changing template
 
Quote:

Originally Posted by jencinas
Hello we like this design

http://www.gleniboutique.com/

This is my page

www.iwearsunglassesshop.com

I need to know how to update this template to loook similar to the web page above

I dont know how to get rid of the boxes in the right and left.

Guidance will be greatly appreciated

Thank you

Hello
I▓m owner of the above quoted website. Entering the following website: www.iwearsunglassesshop.com I have seen that the design of this website is identical to another of mines (www.gleni.it). It has the same template, colors and structure as mine. I don▓t absolutely want that this website has my own template because it is protected by Copyright and I have spent and I still spend a lot of time and energy to modify it according to the necessities of my website and I think it▓s no right that someone copies it, above all without permission. I saw that at the moment there is only one page (completely copied from my web-site, so also the wrong link on the code are repeated). I don't even want imagine how it would be at the end. That's why, before it goes on, I pretend that the actual template will be totally deleted, since, as I already said, it is protected by Copyright. I want end it here and now, otherwise I will proceed in a different way.

balinor 12-04-2008 05:38 AM

Re: changing template
 
Ouch, Joaquin what do you have to say for yourself?


All times are GMT -8. The time now is 02:44 AM.

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