Curso Online - Plone Básico - Versão 2.0.5
Criando Conteúdo
Quando trabalhamos no Zope, todos os objetos que criamos, utilizamos a ZMI, no Plone, podemos criar os conteúdos utilizando a própria interface do Plone.
Para Fazermos esse trabalho, vamos logar com uma
conta de membro, sem privilégios de administrador. Vamos
acessar a pasta Minha Pasta.
Você pode adicionar conteúdo assim:

Ou adicionar conteúdo assim:

Das duas formas é possível
adicionar os conteúdos. Vamos entender que estes são os
conteúdos básicos do Plone, e não incluem nenhum
produto adicional.
5.1 – Adicionando e editando um Documento
Vamos adicionar um documento, que é um
tipo de conteúdo utilizado para representar páginas de
texto dentro de um Plone site.

Agora, vamos editar os campos.
Nome Curto - O
Nome Curto é parte do endereço web do item. Ele não
deve conter espaços, letras maiúsculas, sublinhados
ou caracteres especiais.
Título (Obrigatório) – Este será o nome do objeto a ser visualizado no Browser. Pode ser diferente do nome curto.
Descrição
- Informe uma breve descrição para esse item.
Corpo do texto – Como o próprio nome diz, é no corpo do texto, o lugar onde devemos colocar a nossa informação.
Formato
Se você não tem certeza sobre que formato usar, selecione 'Texto Puro' e escreva o documento da forma que você normalmente faz.
Texto Estruturado
HTML
Texto Puro
Enviar conteúdo (opcional)
Arquivos enviados irão
substituir o corpo do texto informado acima. - Esta é uma boa
opção quando
Depois de adicionado, iremos ver a seguinte
janela:

Se nós clicarmos em edição,
voltaremos a tela onde criamos o nosso documento.
5.2 – Propriedades de um Documento
Todos os objetos tem suas propriedades atribuidas
a eles. Para trabalharmos com as propriedades de um documento devemos
clicar em propriedades, onde
veremos a seguinte janela:

Existem alguns itens
que podemos modificar, que são:
Permitir discussão: Permite
habilitar a opção de gerar comentários sobre o
documento criado.
Palavras-chave: São palavras utilizadas para associar metadados ao documento, criando assim uma referência ao objeto em relação a Palavra-chave
Data de Efetivação: É a data em que o documento irá ficar disponível para visualização. As buscas feitas dentro do Plone só irão mostrar dastas de documentos que já foram efetivados.
Data de Expiração: É a data em que o documento irá expirar, ou seja, deixará de ficar disponível aos usuários do site. Também afeta as buscas do site.
Formato:
É o formato mime-type do
documento. Somente em casos muito específicos, modifique-o.
Idioma:
Idioma do documento em questão.
Direitos Autorais
: Direitos autoriais do
documento.
Contribuidores:
Pessoas que contribuiram com
este documento.
5.3 – Criando outros tipos de conteúdos
Existem outros tipos de conteúdos que
podem ser incluidos no Plone também. Eles são:
Evento
Eventos são objetos para serem utilizados
nas pesquisas por tópico do calendário.
Arquivo
Objetos Arquivo podem conter arquivos passiveis
de serem baixados.
Pasta
Pastas Plone podem definir ações
'visão' personalizadas ou irão se comportar como
listagens de diretórios sem uma definida.
Imagem
Objetos Imagem podem ser embutidos em documentos
do Portal.
Link
Links são endereços web anotados.
Notícia
Notícias contém pequenos artigos e
podem possuir um título assim como uma descrição
opcional.
5.4 – Texto estruturado
Texto estruturado é uma forma de se
escrever documentos html sem ter que utilizar tags html. Veja os
comandos abaixo:
Formatação básica do texto
Texto em itálico
Digite:
*italics*
para obter isto: italics
Texto sublinhado
Digite::
_underline_
para obter isto: underline
Texto negrito
Digite::
**boldface**
para obter isto: boldface
Cabeçalhos e parágrafos
Cabeçalhos de texto
Digite::
My header
If you enter a single line paragraph (e.g. like the one
above and then indent the first line of the next paragraph,
the text in the one-line paragraph will be transformed into
a header.
Note that the second paragraph in the section also has
its first line indented.
Be sure to leave a blank line between paragraphs. This
paragraph's first line is indented, too.
Subheading 1
Use additional indentation to generate subheaders.
Notice that the subheading's level of indenting is the
same as the level for the previous paragraph, but that
*this* paragraph is further indented. It's the extra
indenting of *this* paragraph that creates the subheading.
Subheading 2
Get smaller subheadings by indenting even more.
Subheading 3
Get even smaller subheadings by indenting even more.Para obter isto:
My header
If you enter a single line paragraph (e.g. like the one above and then indent the first line of the next paragraph, the text in the one-line paragraph will be transformed into a header.
Note that the second paragraph in the section also has its first line indented.
Be sure to leave a blank line between paragraphs. This paragraph's first line is indented, too.
Subheading 1
Use additional indentation to generate subheaders. Notice that the subheading's level of indenting is the same as the level for the previous paragraph, but that this paragraph is further indented. It's the extra indenting of this paragraph that creates the subheading.
Subheading 2
Get smaller subheadings by indenting even more.
Subheading 3
Get even smaller subheadings by indenting even more.
Texto pré-formatado
Bloco de texto pré-formatado
Digite:
The next block of text will be formatted exactly the way I have typed it::
This is all preformatted.
Your formatting will be used until...
... you stop indenting text.
None of the *structured text* **commands** _work_ here.
This is still indented.
This is no longer preformatted.
Para obter isto:
The next block of text will be formatted exactly the way I have typed it:
This is all preformatted.
Your formatting will be used until...
... you stop indenting text.
None of the *structured text* **commands** _work_ here.
This is still indented.
Não é pré-formatado.
Texto pré-formatado na linha
Digite:
Some ordinary text here. Some 'preformatted text here'. More ordinary text.
para obter isto:
Some ordinary text here. Some preformatted
text here. More ordinary text.
Listas
Listas não ordenadas
Digite:
* First item
* Second item. Note that there is a blank line between
each list item.
* Make lists within lists by using extra indentation
* Second indented item.
* Third item in the main list.para obter isto:
First item
Second item. Note that there is a blank line between each list item.
Make lists within lists by using extra indentation
Second indented item.
Third item in the main list.
Listas numeradas
Digite:
1 First item
2 Second item. Again, note that there is a blank line
between each list item.
3 Third item in the main list.para obter isto:
First item
Second item. Again, note that there is a blank line between each list item.
Third item in the main list.
Observe que listas nimeradas não podem ser colocadas dentro de listas não numeradas.
Listas de definição
Digte:
First item -- More information about the first item.
Second item -- More information about the second item.
Third item -- More information about the third item.para obter isto:
- First item
- More information about the first item.
- Second item
- More information about the second item.
- Third item
- More information about the third item.
Links
Links
Digite:
"A link to CNN":http://www.cnn.com
para obter isto:
Email
Digite:
"address@example.com":mailto:address@example.com
para obter isto::
Referências
Digite:
I am going to refer to a footnote here [1].
Later in the text I will have a footnotes
section.
.. [1] My footnote. The initial whitespace
controls indentation, then the two periods
followed by the space and the bracketed text
create the anchor.para obter isto:
I am going to refer to a footnote here [1].
Later in the text I will have a footnotes section.
[1] My footnote. The initial whitespace controls indentation, then the two periods followed by the space and the bracketed text create the anchor.
Imagens
Imagens
Digite:
"Text shown when the browser does not load the image":img:logo.jpg
para obter isto:
Tabelas
Tables
Digite:
|------------------------------------|
| Fruit | Nut | Mammal |
|====================================|
| Apple | Peanut | Squirrel |
|------------------------------------|
| Orange | Macadamia | Woodchuck |
|------------------------------------|
| Banana | Walnut | Dolphin |
|------------------------------------|
| This spans 2 columns! | Cat |
|------------------------------------|
| Pear | This spans 2 columns! |
|------------------------------------|
| This spans 3 columns! |
|------------------------------------|
para obter isto:
|
Fruit |
Nut |
Mammal |
|---|---|---|
|
Apple |
Peanut |
Squirrel |
|
Orange |
Macadamia |
Woodchuck |
|
Banana |
Walnut |
Dolphin |
|
This spans 2 columns! |
Cat |
|
|
Pear |
This spans 2 columns! |
|
|
This spans 3 columns! |
||
Fonte do Texto Estruturado: Livro do Plone – TcheZope.