CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 $CCSLocales->Locale does not match Styles/Stylename/Images/LOCALE

Print topic Send  topic

Author Message
Aleister

Posts: 73
Posted: 04/14/2010, 7:01 PM

Hello,

I am trying to display a button programmatically that is under Styles/STYLENAME/Images/LOCALE

So I am using:
$something = '<a href="'.$lnk.'"><img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" src="Styles/'.$CCProjectStyle.'/Images/'.$CCSLocales->Locale.'/ButtonAddToBasket.gif"></a>';

but $CCSLocales->Locale returns el-gr and all the button graphics are created by CCS under directory el

How should I solve this mismatch?

Thank you
View profile  Send private message
datadoit
Posted: 04/15/2010, 9:27 AM

Try either:

$CCSLocales->Name

or

$CCSLocales->Language

and see if one of those return what you need.
Aleister

Posts: 73
Posted: 04/15/2010, 12:29 PM

Thank you datadoit,

I just tried what you proposed but it returns nothing. :-/

I am also talking with support for this issue.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.