|
||||||||||||||||
CRC Research Articles
The Community Tools, Interviews & Publications, and What's New pages are made up of short articles that are organized onto the three pages (the About Us page is not made up of articles).This makes sure the content of each page displays properly. Otherwise, when you edit the page you could easily "break" the page so it doesn't work any more.
Each article is a node by itself.
You can see a list of all the articles at News Items List
The list is organized by page, and shows the weight of the items (items with greater weight go lower on the page).
This list can show published items or unpublished ones (those that do not appear on the page). At the top of the list, you select whether Published should be Yes or No. (The page does not tell you that's what you're choosing. I don't know why it doesn't.)
Here is a sample article.
The articles are made up of parts called fields. The sample shows how and where each field is displayed.
Each article has to have a title and main content, but you can use the other fields or not, as you wish. In some fields, you can insert images or links, and format the text using the toolbar at the top of the edit box for that.
The Image, Item Content, and Links fields will fill the centre part of the article, and their widths will adjust to fill the area.
Working with Articles
To create a new article, click the "Create Content" link at the top of the left-side menu on Admin pages.
To change an article, display the CRC Research Articles List, click the article you want, then click the Edit tab in the article.
When working with an article, you see its fields, you don't see it the way it will be displayed. So have the page open in one window, and edit the article in another window. When you submit changes, go back to the page and refresh it to see the results of the changes you made.
Components of this system
Content Type: CRC Research Article
Views (2 of them)
Pages
http://www.crcresearch.org/newstable (Link is in admin menu)
Site Organization: choose "main"
Title: This is also the node title - main title of the piece.
Title 2nd Line: If the actual title takes 2 lines. Formatted same as the title line
Link for title: Address if the title needs to be linked. Always opens in new tab or window. Goes only on the first line of title.
Subtitle: grey italic text below the title
Page: choose which page the article will be published on
Weight: sets the order of the articles on the page. Use a number from 00 to 99. You have to use two digits, so you might find it easier to just use numbers between 10 and 99.
Length: sets the background graphic for the article. We cannot use the same background for very short articles as we use for the longest one. If you find the background ends before the article does (or if the background repeats) then you need to set the length longer. If no colour shows in the background, you need to set the length shorter. If you already have it set to "shortest", put some blank lines into the article to make it longer.
Allowed values for page:
10|interviews
20|publications
30|news
40|about us
50|community tools
60|online surveys
70|community research connections
80|e-tools
90|other resources
I recommend you not delete or re-use articles, but uncheck the "published" box to keep them from appearing. This will maintain an archive of articles.
Width of the table depends on whether the title of the page is Interviews. All other pages have the narrow table to leave space for the right-side Highlights box. If you need another page with the wide table, edit the file
views-list-news_view_list.tpl.php
Don't blame me for the file name - this is a Drupal thing.
If you need help with this, get in touch with me. My co-ordinates are at the bottom of this page.
The article title will not take any html code. It is plain text only.
The Article Content field is the main body of the article. You can use any of the editing tools in here, including images and links.
Ann has asked that we not use lists (bullets) in this section of the site.
About the page template system
Pages for Highlights block:
This is a block. When you define the pages where it appears, click the Source button, then enter each page on its own line. Any other method doesn't really work.
For pages (selection on create / edit CRC Research Article) - just put up with the <br> tags. Can't seem to get rid of them.
As a rule, links to outside sites should be set to target='blank'. You do this on the Target tab of the links dialogue in the field editor.
Bernadine Roslyn
info@bayberrylane.ca
613-756-2580

