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

Alt Text Multi Language from database mysql

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-06-2006, 11:31 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default 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.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #2  
Old 08-06-2006, 04:07 PM
 
balinor balinor is offline
 

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

Default

You talking about alt tags for images?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-06-2006, 05:37 PM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default

yes sir.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #4  
Old 08-07-2006, 02:48 AM
 
balinor balinor is offline
 

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

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-07-2006, 08:31 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default

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.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:53 PM.

   

 
X-Cart forums © 2001-2020