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

New Button Placement

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-17-2005, 06:31 AM
 
gramps gramps is offline
 

Member
  
Join Date: Jun 2005
Posts: 28
 

Default New Button Placement

V4.0.14
A set of beautiful gif. buttons was made for the site. Catch is they were placed on Portal Page. How do I get them to the Category section of first page of store.
Under Editing Templates I found from 4/29/05 the following:

"Personally, I usually replace all the buttons with custom graphics by either creating a new template for each button, or by hard coding the buttons into the templates themselves."

This sounds like what I should do, but how?
Reply With Quote
  #2  
Old 07-17-2005, 06:55 AM
 
balinor balinor is offline
 

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

Default

All the button templates are found in skin1/buttons. You would need to either edit the master button template (button.tpl) or call your custom gif images from each individual button template. For example, to replace all of your 'Continue' buttons with a custom image, open up skin1/buttons/continue.tpl and replace this:

Code:
{include file="buttons/button.tpl" button_title=$lng.lbl_continue href=$href title=$title style=$style}

with this:


Replace the 'x' with the actual image sizes and replace imagename.gif with the actual name of the image. You will also need to put all of the images in your skin1/images directory.

Repeat for each button template you want to replace.

Good luck!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-17-2005, 08:32 AM
 
gramps gramps is offline
 

Member
  
Join Date: Jun 2005
Posts: 28
 

Default buttons

V4.0.14

I should have been more descriptive,sorry.

We would like to replace the text for categories on site page with the buttons. The category box on left lists product categories in text it is this text that we want to replace with buttons.
Reply With Quote
  #4  
Old 07-18-2005, 09:04 AM
 
balinor balinor is offline
 

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

Default

Ahhh...I'm afraid that is a little more complicated and not as easy to describe.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 05:16 AM.

   

 
X-Cart forums © 2001-2020