Welcome Guest, Not a member yet? Register   Sign In
Static Page Tutorial
#1
Question 

I am fairly new to web development but have done a bit of programming in the past.  I manually created a few html and then php sites, however lots of people on various forums suggest using a framework, so I read up about them and  I chose CodeIgniter.

So I am working my way through the documentation and now the tutorial but I have just spent the last 5 minutes puzzling over one part of the "Static Pages" tutorial.
My problem was in the "Adding logic to the controller" section, I didn't find it obvious at all where the code for the view function should be entered?  Confused
Having re-read that section many times I am assuming the view function belongs in the Pages.php controller which was created earlier?

I just wanted to point this out as:
a) I was hoping someone could confirm my assumption
b) hopefully it will help someone else
c) possibly encourage someone to modify the tutorial to clarify that part of the instructions.

Thanks in advance.

Craig
Reply


Messages In This Thread
Static Page Tutorial - by CraigT - 03-28-2016, 07:59 AM
RE: Static Page Tutorial - by Wouter60 - 03-28-2016, 11:00 AM
RE: Static Page Tutorial - by CraigT - 03-28-2016, 03:09 PM
RE: Static Page Tutorial - by cartalot - 03-28-2016, 01:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB