Development

Changeset 20462

You must first sign up to be able to contribute.

Changeset 20462

Show
Ignore:
Timestamp:
07/24/09 14:33:34 (4 years ago)
Author:
rande
Message:

- update README
- use the correct method to return JSON

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/mgI18nPlugin/trunk/README

    r19478 r20462  
    4343          # ... 
    4444          mgI18nPlugin: 
    45             connection: doctrine # default is mg_i18n_plugin 
    46             culture_available:  
     45            connection: mg_i18n_plugin # symfony's default is 'doctrine' 
     46            cultures_available:  
    4747              fr: Français 
    4848              en: English 
     
    5050 * enable the mgI18nAdmin module from your backend application 
    5151 
     52 * rebuild your model 
     53        [php] 
     54        ./symfony doctrine:build-all-reload 
     55  
     56 * publish plugin asset 
     57  
     58        [php] 
     59        ./symfony plugin:publish-assets 
     60  
    5261Note 
    5362---- 
  • plugins/mgI18nPlugin/trunk/modules/mgI18nAdmin/lib/basemgI18nAdminActions.class.php

    r19478 r20462  
    6464    } 
    6565     
    66     echo json_encode($json); 
    67      
    68     return sfView::NONE; 
     66    return $this->renderText(json_encode($json)); 
    6967  } 
    7068