Adding news articles
These documentation pages are no longer maintained. Please visit the new documentation site.
One way to start is by creating and structuring the actual news-content. The administration interface of eZ publish makes this an easy match. For the news section, we'll use two of the built-in content classes, Folder and Article. We'll create a folder dedicated for news. Later on, all news articles will be placed inside this folder. The following list of steps explains how to create the folder.
- Bring up the administration interface.
-
Make sure you're in the root folder.
(If not: click the "Content structure" tab).
- From the dropdown box approximately in the middle of the screen, select "Folder".
- Click the "Create here" button.
-
Fill out the name and the description fields.
Name:
News
Description:
This folder contains all the news articles.
- Click "Send for publishing".
- The system will bring you back to the root folder.
We created a folder to store our news articles. This folder is a container which we use to store information. The next step is to create several news articles which are stored in our folder.
- Bring up the administration interface.
-
Make sure you are in the root folder.
(If not: click the "Content structure" tab).
-
Click on the name of the folder that we just created.
The system will take you to it (and show the empty contents of the folder).
- From the dropdown box, select "Article"
-
Click the "Create here" button.
The system will bring up the "Edit Article" page.
-
Fill in the Title, Intro and Body fields. For example, you could add the following content:
Title:
Batman beats Joker at local tournament
Intro:
Batman was playing against the evil Joker. The game ended in a non-violent way. However, rumor has it that NCF is considering sanctions against both players in this game for crimes against chess.
Body:
After beating his main competition in round 2, The Joker seemed to have things wrapped up. Indeed, Batman quickly won two pawns in his round 3 game against The Joker (1412). Then Batman seemed to enter a twilight zone of the mind in which he forgot how to play chess. After a series of incredible blunders Batman escaped from a lost middlegame into a totally lost endgame, down a piece and several pawns in a simple position where the pawns could not be stopped. Then the Joker, 'dizzy from success' as the Russians say, allowed Batman to trap his bishop and force a repetition of the position; but the fat lady hadn't sung yet. Batman, dissatisfied with swindling a draw in a game which most players would long since have resigned, wanted more. So he declined to force the repetition, and promptly walked into a one-move knight fork of his own king and rook. Rumor has it that NCF is considering sanctions against both players in this game for crimes against chess.
-
Add a thumbnail image (upload new, find object, folder up, Media, select 'article_image_01').
Feel free to use this image: article_image_01.png
-
Click the "Send for publishing" button.
The system will bring you back to the "News" folder.
You should be able to see the title of article.
(You can see the article: "http://[..]/index.php/tscm/news").
To have only one news article is boring, so lets create another one.
- Simply repeat the first steps of the previous step-by-step list (create a news article in the news folder).
-
Feel free to use the following content:
Title:
New TSCM site
Intro:
The board of TSCM has decided that it is time to change the original web page, which hasn't been changed since 1998. The new site will be powered by a system called eZ publish and will hopefully be a bit more flexible than the static page that we've had before.
Body:
Since John is gone, and because of the increasing popularity of the internet and our club, TSCM has decided to hire a freelance developer called Jane Doe to build a new TSCM site. The site will be running on the top of a sophisticated system called "eZ publish" (created by a handful of crazy people at http://www.ez.no) and will hopefully become the part of our new image.The Scandinavian Check Mates would like to thank John Doe (the previous webmaster) for his efforts. Rumors say that John moved to Brazil a couple of months ago. He will be offline for some years while researching the capitalist's primitive slaughter of the rain forests.
-
Add a thumbnail image.
Feel free to use this image: article_image_02.png
-
Click the "Send for publishing" button.
The system will bring you back to the News folder.
You should be able to see the title of the added articles.
Comments
Add a thumbnail instructions - need clarification
Mike Feghali
Friday 03 November 2006 5:20:21 am
"Add a thumbnail image (upload new, find object, folder up, Media, select 'article_image_01')."
Can you please review this and insert the steps in the correct order.
I think that these instructions may not relate to the interface in 3.8.4.
Particularly the step "find object" is not easy to find.
Thankyou