Adding News Items

This is only applicable for one or two CMS sites where the appropriate functionality has been established.

Replace the domain digitalfundi.com in these examples with your domain.

This Help File shows you how to:

It assumes your CMS system is setup with:

Prepare your photos

On most sites, on a dedicated photo page, 400px wide will allow two to sit side by side on most screens, and is probably the best size to go for. But please check the appropriate size to use.

Rename them if you wish – if they follow the convention of one folder per page, a numeric file name is fine, and a lot easier to remember what to type when you are coding the page.  But any old file name will do provided you can type it right. No spaces please – use underscore – and if you mix cases, be sure to match it exactly in the code.

It's suggested that you have a news subfolder, and then further folders in the form YYYYMMDD for each news item.

eg photos for a news item on 13 Aug 2007 would go in a folder uploads/images/news/20070813/

Later, When you use the {image} tag it assumes you are looking for photos in the folder uploads/images/, so you only need to specify folders within the uploads/images/ folder, eg src="news/20070813/1.jpg"

Summary

Now, login to your CMS admin area

Create the news item

Select from the Menu Content > News  (last item in drop down)

Note the category used for the existing articles.

Note that the title will appear on the page, together with the summary at the top of the article.  So don’t repeat the summary in your first paragraph.

Scroll down, and check the Post Date.  Leave status as published (unless you don’t want it to appear yet, in which case change to Draft)

Tick use Expiration date.

Check that Start Date = Post Date = today or earlier

Set End Date as appropriate. 

Submit, and the news item will now appear.  Go check it.

To retire an article

Again, Select from the Menu Content > News and click to select an article.

Scroll down and adjust the End Date to yesterday or earlier. Submit, and the article will no longer be displayed.

Editing an article

The editor is similar to the editor available in SendStudio, and suffers from many of the same problems.  Ideally I want to simplify it so all you can do is enter paragraphs, and maybe sub-headings, images and lists. 

If your text is being copied from a word document, suggest you put it through Notepad first to remove all the spurious word formatting.

So enter, or paste the raw words.

Adding an image:  Use a special tag which looks like this

{image src="news/YYYYMMDD/nn.jpg" alt="words that appear when mouse hovers over image" }

Note the curly brackets.  You can type this direct into the text, you do not need to toggle to see the “source”.

Note also that the alt text is optional, but it’s good practice. The alt text is what will be used by a screen reader for a blind person to describe the image. It also defaults to the title text, which is what appears when you hover a mouse over the image in a browser - also called a tool tip. You could have separate and different alt and title texts.

For most items put the image at the top right of the article.  So insert the image tag at the start of the text, and then add class="imgright".  Here’s an example

{image src="news/20070509a/01.jpg" alt="Clinic officer with new bed" class="imgright"}

Then put the rest of the images at the bottom of the article.  They will by default line up to the left margin, have nice space around them, and fit as many onto a line as there is room for.  Most times this will be just two images per line.  But no need for line breaks etc.

Snags

No preview – so you have to check the live site quickly and adjust if needed

No easy control over whether paragraphs (<p></p>) or line breaks (<br/>) get created.  I tend to edit the source to make sure everything is in neat paragraphs, and I avoid the use of breaks.

Should be enough to get you going.


Last Update 29 August, 2007

Back to Help Index