If this is your first visit, check our documentation. To post, register or login.

Custom Buttons

Started by pamela631 on 29 May 2013, 9:32 PM · Views: 1,356

Results 1 to 11 of 11
29 May 2013, 9:32 PM
#1
pamela631 avatar

pamela631

New Zenner

Join Date:
May 2013
Location:
California
Posts:
52
Plugin Contributions:
0

Custom Buttons

Hi everyone,

I have created and changed out all the buttons in my store by updating the button_names.php file. The only items that I can not sort out are the two search buttons and the small_delete button, which are listed in the button_names.php file but didn't change. The small_delete button is not listed in the button_names.php file.

The two search buttons are #1 the search button in the header area and then the search button in the sidebox area, I created 2 different buttons for those and then the small_delete button is used on the shopping cart page.

I have searched the forums and only find lots of very old information that doesn't work. If someone has any fresh information I would really appreciate it.

Here is the site: http://theposhbox.net/ZenCart/

Pamela

30 May 2013, 1:20 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Custom Buttons

pamela631:

I have created and changed out all the buttons in my store by updating the button_names.php file. The only items that I can not sort out are the two search buttons and the small_delete button, which are listed in the button_names.php file but didn't change. The small_delete button is not listed in the button_names.php file.

Those search buttons are HTML 'submit' buttons, and these are handled/treated differently than the other input buttons, which is why you are having trouble finding them.

Although I've not used it myself, you may find the following add-on may be useful.
http://www.zen-cart.com/downloads.php?do=file&id=1386

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

30 May 2013, 4:17 PM
#3
pamela631 avatar

pamela631

New Zenner

Join Date:
May 2013
Location:
California
Posts:
52
Plugin Contributions:
0

Re: Custom Buttons

Hi Rod,

Yes, I did download that mod and customized it.. however, I just wanted to be able to do the buttons because I know some clients will want them so might as well learn to do them.. I still would love to know how to get these last three buttons going..

Thanks so much for your reply.. Pamela

31 May 2013, 2:35 PM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Custom Buttons

pamela631:

Hi Rod,

Yes, I did download that mod and customized it.. however, I just wanted to be able to do the buttons because I know some clients will want them so might as well learn to do them.. I still would love to know how to get these last three buttons going..

Thanks so much for your reply.. Pamela

Here's a more specific example of how to 'roll your own':
http://eisabainyo.net/weblog/2009/04/24/how-to-style-a-submit-button-in-css/

I was figuring that the mod I referred you to would have a similar example, but with an included zencart stylesheet ready to edit.
Using the 3rd party info means you may need to add to the zen stylesheets as opposed to just editing.

Same results, same methods, different examples.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

31 May 2013, 7:14 PM
#5
pamela631 avatar

pamela631

New Zenner

Join Date:
May 2013
Location:
California
Posts:
52
Plugin Contributions:
0

Re: Custom Buttons

Unfortunately, that didn't work at all.. plus that's for submit.. I need for the Search button.. I know some designers successfully do this very thing.. but none of them have written any tutorials and I don't have the ***** to ask them how they do it.. lol

31 May 2013, 8:31 PM
#6
pamela631 avatar

pamela631

New Zenner

Join Date:
May 2013
Location:
California
Posts:
52
Plugin Contributions:
0

Re: Custom Buttons

This is just a mess.. I'm just going to use the CSS button Mod and be done with it.. who knew a stupid search button would cause so much grief! Plus.. now I don't have to make all those darned buttons..

Pamela

1 Jun 2013, 7:35 AM
#7
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Custom Buttons

pamela631:

Unfortunately, that didn't work at all.. plus that's for submit.. I need for the Search button..

Aarrtrghhh... ooooerrr.... Eeeeekkkkkk....

*HTML has two 'types' of buttons. INPUT buttons and SUBMIT buttons. There isn't a 'Search' button as such. What you are calling a "Search button" is in fact a SUBMIT button. The only difference is that the text 'submit' has been changed to read 'search'.

This is why I keep pointing you to the references on how to style the 'SUBMIT' button, because it is exactly the same button.

Cheers
Rod

*HTML has had many changes over the years. This may no longer be entirely accurate.

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

1 Jun 2013, 9:26 AM
#8
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,022
Plugin Contributions:
2

Re: Custom Buttons

Pamela

You can construct your own buttons using the following:

Zen Button Construction Kit
Zen Button Construction Kit - Additional Fonts

http://overthehillweb.com/free-downloads/

cheers

1 Jun 2013, 9:46 AM
#9
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,022
Plugin Contributions:
2

Re: Custom Buttons

Sorry, got distracted

Zen Button Construction Kit is here.

http://www.zen-cart.com/downloads.php?do=file&id=520

1 Jun 2013, 3:27 PM
#10
pamela631 avatar

pamela631

New Zenner

Join Date:
May 2013
Location:
California
Posts:
52
Plugin Contributions:
0

Re: Custom Buttons

Hi Rod,

Let me add to your: Aarrtrghhh... ooooerrr.... Eeeeekkkkkk.... DUHHHHHHH..... I should have known that.. what a dunce!

Ok, I get it... sometimes you gotta flick this brain of mine.. I got "these kids will be home all summer and in my face" on the brain right now, lol

Thanks again, Pamela

1 Jun 2013, 4:29 PM
#11
pamela631 avatar

pamela631

New Zenner

Join Date:
May 2013
Location:
California
Posts:
52
Plugin Contributions:
0

Re: Custom Buttons

GREAT! Thanks dw08gm.. Downloading now!