User Guide: .../user_guide/general/creating-pages

DatDat
edited February 2011 in Bug Reports
Near the end of the tutorial

...
<?php
$slug = uri_segment(3);
if (!empty($slug))
{
...

should be

...

<?php
$slug = uri_segment(2);
if (!empty($slug))
{
...

When I did the tutorial I ended up with: http://localhost:8888/news/first-slug as my URI

Comments

Sign In or Register to comment.