Professional CodeIgniter

(singke) #1

Chapter 8: Last-Minute Upgrades


250


Now that you have this in place, you have another interesting problem. On some of your other public -
facing views, you may have links in place to “ welcome/verify ” or “ welcome/about_us, ” but with your
new controller function, the path will be more like “ welcome/pages/verify. ”

Simply make those edits as needed, primarily in your footer and header files. Now Claudia is free to
create as many pages as she likes and link to them within her pages. All you have to do is tell her what
the URL is going to be, and she ’ ll be able to create those links successfully.

When you ’ re done, your Privacy page ought to be pulling in whatever is in the database record for that
page, as pictured in Figure 8 - 5.

Figure 8 - 5

Creating a Newsletter Tool


If you ’ re getting nervous at the thought of creating an e - mail Newsletter tool, don ’ t be. Like any other
task in CodeIgniter, you have to think it through in stages and then plan your work accordingly. This
reduces the complexity of the task to more manageable parts.
Free download pdf