Changeset 11742
- Timestamp:
- 09/23/08 07:01:28 (2 months ago)
- Files:
-
- doc/branches/1.1/tutorial/my-first-project.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/branches/1.1/tutorial/my-first-project.txt
r11369 r11742 136 136 The SQL statements found is this file can be used to initialize a database with 137 137 the same table structure. 138 139 >**Note**140 >At the time of writing, the file path configured for the sqlite database file in the141 >1.1 sandbox is not set up correctly. This however is easily fixed: just open up142 >`/config/propel.ini` and ensure that the following lines have 7 sets of '..' in them:143 >144 > propel.database.createUrl = sqlite://./../../../../../../../data/sandbox.db145 > propel.database.url = sqlite://./../../../../../../../data/sandbox.db146 >147 >If they do not, copy the lines as they appear here, and save the file.148 138 149 139 To build the table structure based on the the SQL file, type: … … 972 962 post page. 973 963 964 Now 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 974 977 Let's now make the post administration module the default one in our backend system. To 975 978 do this, open up the `apps/backend/config/routing.yml` file and locate the