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)
-   -   Couple of Template edits (https://forum.x-cart.com/showthread.php?t=42477)

ibit-matt 09-20-2008 05:26 AM

Couple of Template edits
 
2 Attachment(s)
I am trying to edit a couple of things with my template. I have attached a screenshot of what I am trying to do.


Product change screen. I want to add two more buttons and the text in red will be added to those buttons


Thanks in Advance

JWait 09-20-2008 06:50 AM

Re: Couple of Template edits
 
I have no idea about "Local Authorities" but your other buttons can be added to skin1/customer/ products.tpl or skin1/customer/ products_t.tpl, depending on which you are using. The "More Info" link and text is found in products.tpl (or products_t.tpl)
Code:

<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}{if $featured eq 'Y'}&amp;featured{/if}">{$lng.lbl_see_details}</a>
You will have to edit it according to what you want, or comment it out by adding {* and *} to the beginning and end of what you want to remove.

Edits in skin1..
TopLabel class for "Search"
VertMenuLeftColumn add "width"
VertMenuRightColumn add "width"

"Advanced Search" uses the default A:link class. You can specifiy a different class for this link in skin1/customer/search.tpl (look for the $lng.lbl_advanced_search label)

ibit-matt 09-23-2008 11:30 AM

Re: Couple of Template edits
 
I am trying to increase the left vertical column and have edited the css like this but it does not work

Code:

.VertMenuLeftColumn {
 VERTICAL-ALIGN: top;
 PADDING-LEFT: 7px;
 PADDING-RIGHT: 20px;
 WIDTH: 300px;



Any Ideas?

ibit-matt 09-27-2008 11:46 AM

Re: Couple of Template edits
 
Can anyone help me with this please

JWait 09-27-2008 12:22 PM

Re: Couple of Template edits
 
In skin1/customer/hometpl, change
<td class="VertMenuLeftColumn">
to
<td width="300px">

ibit-matt 09-27-2008 12:53 PM

Re: Couple of Template edits
 
All that did wa made the left column move down the page 300 pixels

I want to make the left hand column wider.

JWait 09-27-2008 01:14 PM

Re: Couple of Template edits
 
That is strange. Do you have a link? PMif you don't want it public?

ibit-matt 09-27-2008 01:21 PM

Re: Couple of Template edits
 
1 Attachment(s)
See Screen Attached

ARW VISIONS 09-27-2008 02:20 PM

Re: Couple of Template edits
 
in home.tpl you will find a line similar to this...

<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />


I shouod be at the very end of the left column.

change the width to whatever you want it to be.

ibit-matt 09-27-2008 02:27 PM

Re: Couple of Template edits
 
Thankyou :-)


All times are GMT -8. The time now is 01:21 PM.

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