Welcome Guest, Not a member yet? Register   Sign In
Comments on tutorial
#1

[eluser]Unknown[/eluser]
Hello,

I have just started playing with CodeIgniter. I went through the tutorial (http://ellislab.com/codeigniter/user-guide/tutorial).

The documentation is good and I appreciate it. The tutorial is also useful however there are a couple of glitches that made me waste quite some time. I therefore thought about telling you about it hoping that you can make it even better.

1. I couldn't find a tarball or a zip of the code of the tutorial
2. In the page "news section", the name of a variable changes between the first code snippet and the later ones. "$data['news'] = $this->news_model->get_news($slug);" becomes "$data['news_item'] = $this->news_model->get_news($slug);". I did copy paste and spent a lot of time trying to understand why I was getting a blank page.
3. In the same page, the link in index.php is wrong. It reads "<p><a href="news/&lt;?php echo $news_item['slug'] ?&gt;">View article</a></p>" but the "news/" shouldn't be there.

Cheers,
Barth




Theme © iAndrew 2016 - Forum software by © MyBB