Tutorial for CI 3 - news section - bug found |
In the tutorial at creation of application/views/news/index.php (on http://www.codeigniter.com/user_guide/tu...ction.html) is a detail missing.
The line <p><a href="<?php echo $news_item['slug'] ?>">View article</a></p> does not work, because the created link is only the slug, but it must be news/slug. The following change corrects the issue (and was also part of the documentation for CI 2). <p><a href="news/<?php echo $news_item['slug'] ?>">View article</a></p> Can anyone confirm this? Thanks PBI |
Messages In This Thread |
Tutorial for CI 3 - news section - bug found - by pbi - 08-09-2015, 12:24 PM
RE: Tutorial for CI 3 - news section - bug found - by Narf - 08-10-2015, 02:27 AM
RE: Tutorial for CI 3 - news section - bug found - by pbi - 08-10-2015, 10:37 AM
RE: Tutorial for CI 3 - news section - bug found - by Carpintonto - 08-20-2015, 01:13 PM
RE: Tutorial for CI 3 - news section - bug found - by Narf - 08-20-2015, 02:17 PM
|