CodeIgniter Forums
Newbie: when I type a url, the constructor is called, but not the methods - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Newbie: when I type a url, the constructor is called, but not the methods (/thread-57038.html)



Newbie: when I type a url, the constructor is called, but not the methods - El Forum - 02-09-2013

[eluser]Unknown[/eluser]
I am following the step by step guide, I have the problem that when I type a url, the constructor is called, but not the methods, the example I am doing is the following: Tutorial − News section - Tutorial - Create news items

http://ellislab.com/codeigniter/user-guide/tutorial/create_news_items.html

I did just copy and paste, what can be the problem ?

Josef Knecht


Newbie: when I type a url, the constructor is called, but not the methods - El Forum - 02-10-2013

[eluser]Jan_1[/eluser]
Hi Josef,
Did you just copy&paste;? You know, a model i.e. needs a bit more, the usual anatomy.
May be just share a little bit more of your code - etwas konkreter eben.
J