WordPress.org

Ready to get started?Download WordPress

Forums

Document Repository (4 posts)

  1. AMEEKER
    Member
    Posted 4 years ago #

    I am working on a site for a city commission. They need to display an archive a large number of documents (not necessarily display the text of teh documents, though). The text of documents, articles, etc... that we want to feature will be actually shown on the site - but there are many others that have to be archived publicly for legal reasons.

    Here is an example:
    http://www.clintonvilleareacommission.org/FileShare/folder_list.asp?cmid=2980

    Any thoughts on the easiest, CLEANEST way to do that with WP? I feel like it's right in front of me.

  2. Michael Fields
    Themer
    Posted 4 years ago #

    Your site seems to be "Powered By ActiveSite" and not WordPress.

  3. AMEEKER
    Member
    Posted 4 years ago #

    That site is not my site.

    My site is a WP site.

    I was using the above as an example.

  4. Michael Fields
    Themer
    Posted 4 years ago #

    Sorry for misunderstanding you. Are you referring to the "Meeting Agendas, Documents, and Minutes" section of the above site? If so, this can be done ( with a bit of custom code ) with WordPress.

    The simplest way would be to create a page hierarchy that looks somewhat like this:

    Documents
    - CAC Meeting Agenda
    - City Project Documents
    - Survey Results
    - (etc...)

    Each page under Documents would be a "child" page.

    Once the page hierarchy is complete, you will need to upload all of your files for each of the child pages through the media upload feature on each page.

    After your files are uploaded, you will want to create a Custom Page Template which will pull all attachments associated with the page that you apply it to. Each page listed under the Documents page will need this page template applied to it.

    Normally, when I am creating a page template like this, I will open the page.php file from my theme and save as under a new name.

    For your situation, you will want to use the get_children() function to return the files that you have uploaded. Please see the linked codex page for an example.

Topic Closed

This topic has been closed to new replies.

About this Topic