diff options
author | xue <> | 2007-04-08 21:33:23 +0000 |
---|---|---|
committer | xue <> | 2007-04-08 21:33:23 +0000 |
commit | ff32eed01f783ee33caeacb0f7315612f0994f8f (patch) | |
tree | 7b42ed14181d56632160f88f8063b54b17f176af /demos/blog-tutorial/protected/pages/Day1/Setup.page | |
parent | 773bf1d0299246d936dcad2ac2ca01bca9d64ca4 (diff) |
Added Day 2 tutorial.
Diffstat (limited to 'demos/blog-tutorial/protected/pages/Day1/Setup.page')
-rw-r--r-- | demos/blog-tutorial/protected/pages/Day1/Setup.page | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day1/Setup.page b/demos/blog-tutorial/protected/pages/Day1/Setup.page index ee4744f5..0fe877bf 100644 --- a/demos/blog-tutorial/protected/pages/Day1/Setup.page +++ b/demos/blog-tutorial/protected/pages/Day1/Setup.page @@ -21,7 +21,7 @@ php path/to/prado-cli.php -c . Running the above command creates the following directories and files:
</p>
-<img src="<%~ directories.gif %>" />
+<img src="<%~ directories.gif %>" class="output" />
<p>
We now have a skeleton PRADO application accessible via the URL <tt>http://hostname/blog/index.php</tt> which brings up a Web page showing "Welcome to PRADO".
@@ -145,13 +145,16 @@ To change the location of the root page directory and change the name of homepag </p>
<com:TTextHighlighter CssClass="source" Language="xml">
-<services>
- <service id="page"
+<?xml version="1.0" encoding="utf-8"?>
+<application id="blog" mode="Debug">
+ <services>
+ <service id="page"
class="TPageService"
BasePath="path.to.pages"
DefaultPage="NewHome"
/>
-</services>
+ </services>
+</application>
</com:TTextHighlighter>
<p>
|