Results 1 to 2 of 2

Thread: Translate titles in list

  1. #1
    New user
    Join Date
    08-30-13.
    Posts
    7

    Default Translate titles in list

    Hi all

    I have in my module this
    Code:
    'conf_name' => array
    		(
    			'sql'                     => "varchar(50) NOT NULL default ''",
                            'inputType'               => 'select',
                            'foreignKey'              => 'tl_hato_conf_name.value',
                            'reference'               => $GLOBALS['TL_LANG']['tl_hato_fields_config']['optionsLabel']
    		),
    and i need translate this value in list.

    Code:
    'label' => array
    		(
    			'fields'                  => array('conf_name:tl_hato_conf_name.value','conf_value'),
    			'format'                  => '%s (%s)',
                            'reference'               => $GLOBALS['TL_LANG']['tl_hato_fields_config']['optionsLabel']
    		),
    is not work :-(

    THX

  2. #2
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Take a look at other dca files from core and compare. It seems that you miss some things.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •