Development

Changeset 33418

You must first sign up to be able to contribute.

Changeset 33418

Show
Ignore:
Timestamp:
04/20/12 14:35:14 (1 year ago)
Author:
eduardo.marcolino
Message:

Updating readme

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrineCreateInPlacePlugin/README

    r33416 r33418  
    22============================= 
    33 
    4 Usage: 
     4## Installation ## 
     5 
     6Install plugin: 
     7 
     8    symfony plugin:install sfDoctrineCreateInPlacePlugin -s alpha 
     9 
     10 
     11## Usage ## 
    512 
    613First, enable the sfDoctrineCreateInPlace module in the settings.yml: 
     14     
     15    all: 
     16        .settings: 
     17             ... 
     18             enabled_modules:         [ default, sfDoctrineCreateInPlace ] 
    719 
    8   all: 
    9     .settings: 
    10       ... 
    11       enabled_modules:         [default, sfDoctrineCreateInPlace] 
    1220 
    1321Then, change your form: 
    1422 
    15   $this->widgetSchema['author_id'] = new sfWidgetFormDoctrineChoiceCreateInPlace(array( 
    16     'height' => 300, 
    17     'model' => $this->getRelatedModelName('Author'),  
    18     'add_empty' => false 
    19   )); 
     23    [php] 
     24    $this->widgetSchema['author_id'] = new sfWidgetFormDoctrineChoiceCreateInPlace(array( 
     25        'height' => 300, 
     26        'model' => $this->getRelatedModelName('Author'),  
     27        'add_empty' => false 
     28    )); 
     29 
  • plugins/sfDoctrineCreateInPlacePlugin/VERSION

    r33414 r33418  
    1 0.0.1 
     10.0.2 
  • plugins/sfDoctrineCreateInPlacePlugin/package.xml

    r33417 r33418  
    1 <?xml version="1.0" encoding="UTF-8"?> 
    2 <package packagerversion="1.4.1" version="2.0" 
    3    xmlns="http://pear.php.net/dtd/package-2.0" 
    4    xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" 
    5    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    6    xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 
    7    http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 
    8    http://pear.php.net/dtd/package-2.0.xsd"> 
     1<?xml version="1.0" encoding="utf8"?> 
     2<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.4.1" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> 
    93  <name>sfDoctrineCreateInPlacePlugin</name> 
    10   <channel>plugins.symfony-project.org</channel> 
     4  <channel>pear.symfony-project.com</channel> 
    115  <summary>A doctrine choice widget.</summary> 
    126  <description>A doctrine choice widget to add choice without leave the form screen.</description> 
     
    1711    <active>yes</active> 
    1812  </lead> 
    19   <date>2012-04-19</date> 
     13  <date>2012-04-20</date> 
    2014  <version> 
    21     <release>0.1.0</release> 
    22     <api>0.1.0</api> 
     15    <release>0.0.2</release> 
     16    <api>0.0.2</api> 
    2317  </version> 
    2418   <stability> 
     
    3327        <dir name="lib">    
    3428            <dir name="widget"> 
    35                 <file name="sfWidgetFormDoctrineChoiceCreateInPlace.class" role="data"/> 
     29                <file name="sfWidgetFormDoctrineChoiceCreateInPlace.class.php" role="data"/> 
    3630            </dir> 
    3731        </dir> 
     
    4034              <dir name="actions"> 
    4135                  <file role="data" name="actions.class.php" /> 
     36              </dir> 
     37              <dir name="templates"> 
     38                  <file role="data" name="createSuccess.php" /> 
    4239              </dir> 
    4340          </dir>