X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Alt Text Multi Language from database mysql (https://forum.x-cart.com/showthread.php?t=23883)

ecommerce 08-06-2006 11:31 AM

Alt Text Multi Language from database mysql
 
When I'm working on dreamweaver, theres a field for alt text.

Alt text helsp visitors by telling them what they are clicking on, besides the obvious.

I tried putting in the alt text box that dreamweaver gives a language label like

{$lbl_blabla} but that didnt work.

Any ideas on how to go abou this?

i tried without the brackets an no go.

balinor 08-06-2006 04:07 PM

You talking about alt tags for images?

ecommerce 08-06-2006 05:37 PM

yes sir.

balinor 08-07-2006 02:48 AM

The images already do that. If you open up product_thumbnail.tpl you'll see this bit of code:

alt="{$product|escape}"

That will show the product name as the alt.

ecommerce 08-07-2006 08:31 AM

well i was thinking in terms of webstie functionality rather than product images.

when the visitor mouses over a arrow button for example -->

i want there to be alt tag saying "Go".

and "Go" to be pulled from the languages in the database.

So I go to the langauage admin and I add a field called

lbl_alt_go_button - value "Go"

But then how do I make the button show the alt tag?


Then end result should display like this
[img]images/customer_images/arrow.gif[/img]


I tried the one below and didnt work.
[img]images/customer_images/arrow.gif[/img]

If we could enter the value "Go" and the same time alt tag that we want the value to go along with it, it would solve the problem.


All times are GMT -8. The time now is 01:44 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.