Page 4 of 4 FirstFirst 1234
Results 49 to 52 of 52

Thread: My own CMS

  1. #49
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Blog

    • Database connection

    • Query from items where category is blog

    • Display data by latest date first

    • Implement pagination


    options
    • View comments

    • Add comments

    • Display a particular news item (link in title) and show comments in that view (limit)



    Articles

    • Database connection

    • Query from items where category is articles

    • Display data by latest date first

    • Display title and first paragraph

    • Link title to full article


    options
    • View comments

    • Add comments


    Projects

    Same as articles, just different category.


    Contact and about section

    • Database connection

    • Query from items where category is either contact or about

    • Display title and content



    Photoblog

    All PHP driven



    That's everything i've got for the display. The database connection happens quite a lot so would it be wise to include the db connection in a seperate PHP file and then require it in all the db queries? Doing a detailed design on the admin section now

  2. #50
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    Why would you want to store the content for an about and contact page in the database, they willl just be static HTML so you'd be making an unnecessary demand on the database. Plus, it's easier to modify a static HTML page in your code editor than via phpmyadmin or the equivalent

  3. #51
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    Are you going to require users to register if they want to add comments or view comments?

    Also I wouldn't see about and contact being modified a great amount - about and contact you could barely consider content. I would leave them as static personally.
    Last edited by yamangman; 03-02-2005 at 04:07 PM.
    To err is human. To really foul things up ... you need a computer.

  4. #52
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Yeh i'm going to leave those pages as static. No they won't have to register in order to post a comment.

    I'm just writing the admin section now, i'll paste code later on. Still need to do the SQL code as well

Page 4 of 4 FirstFirst 1234

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need a decent CMS...
    By Kezzer in forum Software
    Replies: 14
    Last Post: 03-06-2007, 10:56 PM
  2. Are There Any Decent Free CMS Systems?
    By Jonny M in forum Software
    Replies: 3
    Last Post: 13-09-2003, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •