Está aqui: Entrada Forum JoomlaPT

Comunidade Portuguesa Joomla - JoomlaPT

  
Voltar   Fórum Comunidade Portuguesa de Joomla > Joomla - Geral > Projectos > Flash

Flash Flash em Joomla. Inserir Flash em artigos, temas ou menus.

Use a pesquisa antes de abrir tópicos
ANUNCIE NO JOOMLAPT - CLIQUE AQUI !

Responder
 
Ligações de sites Opções do tópico Pesquisar no Tópico Visualização
Antigo 25-02-2006, 04:18
MiguelCardoso
Visitante
 
Mensagens: n/a
Padrão Topo do tema em Flash

Boas tou com uma duvida em relação a este tema e a outros como ele, a duvida é a seguinte. Eu queria trocar o header habitual por 1 header em flash, como é que posso fazer para o conseguir? o problema é que a chamada do header é feita por css não é directamente no template.php.. Já tentei várias formas mas nenhuma delas foncionou até agora por isso estou aberto a sugestões
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação
Antigo 26-02-2006, 00:44
Phantasma
Visitante
 
Mensagens: n/a
Padrão Re: Topo do tema em Flash

Citação:
Colocado originalmente por MiguelCardoso
se eu tento no css por o caminho do swf não me aparece nada, se tento alterar directamente no template fica fora do sitio n fonciona bem :/
Boas...

Isso se me permites é um bocadinho de falta de experiência...
Para fazer o que queres é simplesmente HTML puro....

Se o SWF fica fora do sitio, existem comandos para o ajustar, ou melhor ainda, profissionalmente dizendo o SWF que vais inserir em qualquer site que seja, tem de esatr já com as medidas definitivas e próprias de onde vai ficar...

Se precisares saber mais sobre HTML, aqui fica um site que fala TUDO ou QUASE TUDO sobre HTML...

www.htmlcodetutorial.com

Abraço

P.S: Se puderes, mete aqui a URL de onde queres meter o SWF...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação


Antigo 27-02-2006, 18:18
Phantasma
Visitante
 
Mensagens: n/a
Padrão Re: Topo do tema em Flash

Viva...

Miguel...eu até gostava de ajudar, mas sinceramente não tou a perceber qual é a dificuldade.

Os backgrounds são definidos datrés da CSS.
Se editares a CSS e removeres de lá o insert da imagem ou da cor de fundo, tens a tabela livre para meter o que quiseres.

Se já tens a animação em flash, e ela ultrapassa o tamanho da tabela onde a queres meter, aí então fica difícil, pois as coisas nem sempre se casam.

Porque é que nao desenhas tu um template próprio teu
Assim deixas de ter esses problemas de coisas pré prontas...

Abraço
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação


Antigo 13-03-2006, 16:51
MiguelCardoso
Visitante
 
Mensagens: n/a
Padrão Re: Topo do tema em Flash

Vou deixar aqui o index.php (parte relevante está em bold) a questão que ponho é como colocar um ficheiro swf como header em x da imagem que está generic_header.jpg
O template é o rhuk_orange_smoothie e está instalado em Cyberjornal o seu jornal online - Inicio se alguem me conseguir dar umas indicações que me metam no bom caminho agradeço


Código PHP:
<?php echo "<?xml version=\"1.0\"?>";
defined'_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%22%3E"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL="http://www.w3.org/1999/xhtml%22%3E"]http://www.w3.org/1999/xhtml">[/URL]
<head>
    <title><?php echo $mosConfig_sitename?></title>    
    <?php include ("editor/editor.php"); ?>
    <?php initEditor(); ?>
    <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO?>" />
    <?php include ("includes/metadata.php"); ?>
    <link href="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/css/template_css.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/favicon.ico" />
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <a name="up" id="up"></a>
    <center>
    [B]<table width="910" border="0" cellpadding="0" cellspacing="0">
        <tr>
        <td background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/generic_header.jpg" /><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="5" height="98" align="absmiddle"/><span class="sitetitle"><?php ?> </span></td>[/B]
        </tr>
        <tr>
         <td background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/blocks_bg.gif">
            <table width="898" cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td width="174" align="left"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="165" height="30" /></td>
                <td width="391" align="left"><?php include "pathway.php"?></td>
                <td width="178" align="right"><?php echo (strftime (_DATE_FORMAT_LC)); ?><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="18" height="5" /></td>
                <form action='<?php echo sefRelToAbs("index.php"); ?>' method='post'>
                <td width="155" align="left">
            <input class="searchbox" type="text" name="searchword" height="16" size="15" value="<?php echo _SEARCH_BOX?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX?>') this.value='';" />
            <input type="hidden" name="option" value="search" />
         </td></form>
            </tr>
            </table>
            <table width="898" cellpadding="0" cellspacing="0" border="0">
            <tr valign="top">
                <td width="174" height="459" class="leftnav">
                    <!-- left nav -->
                    <table border="0" cellspacing="0" cellpadding="0" width="152">
                    <tr>
                        <td class="navcontent">
                            <table border="0" cellspacing="0" cellpadding="0" width="146">
                                <tr>
                                    <td class="navbg_main">
                                    <?php mosLoadModules 'left' ); ?>
                                    </td>
                                </tr>
                            </table>
                        </td>    
                        <td valign="top" background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/shadow_right.gif"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4"/></td>
                    </tr>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="152">
                    <tr>
                        <td><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4" /></td>
                        <td bgcolor="#becbcd"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="148" height="4" /></td>
                    </tr>
                    </table>
                    <br>
                    <?php if (mosCountModules"user1" )) { ?>
                    <!-- user1 nav -->
                    <table border="0" cellspacing="0" cellpadding="0" width="152">
                    <tr>
                        <td class="navcontent">
                            <table border="0" cellspacing="0" cellpadding="0" width="146">
                                <tr>
                                    <td class="navbg_user">
                                    <?php mosLoadModules 'user1' ); ?>
                                    </td>
                                </tr>
                            </table>
                        </td>    
                        <td valign="top" background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/shadow_right.gif"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4"/></td>
                    </tr>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="152">
                    <tr>
                        <td><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4" /></td>
                        <td bgcolor="#becbcd"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="146" height="4" /></td>
                    </tr>
                    </table>    
                    <?php ?>             </td>
                
                <td class="centernav" width="99%">
                    <?php if (mosCountModules"top" )) { ?>
                    <!-- top nav -->
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                        <td class="navcontent" width="99%">
                            <table border="0" cellspacing="0" cellpadding="0" width="100%">
                                <tr>
                                    <td class="navbg_user">
                                    <?php mosLoadModules 'top' ); ?>
                                    </td>
                                </tr>
                            </table>
                        </td>    
                        <td valign="top" background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/shadow_right.gif"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4"/></td>
                    </tr>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                        <td><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4" /></td>
                        <td bgcolor="#becbcd" width="99%"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="99%" height="4" /></td>
                    </tr>
                    </table>    
                    <br>
                    <?php ?>
                    
                    <!-- main nav -->
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                        <td class="navcontent" width="99%">
                            <table border="0" cellspacing="0" cellpadding="0" width="100%">
                                <tr>
                                    <td class="navbg_main">
                                    <?php include ("mainbody.php"); ?>
                                    </td>
                                </tr>
                            </table>
                        </td>    
                        <td valign="top" background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/shadow_right.gif"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4"/></td>
                    </tr>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                        <td><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4" /></td>
                        <td bgcolor="#becbcd" width="99%"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="99%" height="4" /></td>
                    </tr>
                    </table>    
                    <br>
                    
                    <?php if (mosCountModules"bottom" )) { ?>
                    <!-- bottom nav -->
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                        <td class="navcontent" width="99%">
                            <table border="0" cellspacing="0" cellpadding="0" width="100%">
                                <tr>
                                    <td class="navbg_user">
                                    <?php mosLoadModules 'bottom' ); ?>

                                    </td>
                                </tr>
                            </table>
                        </td>    
                        <td valign="top" background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/shadow_right.gif"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4"/></td>
                    </tr>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                        <td><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4" /></td>
                        <td bgcolor="#becbcd" width="99%"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="99%" height="4" /></td>
                    </tr>
                    </table>    
                    <?php ?>
          <p>
           <?php mosLoadModules 'inset' ); ?>
         </p>       </td>
                
                <?php if (mosCountModules"right" ) + mosCountModules"user2" ) > 0) { ?>
                <td class="rightnav" width="155">
                    <?php if (mosCountModules"right" )) { ?>
                    <!-- right nav -->
                    <table border="0" cellspacing="0" cellpadding="0" width="151">
                    <tr>
                        <td class="navcontent">
                            <table border="0" cellspacing="0" cellpadding="0" width="145">
                                <tr>
                                    <td class="navbg_user">
                                    <?php mosLoadModules 'right' ); ?>
                                    </td>
                                </tr>
                            </table>
                        </td>    
                        <td valign="top" background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/shadow_right.gif"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4"/></td>
                    </tr>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="151">
                    <tr>
                        <td><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4" /></td>
                        <td bgcolor="#becbcd"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="147" height="4" /></td>
                    </tr>
                    </table>
                    <br>
                    <?php ?>
                    
                    <?php if (mosCountModules"user2" )) { ?>
                    <!-- user2 nav -->
                    <table border="0" cellspacing="0" cellpadding="0" width="151">
                    <tr>
                        <td class="navcontent">
                            <table border="0" cellspacing="0" cellpadding="0" width="145">
                                <tr>
                                    <td class="navbg_main">
                                    <?php mosLoadModules 'user2' ); ?>
                                    </td>
                                </tr>
                            </table>
                        </td>    
                        <td valign="top" background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/shadow_right.gif"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4"/></td>
                    </tr>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" width="151">
                    <tr>
                        <td><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="4" height="4" /></td>
                        <td bgcolor="#becbcd"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="147" height="4" /></td>
                    </tr>
                    </table>                    
                    <?php ?>
                </td>
                <?php ?>
            </tr>
            </table>
            <table width="898" cellpadding="0" cellspacing="0" border="0">
            <tr>
             <td>           <div align="center">
              <?php mosLoadModules 'footer' ); ?>
             </div></td>
            </tr>
            <tr>
                <td>
                 <div align="center"> <br />
Director: Miguel Cardoso <br />
Registo no ICS n&ordm; 124880 <br />
<br />
Copyright &copy; Cyberjornal Lda. Lisboa (2005-2006). Todos os direitos reservados <br />
 </div></td>
            </tr>
            </table>
            </td>
        </tr>

    </table>
    </center>
</body>
</html>

Última edição por horus_68 : 25-03-2009 às 18:51
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação


Antigo 13-03-2006, 19:19
Twenty
Visitante
 
Mensagens: n/a
Padrão Re: Topo do tema em Flash

Olá, tenta assim:
Código PHP:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="519" height="290">
    <
param name="movie" value="directorio do flash" />
    <
param name="quality" value="high" />
    <
embed src="directorio do flash" width="519" height="290" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
  </
object
Substitui no lugar da imagem este codigo, nao te esquecas de alterar o tamanho

Última edição por horus_68 : 25-03-2009 às 18:50
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação


Antigo 13-03-2006, 19:54
Phantasma
Visitante
 
Mensagens: n/a
Padrão Re: Topo do tema em Flash

Minha Nossa Senhora........ :o :o :o

No lugar daquilo que está em negrito mete lá isso:

Código PHP:
 <table width="910" border="0" cellpadding="0" cellspacing="0">
<
tr>
<
td>
<
object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="519" height="290">
<
param name="movie" value="directorio do flash" />
<
param name="quality" value="high" />
<
embed src="directorio do flash" width="519" height="290" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">
</
embed>
</
object>
</
td
Porta-te

Última edição por horus_68 : 25-03-2009 às 18:52
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação


Antigo 13-03-2006, 23:30
MiguelCardoso
Visitante
 
Mensagens: n/a
Padrão Re: Topo do tema em Flash

Agora apareceme o flash (aleluia ) estou com o seguinte codigo:

Código:
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
	<a name="up" id="up"></a>
	<center>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...sion=7,0,19,0" width="898" height="98" title="Header">
 <param name="movie" value="http://www.cyberjornal.net/movie1.swf" />
 <param name="quality" value="high" />
 <embed src="http://www.cyberjornal.net/movie1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="898" height="98"></embed>
</object><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="5" height="98" align="absmiddle"/><span class="sitetitle"><?php ?> </span></td>
		</tr>		
	    <td background="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/blocks_bg.gif">
			<table width="898" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td width="174" align="left"><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="165" height="30" /></td>
				<td width="391" align="left"><?php include "pathway.php"; ?></td>
				<td width="178" align="right"><?php echo (strftime (_DATE_FORMAT_LC)); ?><img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_orange_smoothie/images/spacer.gif" width="18" height="5" /></td>
				<form action='<?php echo sefRelToAbs("index.php"); ?>' method='post'>
				<td width="155" align="left">
            <input class="searchbox" type="text" name="searchword" height="16" size="15" value="<?php echo _SEARCH_BOX; ?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" />
            <input type="hidden" name="option" value="search" />
         </td></form>
A questão é a seguinte, o background image que aparecia blocks_bg.gif deixou de aparecer, alguma ideia do porquê?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação


Antigo 14-03-2006, 00:18
helt
Visitante
 
Mensagens: n/a
Padrão Re: Topo do tema em Flash

Tá esquesito tá...
Mas tu não podes atribuír background directamente no markup com o atributo background, sendo isto um documento xhtml, entre isso estão outras coisas... usa o css para atribuir o estilo do markup ou faz da seguinte maneira, por ex: <td style="background-image: url(image.gif);">. Coloca o alt text em todas as imagens que tiveres no documento, verifica que tens as tags fechadas devidamente /> , etc...
http://validator.w3.org/check?verbos...rjornal.net%2F
Talvez a enorme quantidade de erros que tens na página já comece a dar de si, aconselho-te a rever esses erros.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação


Antigo 14-03-2006, 00:48
MiguelCardoso
Visitante
 
Mensagens: n/a
Padrão Re: Topo do tema em Flash

tentei com o td style não deu, secalhar fiz algo mal para não variar :P genero o td background já vem de origem no template por isso em princípio devia de dar vou tentar por a imagem como background no css é capaz de dar assim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação


Antigo 21-08-2006, 11:49
angelo_cesar
Visitante
 
Mensagens: n/a
Padrão Re: Topo do tema em Flash

bom dia pessoal estou precisando ajuda de vcs

"bom tenho um template no topo que esta em php e o mesmo se encontra com codigo deste jeito abaixo"

Citação:
<td colspan="6" valign="bottom" background="<?php echo $mosConfig_live_site;?>/templates/siteground-11/images/sg_12_09.jpg" width="700" height="186">
e queria substituir o "sg_12_09.jpg" por um arquivo em flash como devo fazer isto ?

Angelo Araujo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com citação


Responder

Favoritos

Opções do tópico Pesquisar no Tópico
Pesquisar no Tópico:

Pesquisa avançada
Visualização

Regras para mensagens
Não pode colocar novos tópicos
Não pode colocar respostas
Não pode colocar anexos
Não pode editar as suas mensagens

BB code está Ligado
Emoções estão Ligado
Código [IMG] está Ligado
Código HTML está Desligado
Trackbacks are Ligado
Pingbacks are Ligado
Refbacks are Ligado

Ir para...


Hora baseada na GMT +1. São agora 04:17.


Criado em vBulletin® Versão 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. :: Traduzido por Joomlapt.com
Copyright © 2009 Comunidade Portuguesa Joomla - JoomlaPT. Todos os direitos reservados.
Design YD Labs. Network Provider SPVHOSTING.