-
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...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
-
Re: Add Help Button In Front of Attribute Option Name
:frusty: 44 views and no answer.:cry: help!!!!! please
-
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.
-
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-templa...simple-seo-url (using ajax tooltip in this case tho)
-
Re: Add Help Button In Front of Attribute Option Name
That sounds like a good straightforward solution.
-
Re: Add Help Button In Front of Attribute Option Name
He's getting' better, huh?:P
-
Re: Add Help Button In Front of Attribute Option Name
Quote:
Originally Posted by
dbltoe
He's getting' better, huh?:P
What do you mean?
-
Re: Add Help Button In Front of Attribute Option Name
Just pokin' a little.:D
And, liking the think simple.:yes:
-
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...
Quote:
Originally Posted by
yellow1912
-
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!!!!!
Quote:
Originally Posted by
yellow1912
-
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:
Quote:
Originally Posted by
gjh42
That sounds like a good straightforward solution.
-
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.
-
Re: Add Help Button In Front of Attribute Option Name
Really? :frusty:
That's not good...okay, gotta find another option again....
Quote:
Originally Posted by
dbltoe
Remember that any link that leaves the site could close the session and dump the user's cart.
-
Re: Add Help Button In Front of Attribute Option Name
Quote:
Originally Posted by
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.
-
Re: Add Help Button In Front of Attribute Option Name
Quote:
Originally Posted by
yellow1912
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/ca...roducts_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?
-
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"
-
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
-
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.
-
Re: Add Help Button In Front of Attribute Option Name
Quote:
Originally Posted by
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/showth...+option+length
-
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/showth...t=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.
-
Re: Add Help Button In Front of Attribute Option Name
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
--->
A ZC potential bug, I remember I had to change the code a bit for this, dont remember much tho.
-
Re: Add Help Button In Front of Attribute Option Name
what is phpMyAdmin?
another program?
or somewhere in the admin side of the site?
-
Re: Add Help Button In Front of Attribute Option Name
Quote:
Originally Posted by
april_may
what is phpMyAdmin?
another program?
or somewhere in the admin side of the site?
Ap,
www.your_web_site.com/cpanel
- this is a control panel from your server (web host provider)
- Of course you will log in
- There are many headings: Look for: Databases and you will see phpMyAdmin
-
Re: Add Help Button In Front of Attribute Option Name
Oh- I did not know that was there. Actually, I am on GoDaddy and found it through my account stuff. I had to download the program- so will have to install it. I thought I coud set the number of characters in the style sheet or one of the files.
-
Re: Add Help Button In Front of Attribute Option Name
You mean GoDaddy doesn't provide phpMyAdmin by default? That would definitely be an indication of the market they intend to serve - nobody who expects their customers to seriously use databases would leave that out.
-
Re: Add Help Button In Front of Attribute Option Name
But they are nice enough to grant you remote access to your database.:P
-
Re: Add Help Button In Front of Attribute Option Name
I was going to check with GoDaddy before I installed anything. I do believe I already have access. Just have to find out how to get there. I know I've seen an icon that says MyPhp ... Duh... I'll learn this stuff yet!
thanks you guys- I really love this Zen Cart. I am uploading art products to the gallery now...:artist:
(ps... I'd rather be painting...)
-
Re: Add Help Button In Front of Attribute Option Name
Just a follow-up Yes, GoDaddy has it all there in my account--- I just didn't know where to look-
-
Re: Add Help Button In Front of Attribute Option Name
I tried putting a link in the attribute option name and its not working for me. The link put in Option Name Manager is:
Test Link<a href="#" onclick="return false" onmouseover="ajax_showTooltip(window.event,'help/product_page/test_help.html',this);return false" onmouseout="ajax_hideTooltip()"> (?)</a>
When I try to add a value to this option in Option Name Manager by selecting the option, it is displayed in the dropdown as:
(?)" value="18">Test Link (?)
Then if I add this, it is listed in Option Value Manager but under the option name field it is blank.
Finally in Attribute controller it does not show up at all.
Does anyone have any ideas how I can fix this?