How to change container button label?

A place for users and developers of the Xataface to discuss and receive support.

Postby perseqtor » Mon Mar 26, 2007 11:54 pm

If I want to change the "View File in New Window" message, where do I look?
perseqtor
 
Posts: 11
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Mar 27, 2007 9:49 am

The next release of Dataface (greater than 0.6.14) will allow you to change this (and all other) message(s) using language ini files.Ê For the benefit of users of these future versions, this particular text would be changed by adding the following to your en.ini file:
scripts.GLOBAL.MESSAGE_VIEW_FIELD_CONTENT = "My custom view content message"

For now (0.6.13 and earlier), you can change this message inside the Dataface_QuickForm_element.html template in the Dataface/templates directory.

Best regards


Steve

--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 24 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved