Adding/Editing pages in the new site

This page is in 2 sections

  • The text editor
  • Page options - dealing with the light blue tabs below the

The text editor

For text editing, we are using a program called FCKEditor, which we have been using for almost a year now on other sites and are very happy with. Most of the buttons/features should be self-explanatory (if you hold the cursor over them you can see their description), but we'll talk about a few of the less obvious ones here.

ckeditor-view.png

 

1. Paste from Word.
Besides the content, a Microsoft Word document contains a lot of unnecessary extra code and formatting wich can ruin the look of a page - use the Paste as Word button in the text editor to remove the junk but still keep the basic formatting.  If you want to remove all formatting completely, you can use the Paste as Text button.

2. Links

When you press the link button (the globe and chain) you can add a link by pasting in the URL of the page. We often find it handy to thave the page you are linking to open on a seperate tab, so you can easily copy and paste the URL. You can also press 'Browse server' to link to files or images, more on that here...

The 'link to menu' button will search for pages in your country site to link to (to save you pasting in the URL) but it isnt fully functional yet.

3. Images
We have a whole page on adding and editing images here....

4. Show Blocks
This is not a button you'll be using often - basically if you're trying to put a complicated layout on your page and it is not working out the way you expected, this button will show the different 'blocks' on your site (eg paragraphs, tables, div classes) so you can see if any of them are accidentally bumping against each other.

5. Teaser button
A teaser is basically like the 'Description' field in Plone.

  • On the Centre site, it is the text that appears on the 'Latest News' page/sidebar block for your country site.
  • On the Races site, it appears in News and Events sidebar blocks as well as different 'views' that can automatically display laterst news and results.

When you want to set a teaser, you click the cursor on where you think the break should take place between the teaser and the main content, and then press the 'teaser' button. A red line will appear separating the teaser from the rest of the content.

If you unclick the 'Show summary in full view' checkbox, then the teaser you have set will not appear in the main page at all, so you can keep your teaser and main content completely seperate.

6. Source
This is basically the HTML code of the page. Bear in mind that settings such as the colour and size of text and headings is set globally using a time-honoured method known as CSS, so tyring to change them may not bring about the results you expected. A website looks more professional if it has a consistent look.

7. Templates

We have included some templates to help speed up the process of creating web pages:

  • Centre site: We have many countries making a country site for the first time. To help speed up the process, we have included a few page templates that can be added and then changed/translated.
  • Races site - we have included quite a few 'view' templates that will automaticaly display events/ results happening in your country

8. Spellcheck
The spellchecker uses a remote service to spellcheck, and you can select quite a few languages. Its a little annoying the way it keeps holding up 'Chinmoy' as a spelling error, but we're not sure what we can do about that.

9. Format
If you want some text as a heading, you select it here

10. Style
This is only really important for images (so far) - for more on this see the page on adding and editing images....

  • To align images left or right, click on the image and then select the appropriate option from the 'style' list.
  • If you want to add an image caption but still have the image unaligned, then select 'unaligned image with caption'
     

Page Options

Submit page for moderation

Country editors will see a 'Submit page for moderation' checkbox, when they are ready to send their changes to the country manager to be moderated. Country managers will not see this, as their content is published by default.

Mark as news/event item

This is handled differently in the Centre and Races sites, see the below links:

Navigation controls

When the 'Show child pages...' option is ticked here, some nice navigation options show up at the bottom of the page. If the page has child pages, they will show up in a 'table of contents'-like listing. Below that, a previous/next navigation shows up. This can be a very nice alternative to the navigation menu.

If you don't want to go through every page enabling/disabling this setting, you can save work by checking the 'Apply the above setting...' box.

 

Revision information

Drupal creates new revisions every time you edit a page. If you are unhappy with how the page looks once you save it, you can 'revert' to the previous revision in the edit tab.

In the 'Revision information' section you can organise your revisions by explaining the current changes in the Log Message box. Note that revisions older than a few weeks will be automatically deleted.


URL path settings (i.e the short name)

  1. The URL path is basically what we used to call the 'short name' in Plone. When saving, all the URL paths will automatically be named after the title of the page, not including the folder structure. In Plone they were named after the folder structure. If you want to rename your page something different than the title, just uncheck the Automatic alias checkbox in the URL settings and enter your title. Read more on setting URL...
  2. It is best to have the URL's all in Roman alphabet characters. If your country language uses additional accents on letters, or is entirely non-Roman (eg Cyrillic or Japanese), Drupal will do its best to 'transcribe' the non-Roman bits of the URL into phonetic Roman letters. We think the attempt at transcribing will cover all scripts used on the site, including all Cyrillic scripts, Georgian and Japanese katakana. If there is a character not covered, please let us know.
    However, you may feel that the results are not good enough and that it's best to enter an alias yourself. Note that if the Save button is pressed with a non Roman alias and the transcribing fails, any non-Roman symbols will simply be stripped from the path.
  3. When importing the site, we made sure all the old URLs were kept, so there will be no broken links.

Book outline

Basically this controls where the page gets placed in the parent/child structure of the site. By default, the parent is the page you were on when you clicked the 'create new page' link. If you were in an admin page when you clicked it (eg editing a sidebar block) then the parent page is set to the country home page. You can change that default here.