Author: basos
Date: 2010-02-03 13:38:18 +0100 (Wed, 03 Feb 2010)
New Revision: 27488
Modified:
plugins/sfSimplePagePlugin/trunk/README
Log:
FIX readme
Modified: plugins/sfSimplePagePlugin/trunk/README
===================================================================
--- plugins/sfSimplePagePlugin/trunk/README 2010-02-03 12:34:25 UTC (rev
27487)
+++ plugins/sfSimplePagePlugin/trunk/README 2010-02-03 12:38:18 UTC (rev
27488)
@@ -54,7 +54,7 @@
* [Optional] Use the sfSimplePageFile routing rule to create links to files
in the static root dir
e.g.in template :
- <?php echo link_to( 'About', '@sfSimplePageFile?file=about.html')?>
+ ><php echo link_to( 'About', '@sfSimplePageFile?file=about.html')>
* [Optional] I18n support is provided through the classical means of session
user culture (sf_culture parameter)
@@ -66,13 +66,13 @@
before giving a 404 error.
Example contents of static folder
- static:
- en:
- help.html
- about.html
- el:
- help.html
- about.html
+ >static/
+ > en/
+ > help.html
+ > /about.html
+ > el/
+ > help.html
+ > about.html
The application is responsible for management of a sane sf_culture
session variable.
Read i18n support in "symfony book".
@@ -81,10 +81,10 @@
content on every page you desire.
e.g. in apps/frontend/modules/product/templates/showSuccess.php
- [...]
- ><div id="terms">
- ><?php include_component('sfSimplePage','static',
array('file'=>'terms.html') ) ?>
- ></div>
+ > [...]
+ > <div id="terms">
+ >< php include_component('sfSimplePage','static',
array('file'=>'terms.html') ) >
+ > </div>
will output the contents of terms.html file inside the #terms div !
NOTES:
@@ -96,7 +96,8 @@
>all:
> sf_simple_page_plugin_route_prefix: documentation
> sf_simple_page_plugin_template_path: %SF_DATA_DIR%/doc
- This will mean that the route prefix for static content is documentation
(i.e. domain.com/index.php/documentation) and
- that the file data are in data/doc relative to sympfony root on a typical
installation
+ This will mean that the route prefix for static content is documentation
+ (i.e. domain.com/index.php/documentation) and that the file data are
+ in data/doc relative to sympfony root on a typical installation
\ No newline at end of file
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.