Community Partner

FDIC Employees from Nordstrom bagged potatoes and oatmeal for AFAC. We appreciated their help.

Adding and Deleting Pages

To Add a new Page to your Site you must do the following:

1. Add a New Page

  • In Contribute navigate to the supplied start page for each section, or to a page with the same template you want to use.
  • Click New in the upper left corner and select Copy of Current Page.
  • Enter the page title and click OK. Convention for page title is: Arlington Food Assistance Center - Page Title
  • Edit the new page as needed.
  • When finished Send for Review for approval.
  • To upload the final page click Publish, enter your file name and check that it is going to the correct folder.
  • Filename should end with .php
  • Important: Once the file is uploaded, you need to add the new page to the menu structure. (rules for this are located at the bottom ot the sitemap file) Go to Editing the sitemap.php file below.

 

To Delete a page you must do the following:

2. Deleting a Page

note: Depending on your role, you might be able to delete pages from your website. If you can delete pages, you can delete files of any type on your website, including image files. If you do not have permission to delete a page that you need to delete, talk to your Contribute administrator or see Set folder and file access settings.

  • In Contribute navigate to the page you want to delete.
  • Click the Choose button in the toolbar; then select a file and click OK.
  • Select File > Actions > Delete Page.
    Note: This menu item is disabled if you do not have permission to delete pages on your website.
  • Click Yes to confirm that you want to delete the file.
  • Contribute deletes the page and displays the last page you viewed in the browser.
  • Important: Once the file is deleted, you need to delete the page from the menu structure. (rules for this are located at the bottom ot the sitemap file) Go to Editing the sitemap.php file below.

 

To edit the sitemap.php file you must do the following:

3. Editing the sitemap.php file

The main Nav Menus can be easily changed sitewide by editing a single document using Contribute. The file sitemap.php is basically a series of unordered list items that contain the nav structure for the entire site. So each item on the main top nav (About, Services, etc.) has it's own unordered lists. Any submenu items are nested lists. The same document drives the side nav, which displays only the pages in the same list as the page you're viewing.

  • Editing the sitemap.php file in Contribute

    1. Browse to the file sitemap.php, located on the main root level of the file tree or type in url in to the top bar in contribute:
      http://afac.org/sitemap.php
    2. Click the Edit button at the top of the Contribute Window.
    3. Add new Menu items into the appropriate section of the listed items.
    4. To increase or decrease list levels use the indent/outdent buttons in Contribute.
    5. NOTE: sitemap.php formatting is very strict take care to not add line break (<br> tags), horizontal rules (<hr>) or any code other than list items and links.
    6. Review and save all changes.