Mensagem de bom dia, boa tarde...

  • sanestev
  • Avatar de sanestev Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
15 anos 10 meses atrás #21449 por sanestev
sanestev created the topic: Mensagem de bom dia, boa tarde...
Boa tarde, galera.
Como faço para colocar uma mensagem de bom dia, boa tarde e boa noite no joomla? Sou iniciante, se alguem puder me ajudar eu agradeço.

Please Entrar ou Registrar to join the conversation.


Mais
15 anos 9 meses atrás #21933 por herlonoliveira
herlonoliveira replied the topic: Re: Mensagem de bom dia, boa tarde...
Olá,

Você ja tentou inserir um código externo em php

Atenciosamente,

Hérlon Oliveira
(11) 3221-0884 - (11) 2685-6088 - (11) 8641-5058
<!-- w --><a class="postlink" href=" www.vpstudio.com.br "> www.vpstudio.com.br </a><!-- w -->

Please Entrar ou Registrar to join the conversation.

Mais
15 anos 9 meses atrás #22813 por shirodo
shirodo replied the topic: Re: Mensagem de bom dia, boa tarde...
Ola
depois de um batalha consegui.segue o codigo.e pode ser visto em :www.parceirosdaindustria.com.br
</head>

<body>
</head>
<script language="JavaScript" type="text/javascript">
<!--
datenow = new Date();
timenow = datenow.getTime();
datenow.setTime(timenow);
hournow = datenow.getHours();
if (hournow > 18)
{
greeting = "Boa Noite!";
}
else
if (hournow > 12)
{
greeting = "Boa Tarde!";
}
else
{
greeting = "Bom Dia!";
}

document.write("<span style='font-family: Arial; font-size: 12px; color: #000000; text-decoration: none;'>" + greeting + "</span>");
//-->
</script>



<body>

</body>

</html></body>

</html>
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nova pagina 12</title>
</head>

<body>
<font style="font-size:12px;font-family:Arial;" color=#000000>
<div id="basicdate">
</div>
</font>
<script language="JavaScript" type="text/javascript">
var now = new Date();
var days = new Array('Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sabado');
var months = new Array('Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro');
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
var year = (now.getYear() < 1000) ? now.getYear() + 1900 : now.getYear();

today = days[now.getDay()] + ", " + date + "," + months[now.getMonth()] + " " + year;

basicdate.innerHTML = today;
</script>



</body>

</html>


eu usei o modulo jumi ,muito bom segue o link:http://extensions.joomla.org/extensions/edition/custom-code-in-content/1023

valeuu <!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

Doveni _Especialista em usinagem cad/cam, [color=#00BF00:2hfwpudx]joomla meu vicio[/color:2hfwpudx].
[color=#FF0000:2hfwpudx] www.parceirosdaindustria.com.br [/color:2hfwpudx]
[color=#0000FF:2hfwpudx] www.ondeeuvou.com.br [/color:2hfwpudx]

--Cada um tem hoje o que desejou ontem, e tera amanha o que desejou hoje--

Please Entrar ou Registrar to join the conversation.

  • sanestev
  • Avatar de sanestev Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
15 anos 2 meses atrás #35483 por sanestev
sanestev replied the topic: Re: Mensagem de bom dia, boa tarde...

herlonoliveira escreveu: Olá,

Você ja tentou inserir um código externo em php


Como eu faço para isso? Tem algum lugar específico que eu tenho que colocar o codigo em PHP?

Please Entrar ou Registrar to join the conversation.

Mais
15 anos 2 meses atrás #35869 por tarso
tarso replied the topic: Re: Mensagem de bom dia, boa tarde...
Voc? pode incerir no modulo mod_html este eu uso para inserir codigos.

Please Entrar ou Registrar to join the conversation.