CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 [SOLVED]change html-title dynamic

Print topic Send  topic

Author Message
dehnert

Posts: 13
Posted: 03/22/2010, 1:29 AM

Hello, for a multilanguage-site I would like to change the title to the corresp. language.
like <title>{res:any_vari8able}</title>.

Unfortunatelly, I don't get it to work.

Any hint is highly welcomed

Achim
_________________
Achim Dehnert
View profile  Send private message
quasimidi


Posts: 151
Posted: 03/22/2010, 2:28 AM

Hi,

What you should do is this (with PHP):

1. Add a label between the <title>{yourtitle}</title>

2. Add a custom Before Show event to your page, and enter this:

$Component->yourtitle->SetValue("Your Page Title");

Regards,




_________________
RS
View profile  Send private message
damian

Posts: 838
Posted: 03/22/2010, 2:50 AM

your title tag is outside your grid so it wont pick up the value.
create a grid elsewhere in your body (or modify an existing grid) and add a hidden field
{res:any_vari8able}
your php is processed beore the html and it should populate the title variable even though its not strictly associated with a grid or with code....

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
datadoit
Posted: 03/22/2010, 7:41 AM

Your method is absolutely correct.

1. Check your spelling.

2. Check to make sure you actually have a translation for the specified
resource.
paulmason411


Posts: 127
Posted: 03/22/2010, 6:04 PM

dehnert as datadoit said your method is correct, I use this method myself.

Is your problem more to do with changing between languages dynamically?
_________________

http://paulmason.name - Web Development Blog

View profile  Send private message
dehnert

Posts: 13
Posted: 03/23/2010, 12:49 AM

[SOLVED]
Thanxs to all of You. I wasn't using a label, but edited the html directly. It works perfect via "add label".

Thanxs again for the FANTASTIC Support -> You are great!! :-)
_________________
Achim Dehnert
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 03/25/2010, 2:59 PM

dehnert,
Can you add [SOLVED] to the thread title. Thanks.
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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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