Easily Edited Content and Function Question

Discussion in 'HTML & Website Design' started by lightingsale, Mar 9, 2010.

  1. #1
    So I am currently building a website for my church, and I need to make it possible for others to update pages with small announcements. I created the site in Dreamweaver CS3. I have no clue how I could have them update the site without first sending me the information, seeing as how most of them are illiterate when it comes to the web.

    Also, I have a "Staff Blog" page which should change every day. Is there a way that I can tell an image to change to another image every day? For example, Monday would show a picture of person A, then on Tuesday it would show a picture of person B...etc, without me having to change it by hand every time?

    Thank you!
     
    lightingsale, Mar 9, 2010 IP
  2. outrefranc

    outrefranc Active Member

    Messages:
    94
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #2
    This is difficult to set-up outside of a CMS like Wordpress or Drupal. I would suggest to forget Dreamweaver, and go for Wordpress. Otherwise, you create a database with a table for all posters, and another table for all the posts, with persmissions, and that's quite a lot of work.
     
    outrefranc, Mar 9, 2010 IP
  3. proprod

    proprod Active Member

    Messages:
    216
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    90
    #3
    You could use PHP:

    if (date('D') == 'Mon') {
    echo "image_monday.jpg";
    }
    elseif (date('D') == 'Tue') {
    echo "image_tuesday.jpg";
    }
    Code (markup):
    and so on.

    Or something similar ;)
     
    proprod, Mar 9, 2010 IP