Unsure how to translate page title
Posted: Wed Sep 28, 2011 11:14 am
I read this 'pretty old info'
http://xataface.com/documentation/tutor ... taface-0.6
particularly
Translating Smarty Templates
then I went in a took a good look at Dataface_Main_Template.html -
{if $ENV.record}{$ENV.record->getTitle()}
It 'looks like' the Page Title 'might' be a candidate for an entry in the language .ini files
Here was my 'no cigar' effort on that -
templates.Dataface_Main.APPLICATION.title = "Jon's Test"
Maybe I need something different in the conf.ini???
I must be running on fumes...
Thanks for any ideas here.
http://xataface.com/documentation/tutor ... taface-0.6
particularly
Translating Smarty Templates
then I went in a took a good look at Dataface_Main_Template.html -
- Code: Select all
{define_slot name="html_head"}
<meta http-equiv="Content-Type" content="text/html; charset={$ENV.APPLICATION.oe}"/>
<title>{define_slot name="html_title"}{if $ENV.record}{$ENV.record->getTitle()} - {else}{$ENV.table_object->getLabel()} - {/if}{if $ENV.APPLICATION.title}{$ENV.APPLICATION.title}{else}Dataface Application{/if}{/define_slot}</title>
{if $ENV.record}{$ENV.record->getTitle()}
It 'looks like' the Page Title 'might' be a candidate for an entry in the language .ini files
Here was my 'no cigar' effort on that -
templates.Dataface_Main.APPLICATION.title = "Jon's Test"
Maybe I need something different in the conf.ini???
I must be running on fumes...
Thanks for any ideas here.