Create contents with the new Content Management - Alice

advertisement
Create contents with the new
Content Management System
(Drupal):
Workflow for page editors
4/13/2015
alicewebmaster
1
Outline
•
•
•
•
•
4/13/2015
Collaboration Layout
Content Creation and edition
Searching for your pages
Copy-Paste: Bad practices
More Info
alicewebmaster
2
Collaboration Layout
4
1
2
1.
2.
3.
4.
5.
6.
3
5
Login
Menu (Contents)
Content Body
Menu (Primary Links)
Meetings (Calendar)
News Block
4/13/2015
6
alicewebmaster
3
Create Content (new Page)
Login into the system using your NICE CERN account
After login you will get:
• Dropdown menu for users
with the proper rights
(Admin, Secretaries)
• User Menu Block
4/13/2015
alicewebmaster
4
Create Content (new Page)
Suppose you want to create a new page
to put some Figures about some ALICE
detectors.
That page should appear in the Content
Menu under:
Physics
Detector Performance
4/13/2015
alicewebmaster
5
Create Content (new Page)
Select from dropdown menu:
Content management
Create content
Page
Or select from User Menu Block:
Create content
Page
4/13/2015
alicewebmaster
6
Create Content (new Page)
Set the Title of your page
If this page will appear in the menu.
Click on “Menu settings” to see the options
Set the navigation Title
Select the parent Item in the
content menu
Edit the Content Body of your page
4/13/2015
alicewebmaster
7
Create Content (new Page)
Edit the Content Body of your page with a WYSWYG editor like Word
Keep the pointer over a toolbar icon to see the
help text
Change to Edit HTML code using
the “Source” button
4/13/2015
alicewebmaster
8
Copy-Paste: Bad practices
• While copy-pasting of contents, try not to drag
into the page the format from your document
source. As a consequence:
– Awful display of pages (public is seeing this).
– Hard to maintain pages (most of the time you will have
to redo the job or clean all unwanted HTML tags into
the sorce code).
– No HTML(Text) editor is free of this. Just think when
you try to copy from a PDF file to WORD. WORD is a
clever software and fails why do you expect a HTML
editor to behave better?
4/13/2015
alicewebmaster
9
Insert Image/link to file (Upload)
User Insert/Edit Image/Link buttons to
add or edit Image/Link properties
The Image/Link properties dialogbox will
appear
Use the Browser Server button to select
and upload the file/image (next slide)
.
4/13/2015
alicewebmaster
10
“Browser Server”
File manager
Menu:
Upload: Add new files to the
current dir
Thumbnail: Create thumbnail
of the selected image(s)
Delete: Delete the selected
file(s)
Resize: Resize the setected
image(s)
File
browser
Directory
browser
Unzip: unzip the selected file
(use to upload multiplfiles)
Manage directories:
Add/Remove directories
Send to FCKEditor: Send back
the link to the selected file to the
Editor
.
Log activity
Preview
Note: Some directories or menu options could be not
present depending on your permission
4/13/2015
alicewebmaster
11
Create Content (new Page)
Set the URL of the page:
Drupal no not create folder structure in the
URL
Here you can mimic URL address inserting
here the full path (by yourself)
If you don’t set the URL, then the URL will
set automatically to something like
/node/14326
SAVE action to finish your work
4/13/2015
PREVIEW action doesn’t save changes of the
content. Use as many times until you are
satisfied with your work.
alicewebmaster
12
Content Mangement:
Looking for your pages?
Drupal doesn’t provide a “Explorer” View of contents
Filtering is the way to look for your
content
Select from dropdown menu:
Content Manament
Content Manament Filter
Or from User Menu Block:
Administer
Content Manament
Content Manament Filter
4/13/2015
alicewebmaster
13
Looking for your pages?
Here you can see the result of
the process of select
user name: genoud
Click to Edit the page
4/13/2015
alicewebmaster
14
Editing a Page
Switch between
EDIT and VIEW mode
See previous REVISIONS and revert
the old content
Add a Log message in
Revision information section
before save the changes
1. Every time you SAVE a new revision is
created.
2. Use PREVIEW to see your changes
before save the content.
3. DELETE action is definitive. All the
revision information is lost, do not ask
for help at this point.
4/13/2015
1
alicewebmaster
2
3
15
Manage the
Contents Menu
Explanation help appears on the page
Create a new menu item:
Link to any page in the
server or an external link
User Menu Block:
Administer
Menus
Contents
4/13/2015
alicewebmaster
16
Create a Image gallery
• Create a Page
• In the body of the page write:
[bg | path/to/your/gallery/folder]
Example:
[bg|Social-Events/2008/Mechoui2008|5|150|sort|all|#f5f7e7]
The root dir for all galleries files is
set to the galleries folder
In the example the path is:
Social-Events/2008/Mechoui2008
The last part is no needed. You can use it
if you need to overwrite the default settings
|5|150|sort|all|#f5f7e7
•Num of columns
•Image width
•Sorted by name
•Show all images
•Background
color
4/13/2015
alicewebmaster
17
Create a Image gallery (Example)
Here http://drupal.org/project/brilliant_gallery you can found more info about configure
galleries
4/13/2015
alicewebmaster
18
Create User News
By selecting the appropriate
tag, the News Blocks in the
front page are properly filled
4/13/2015
alicewebmaster
19
More info
• This is not a definite guide
• Check the Editor Rules page
– http://aliweb.cern.ch/editorRules.html
• That page is editable so feel free to send us the
pieces of information you might believe can be
added there.
• Contact Webmaster
– http://aliweb.cern.ch/contact.html
4/13/2015
alicewebmaster
20
Download