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

Couple of Template edits

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-20-2008, 05:26 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Couple of Template edits

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
Attached Thumbnails
Click image for larger version

Name:	screen.gif
Views:	165
Size:	59.4 KB
ID:	1118  Click image for larger version

Name:	product-changes.gif
Views:	124
Size:	52.0 KB
ID:	1119  
__________________
X Cart Version 4.1.11
Reply With Quote
  #2  
Old 09-20-2008, 06:50 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default 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)
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 09-23-2008, 11:30 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default 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?
__________________
X Cart Version 4.1.11
Reply With Quote
  #4  
Old 09-27-2008, 11:46 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

Can anyone help me with this please
__________________
X Cart Version 4.1.11
Reply With Quote
  #5  
Old 09-27-2008, 12:22 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Couple of Template edits

In skin1/customer/hometpl, change
<td class="VertMenuLeftColumn">
to
<td width="300px">
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #6  
Old 09-27-2008, 12:53 PM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default 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.
__________________
X Cart Version 4.1.11
Reply With Quote
  #7  
Old 09-27-2008, 01:14 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Couple of Template edits

That is strange. Do you have a link? PMif you don't want it public?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #8  
Old 09-27-2008, 01:21 PM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

See Screen Attached
Attached Thumbnails
Click image for larger version

Name:	screen.JPG
Views:	102
Size:	197.1 KB
ID:	1136  
__________________
X Cart Version 4.1.11
Reply With Quote
  #9  
Old 09-27-2008, 02:20 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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.
__________________
xcart 5.1.2
Reply With Quote
  #10  
Old 09-27-2008, 02:27 PM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

Thankyou
__________________
X Cart Version 4.1.11
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 03:19 AM.

   

 
X-Cart forums © 2001-2020