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

 Menu Builder (multilingual)

Print topic Send  topic

Author Message
vituskung

Posts: 3
Posted: 02/04/2010, 6:01 PM

I'm trying to set up a database driven menu with menu builder for a multilingual site. I tried adding a field called menu_locale and insert code "before build select" as below but it doesn't work:

$header_menu1->DataSource->Where = 'menu_locale = CCSGetSession("locale")';

I wonder if there is anything wrong.
View profile  Send private message
datadoit
Posted: 02/04/2010, 7:42 PM

$header_menu1->DataSource->Where = "menu_locale = " .
CCToSQL(CCGetSession("locale","en"), ccsText);
vituskung

Posts: 3
Posted: 02/04/2010, 11:29 PM

Tks, I shall give it a try again.
View profile  Send private message
vituskung

Posts: 3
Posted: 02/05/2010, 7:50 AM

it works great . Tks, Datadoit!
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.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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