• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Content Placement

#5
[eluser]SitesByJoe[/eluser]
I put all my page content into a database table named "pages" and I use a structure similar to this:

page_id
page_meta_title
page_meta_description
page_meta_keywords
page_url
page_content
page_status (draft or published)
page_added
page_last_updated

One row for each page. It also helps if you build a nice form for page management. Plain text entry is fine - you can use CI's typograhy helper to make things look nice (only simple stuff of course)

Using the page_url and/or page_id I can call pages either by their id or matching url, like: mysite.com/pages/the-url-of-my-page

This set up works extremely well for both myself and my clients.


Messages In This Thread
Content Placement - by El Forum - 09-01-2009, 05:58 AM
Content Placement - by El Forum - 09-01-2009, 06:10 AM
Content Placement - by El Forum - 09-01-2009, 07:05 AM
Content Placement - by El Forum - 09-05-2009, 04:15 AM
Content Placement - by El Forum - 09-05-2009, 08:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.