Development

Changeset 10381 for doc/branches/1.1/tutorial/my-first-project.txt

You must first sign up to be able to contribute.

Show
Ignore:
Timestamp:
07/21/08 09:39:55 (4 months ago)
Author:
dwhittle
Message:

1.1: fixed typos in my first project tutorial

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.1/tutorial/my-first-project.txt

    r10189 r10381  
    153153interface automatically: 
    154154 
    155     $ php symfony propel:generate-crud frontend post Post 
    156     $ php symfony propel:generate-crud frontend comment Comment 
     155    $ php symfony propel:generate-crud frontend post Post --with-show 
     156    $ php symfony propel:generate-crud frontend comment Comment --with-show 
    157157    $ php symfony cache:clear 
    158158 
     
    234234      http_metas: 
    235235        content-type: text/html 
    236  
    237     metas: 
    238       title:        The best blog ever 
    239       robots:       index, follow 
    240       description:  symfony project 
    241       keywords:     symfony, project 
    242       language:     en 
     236   
     237      metas: 
     238        title:        The best blog ever 
     239        robots:       index, follow 
     240        description:  symfony project 
     241        keywords:     symfony, project 
     242        language:     en 
    243243 
    244244The home page itself needs to be changed. It uses the default template of the 
     
    570570    list_of_posts: 
    571571      url:   /latest_posts 
    572       param: { module: post, action: list
     572      param: { module: post, action: index
    573573 
    574574    post: 
     
    627627    <div id="navigation"> 
    628628      <ul style="list-style:none;"> 
    629         <li><?php echo link_to('Manage posts', 'post/list') ?></li> 
    630         <li><?php echo link_to('Manage comments', 'comment/list') ?></li> 
     629        <li><?php echo link_to('Manage posts', 'post/index') ?></li> 
     630        <li><?php echo link_to('Manage comments', 'comment/index') ?></li> 
    631631      </ul> 
    632632    </div> 
     
    678678add to the `sf_sandbox/lib/model/Post.php`: 
    679679 
    680     [php] 
     680    [php]     
     681    function __toString() 
     682    { 
     683      return $this->getTitle(); 
     684    } 
     685 
    681686    public function getNbComments() 
    682687    {