Development

Changeset 11742

You must first sign up to be able to contribute.

Changeset 11742

Show
Ignore:
Timestamp:
09/23/08 07:01:28 (2 months ago)
Author:
halfer
Message:

Missed off security template, plus as of 1.1.2, sqlite path repair no longer required. This is now good to use

Files:

Legend:

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

    r11369 r11742  
    136136The SQL statements found is this file can be used to initialize a database with 
    137137the same table structure. 
    138  
    139 >**Note** 
    140 >At the time of writing, the file path configured for the sqlite database file in the 
    141 >1.1 sandbox is not set up correctly. This however is easily fixed: just open up 
    142 >`/config/propel.ini` and ensure that the following lines have 7 sets of '..' in them: 
    143 > 
    144 >     propel.database.createUrl  = sqlite://./../../../../../../../data/sandbox.db 
    145 >     propel.database.url        = sqlite://./../../../../../../../data/sandbox.db 
    146 > 
    147 >If they do not, copy the lines as they appear here, and save the file. 
    148138 
    149139To build the table structure based on the the SQL file, type: 
     
    972962post page. 
    973963 
     964Now add a template in `apps/backend/modules/security/templates/indexSuccess.php`: 
     965 
     966    <form method="POST" action="<?php echo url_for('security/index') ?>"> 
     967    <table> 
     968    <tr> 
     969    <?php echo $form ?> 
     970    </tr> 
     971    <tr> 
     972    <td colspan="2"><input type="submit" name="submit" value="Login"/></td> 
     973    </tr> 
     974    </table> 
     975    </form> 
     976 
    974977Let's now make the post administration module the default one in our backend system. To 
    975978do this, open up the `apps/backend/config/routing.yml` file and locate the