Add content to the database for each page. The content is provided as HTML snippets or as an SQL file which can be imported.
- [Instructor] We're almost ready to allow the user…to select page content from the navigation…and then display it but in order to display…that content we have to make sure that we have content.…So in this movie we're going to make sure…that we have page content in our database,…available to display.…We're also going to add some homepage content,…let's start there.…There are few files that are included in the Exercise Files…that we're going to be using here,…the first is static_homepage.php.…I'm going to grab that page…and just drag it into the shared directory,…inside private + shared,…I'm going to add static_homepage.php.…
Now, in the public directory I'm going to need…to add some images…and one of those is going to be homepage_assets…and the other one is going to be page_assets.…I'm going to take both of those…and drag those into there as well.…Homepage_assets has the images that we need…to show the homepage.…They're used by that static_homepage.php…and I'm keeping them separate from the page_assets…which are the images…
- Creating a content management system
- Building dynamic content navigation
- Using context and function options for conditional behavior
- Hiding content from the public view
- Insecure direct object reference
- Allowing HTML in dynamic content
- Previewing content in the public context
- Working with cookies and sessions
- Storing status messages in the session
- Secure user authentication (login/logout)
- Regulating page access
- Nesting related resources
- Managing an ordered list automatically
Skill Level Beginner
1. Create a Content Management System
2. Build Dynamic Content Navigation
3. Use Context and Options
4. Cookies and Sessions
5. Regulate Page Access
6. Nesting Related Resources
Next steps1m 15s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.