J3.x

Adding custom fields/Calendar Field/pt-br: Difference between revisions

From Joomla! Documentation

Created page with "pt-br"
Created page with "=====Usando o campo no frontend====="
Line 31: Line 31:
[[File:Calendar-pt-br.png|670px]]
[[File:Calendar-pt-br.png|670px]]


=====Using the field in the frontend=====
=====Usando o campo no frontend=====
In the frontend, you can see the field as you see in the following image. The option ''Automatic display'' is responsible for the position of the field and your template is responsible for the design of the field.<br />
In the frontend, you can see the field as you see in the following image. The option ''Automatic display'' is responsible for the position of the field and your template is responsible for the design of the field.<br />
Fields are only displayed in the frontend if you have filled them with data in the article. If it is not a required field, can you forget it?
Fields are only displayed in the frontend if you have filled them with data in the article. If it is not a required field, can you forget it?

Revision as of 01:04, 25 August 2017


Campo Calendário


Campo Calendário

Fornece uma caixa de texto para a entrada de uma data. Um ícone ao lado da caixa de texto linka para um calendário pop-up, que também pode ser usado para inserir o valor da data.

Opções

Se você usar a data padrãoː o valor pode ser um formato ISO 8601 (AAAA-MM-DD HH: MM: SS) ou NOW, que exibe a data atual. Cuidado: Mesmo que você não especifique a hora na data padrão, a hora é exibida quando a opção Mostrar hora estiver ativada.
As opções especiais dentro deste campo são:

  • Mostrar hora
    Se ativado, o campo do calendário também exibirá a hora. Os formatos são localizados usando as cadeias de linguagem regulares.


Informações relacionadas

Veja:

Prints de tela

Criando o campo

Digamos que você crie um campo com as opções mostradas na próxima figura.

File:Calendar field create-pt-br.png

Usando o campo no backend

No backend, ao criar um artigo ou um contato, você vê o campo como na seguinte imagemː

File:Calendar-pt-br.png

Usando o campo no frontend

In the frontend, you can see the field as you see in the following image. The option Automatic display is responsible for the position of the field and your template is responsible for the design of the field.
Fields are only displayed in the frontend if you have filled them with data in the article. If it is not a required field, can you forget it?