[Jifty-commit] r912 - in jifty/trunk: . lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Apr 24 13:21:39 EDT 2006
Author: jesse
Date: Mon Apr 24 13:21:37 2006
New Revision: 912
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Logger.pm
jifty/trunk/lib/Jifty/Manual/Tutorial.pod
Log:
r11851 at hualien: jesse | 2006-04-24 13:20:29 -0400
* POD Updates from Eric Wilhelm
Modified: jifty/trunk/lib/Jifty/Logger.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Logger.pm (original)
+++ jifty/trunk/lib/Jifty/Logger.pm Mon Apr 24 13:21:37 2006
@@ -9,7 +9,7 @@
=head1 DESCRIPTION
-Uses L<Log4Perl> to log messages. By default, logs all messages to
+Uses C<Log::Log4perl> to log messages. By default, logs all messages to
the screen.
=cut
@@ -26,7 +26,7 @@
object deals with logging for the system.
Takes an optional name for this Jifty's logging "component" - See
-L<Log4Perl> for some detail about what that is. It sets up a "warn"
+L<Log::Log4perl> for some detail about what that is. It sets up a "warn"
handler which logs warnings to the specified component.
=cut
Modified: jifty/trunk/lib/Jifty/Manual/Tutorial.pod
==============================================================================
--- jifty/trunk/lib/Jifty/Manual/Tutorial.pod (original)
+++ jifty/trunk/lib/Jifty/Manual/Tutorial.pod Mon Apr 24 13:21:37 2006
@@ -371,8 +371,16 @@
Inside your applications F<web/templates> directory, create a directory called
F<_elements>.
-Inside F<_elements>, open up a new file called C<nav> in your text editor
-and insert:
+ mkdir web/templates/_elements
+
+You may want to start with the stock jifty template, in which case you
+only need to add the C<< $top->child( Post... >> part
+
+ cat $(perl -MJifty::Util -e 'print Jifty::Util->share_root' \
+ )/web/templates/_elements/nav > web/templates/_elements/nav
+
+Otherwise, inside F<_elements>, open up a new file called C<nav> in your
+text editor and insert:
<%init>
my $top = Jifty->web->navigation;
More information about the Jifty-commit
mailing list