Forums / Setting Up Categories, Products, Attributes / Add Help Button In Front of Attribute Option Name

Add Help Button In Front of Attribute Option Name

Results 1 to 20 of 29
16 Apr 2009, 22:12
#1
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Posts:
168
Plugin Contributions:
0

Add Help Button In Front of Attribute Option Name

HI Zen Family:hug: (Hugzzz)

Quick question for you experts.....

:huh: How do I add a picture link (example: help button) in front of an attribute option name?

Example
---------------------------------
http://www.zen-cart.com/forum/images/ZCgreen/icons/help.png Delivery Option

---------------------------------------
:unsure: I searched the forum, but I really didn't find an answer.

Do I hard code? If so, how because I want it to link also.

:blush: I do not have a URL link for you to review because it's on my localhost server on my computer.

Now on my FF WebDeveloper the attribute name it gives me is This....

Attributes:
for = attrib-22
class = attribsSelect



Please Help!!! Thanks
20 Apr 2009, 13:59
#2
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Posts:
168
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

:frusty: 44 views and no answer.:cry: help!!!!! please
21 Apr 2009, 17:05
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: Add Help Button In Front of Attribute Option Name

I'm sure it's possible, but I don't have the spare time to investigate right now. Hope somebody knowledgeable can help.
21 Apr 2009, 19:32
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

What I did was: make the field name longer (in the database), then insert the link directly to the name.

Example:
http://eazy-templates.com/web-templates/zen-cart/modules/simple-seo-url (using ajax tooltip in this case tho)
21 Apr 2009, 19:35
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: Add Help Button In Front of Attribute Option Name

That sounds like a good straightforward solution.
21 Apr 2009, 19:44
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Posts:
9,707
Plugin Contributions:
6

Re: Add Help Button In Front of Attribute Option Name

He's getting' better, huh?:P
21 Apr 2009, 19:52
#7
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

dbltoe:

He's getting' better, huh?:P

What do you mean?
21 Apr 2009, 19:58
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Posts:
9,707
Plugin Contributions:
6

Re: Add Help Button In Front of Attribute Option Name

Just pokin' a little.:D

And, liking the think simple.:yes:
21 Apr 2009, 20:12
#9
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Posts:
168
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

:blink:interesting....I never thought to do that:huh:
:blush: I'm going to try it out and let you know how it works for me...

Thanks...



yellow1912:

What I did was: make the field name longer (in the database), then insert the link directly to the name.

Example:
http://eazy-templates.com/web-templates/zen-cart/modules/simple-seo-url (using ajax tooltip in this case tho)
22 Apr 2009, 02:41
#10
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Posts:
168
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

:blush:Guess What!!!!!
:clap:Your suggestion worked PERFECTLY:yes:, yes it did, yes it did


Here's what I did:
-Went to Admin
-Catalog
-Option Name Manager
-Went to my option name "Delivery Time", clicked edit
- Found where it said en Comments and put this in the box:
<A HREF="http://www.yoursite.com"
-clicked update
-refreshed my website....

Tah-Dah!!!!!:cool: I gotta option name LINKED to another site:clap:

Thanks so much!!!!!




yellow1912:

What I did was: make the field name longer (in the database), then insert the link directly to the name.

Example:
http://eazy-templates.com/web-templates/zen-cart/modules/simple-seo-url (using ajax tooltip in this case tho)
22 Apr 2009, 02:46
#11
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Posts:
168
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

:clap:It Worked, It Worked:clap:
Guess I'll go back to donating again...LOL....:blush:

gjh42:

That sounds like a good straightforward solution.
22 Apr 2009, 02:49
#12
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Posts:
9,707
Plugin Contributions:
6

Re: Add Help Button In Front of Attribute Option Name

Remember that any link that leaves the site could close the session and dump the user's cart.
22 Apr 2009, 17:56
#13
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Posts:
168
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

Really? :frusty:
That's not good...okay, gotta find another option again....

dbltoe:

Remember that any link that leaves the site could close the session and dump the user's cart.
22 Apr 2009, 18:00
#14
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

ljdream00:

Really? :frusty:
That's not good...okay, gotta find another option again....

If the new page is the same site, it doesnt matter. If not you can always use target="_blank" so the page will open in a new window.

Well, all you have to do is to be creative.
23 Apr 2009, 21:31
#15
byoriginaldesign avatar

byoriginaldesign

New Zenner

Join Date:
Apr 2009
Posts:
84
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

yellow1912:

What I did was: make the field name longer (in the database), then insert the link directly to the name.

Example:
http://eazy-templates.com/web-templates/zen-cart/modules/simple-seo-url (using ajax tooltip in this case tho)


I'm trying to follow your lead, as I liked how this integration worked for you, and have done the following:

- Changed Option name & attribute option name to 255 characters.
- Added the appropriate code following the option name.
- Tried adding both ajax tooltip and mootooltip, in each case I modified the .js files with the jscript_ precoursor, changed code to look for relative files in appropriate directories, added the appropriate css to the TEMPLATE/CSS/stylesheet.css, and (only moo required this) added any required script headers to html_header.php

In either case I must be missing something, because although the (?) is following the option name, and is a link when mouseovered nothing pops up. :no:

http://www.wholesale4realtors.com/cart/index.php?main_page=product_info&cPath=65_66_81&products_id=186 is the product I am testing on, and the (?) was added after attach file. (Currently, I am leaving it with mootooltips)

I could not find a thread about how to integrate ajax tooltips, could you maybe start a thread with the steps you did to integrate it appropriately?
23 Apr 2009, 23:48
#16
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

There is nothing special about the way we use tooltip on our site, except that we use jquery instead of mootools.
You may have to recheck your tooltip documentation for more info.

In anycase, a simpler approach is to use a href but with the targe="_blank"
26 Apr 2009, 00:19
#17
april_may avatar

april_may

New Zenner

Join Date:
Apr 2009
Posts:
52
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

Hi- Where and how, exactly do you change the
Option name & attribute option name to 255 characters?
I need larger fields for my option and arrtibute names.

Please help!
thanks
26 Apr 2009, 00:25
#18
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Posts:
9,707
Plugin Contributions:
6

Re: Add Help Button In Front of Attribute Option Name

You'll need to edit the database table design in phpMyAdmin or some other database program.

Please bear in mind that the next update you do might possibly reset the table design.
26 Apr 2009, 00:58
#19
byoriginaldesign avatar

byoriginaldesign

New Zenner

Join Date:
Apr 2009
Posts:
84
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

april_may:

Hi- Where and how, exactly do you change the
Option name & attribute option name to 255 characters?
I need larger fields for my option and arrtibute names.

Please help!
thanks



In phpMyAdmin ...

Display the structure of:
products_options

Click edit on:
products_options_names

Change the Length/Values from 32 to 64 or the size you need up to 255

Then, display the structure of:
orders_products_attributes

Click edit on:
products_options

Change the Length/Values from 32 to 64 or the size you need up to 255

Copied from Linda McGrath's post at http://www.zen-cart.com/forum/showthread.php?t=38386&highlight=change+option+length
26 Apr 2009, 01:12
#20
byoriginaldesign avatar

byoriginaldesign

New Zenner

Join Date:
Apr 2009
Posts:
84
Plugin Contributions:
0

Re: Add Help Button In Front of Attribute Option Name

As a quick side-note, I did get things to work out like yellow1812's page. It took the combination the the name length change we're talking about, and I added a seperate thread at http://www.zen-cart.com/forum/showthread.php?t=125869&highlight=ajax+tooltip to let people know about how to integrate ToolTip, since the thread wasn't around prior.

It did have a few funky result that I'm just working around, such as when I go back in to edit option name the code/link must be reentered each time you go into edit that option name, as well as I had an issue with the "Price updater" mod, but that was fixed mostly through the update of that mod.