Personal tools
You are here: Home Free-N-Easy Lessons Lesson 3: Create a Custom Design for your Plone Website Finish With The Content Changes

Finish With The Content Changes

Continuing onwards...


Reports


Reports will be a folder in the root folder of the website, and it can hold files like PDF documents and such. I won't give as many details, but follow these general steps:

  • Add a folder.
  • Give it the title "Reports".
  • Give it the Description "Important PDF reports".
  • Publish the folder "Reports"
  • Verify that this folder appears in your menu and the text is blue for published.

You now have all the content pieces in place!


Look at the Menu and the Tabs

It is important to look at what is listed in the menu and the top tabs, as our design specifies that we only want to see four items: Home, About, News, and Reports.

Here is a detailed screen shot zoomed to that part of the site, after clicking home:

the menu and tabs after report folder is published.jpg

On the left navigation menu we have all four, but we also have" Members" and "Events". Neither of those is published, they both have green text in the menu (they have been left as Public Draft).

The tabs show the extra "members" and "events" tabs, but no "About". Notice the tabs do not change text color based on the publish or public draft workflow state.

Here is a rule to remember about tabs. Only folders or smart folders (like the news, events, or your own smart folders you could add) show up. A page like the "about" page will not show up.

To fix this, let's add a  folder named "About" to the home folder, and put our "about" page into it and make it the default document.

  • Click on home.
  • Add a folder
  • Give it Title "About"
  • Click on save
  • Publish the new "About" folder.
  • Verify that it appears and has blue text in the menu. You will see two objects now named "about", a page and a folder.
  • Click on home
  • Click on the original "About" page item
  • In the green menu, click on the actions, and select cut
  • A little orange notice saying "about cut" will appear above the page.
  • Click on the "About" folder to open it up.
  • On the green menu, click on actions, an select paste
  • Your page should have been moved to the folder.
  • Now to make the page show up whenever we click on the folder, click on the green menu item called display, and choose "Select content item as default view".
  • You only have one content item, the page "About", so click the check circle, and click save. It will say "View changed" in orange.
  • Verify this works as default by clicking on the "About" folder. The page will appear, not a folder listing.

Note that you now will have the "About" in the tabs!

To see only published items in menu and tabs


This steps is really quite easy, thanks to Plone's navigation system. Do the following steps:

  • Click on site setup, a link in the upper right hand corner (in the site actions we will be moving down later).
  • A cool management screen name "Site Setup" will appear. Click on the Navigation Settings.
  • Don't click on anythings for now,except the following (make a note to come back here after the lesson and play with these settings. This is very powerful and can radically alter how your menus work):
  • Check "Filter on workflow state"
  • Also check the "Published" state
  • Click save
  • "Navigation states updated" will appear in orange.
  • Now click on the home tab.

You should see a very clean listing of the four items only.

Technically we are not done yet. Did you notice that our design sketch give the order with "About" as second. So we need to move it up:

  • Click on home
  • Click on the green menu contents
  • You should see a listing off all the objects in the home folder, published or not. You can click the up arrows to the right of the "About" folder (or drag it up with your mouse) to change the position above "News" and "Reports".

Now we have the content in the correct order!

published content now in correct order in menu and tabs.jpg







The Plone Hosting I Use For My Sites
The guys at webfaction have a really stable Plone hosting system. I have almost 100% uptime every week. Click this banner to find out more.
aMillionPlaces.com
See a great example of a microsite created with Plone, and learn how to boost your website traffic and online sales using Craigslist.org
To find out more...