Como Incluir um Logo em PNG na template Mittwochj 1.5 Red ?

Mais
14 anos 9 meses atrás #10184 por Uriel
Uriel replied the topic: Re: Como Incluir um Logo em PNG na template Mittwochj 1.5 Red ?

andrehmancha escreveu:

Uriel escreveu: assim
va no template e dentro va em imagens
la vc vai ver qual é a do logo vc pode substituir a imagem de logo pela sua imagem
sem mudar o CSS do template !!
mas uma coisa imagens em PNG
se não me engano elas não abrem direito no IE !!!

Abraço

Uriel,

As imagens PNG abrem perfeitamente em qualquer navegador.. até no IE. kkkkkkkkkkkkkkkk

O problema acontece na hora que vc vai salvar o arquivo.. é preciso escolher a opção certa, mas funciona sim, perfeitamente!

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

assim é que varias pessoas ja tiverem problemas com PNG no IE !!!
mas que abria eu sabia !!

Please Entrar ou Registrar to join the conversation.

  • Alex@tec.info
  • Avatar de Alex@tec.info Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
14 anos 9 meses atrás #10185 por Alex@tec.info
Alex@tec.info replied the topic: Re: Como Incluir um Logo em PNG na template Mittwochj 1.5 Red ?
Pessoal,

A tal template nao tem logo como imagem. Só tem imagem no cabeçalho. No primeiro post eu coloquei o link deala que se encontra aqui no clube mesmo em templates. Teria que ser criado esta opção para incluir uma imagem de logo. Só q nao mando muito bem com os códigos ainda.

valeu.

Please Entrar ou Registrar to join the conversation.

  • Alex@tec.info
  • Avatar de Alex@tec.info Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
14 anos 9 meses atrás #10220 por Alex@tec.info
Alex@tec.info replied the topic: Re: Como Incluir um Logo em PNG na template Mittwochj 1.5 Red ?
Outra questão. Estou estundando PHP e CSS, mas por enquanto nao consigo fazer uma coisa simples como mudar uma posição de um módulo da template. Eu queria que o User 2 ficasse abaixo do User 1
Por default na template eles estão lado a lado. Quem puder dar uma forcinha agradeço muito!!

Segue o código do PHP abaixo:

?php
defined( '_JEXEC' ) or die( 'Restricted index access' );
echo '<?xml version="1.0" encoding="utf-8"?'.'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
" www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ;
<html xmlns=" www.w3.org/1999/xhtml" ;
xml:lang="<?php echo $this->language; ?>"
lang="<?php echo $this->language ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
<?php
$collspan_offset = ( $this->CountModules( 'right', 'left' ) + $this->CountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$colspan = 0;
$right = 0;
$left = 0;
$banner = 0;
$user3 = 0;
$user4 = 0;
$user5 = 0;
$top = 0;
// banner combos
//user1 combos
if ( $this->CountModules( 'user1' ) + $this->CountModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
$colspan = 3;
} elseif ( $this->CountModules( 'user1' ) == 1 ) {
$user1 = 1;
$colspan = 1;
} elseif ( $this->CountModules( 'user2' ) == 1 ) {
$user2 = 1;
$colspan = 1;
}
//banner based combos
if ( $this->CountModules( 'banner' ) and ( empty( $_REQUEST ) || $_REQUEST != 'edit' ) ) {
$banner = 1;
}
//right based combos
if ( $this->CountModules( 'right' ) and ( empty( $_REQUEST ) || $_REQUEST != 'edit' ) ) {
$right = 1;
}
//left based combos
if ( $this->CountModules( 'left' ) and ( empty( $_REQUEST ) || $_REQUEST != 'edit' ) ) {
$left = 1;
}
//top based combos
if ( $this->CountModules( 'top' ) and ( empty( $_REQUEST ) || $_REQUEST != 'edit' ) ) {
$top = 1;
}
//user3 based combos
if ( $this->CountModules( 'user3' ) and ( empty( $_REQUEST ) || $_REQUEST != 'edit' ) ) {
$user3 = 1;
}
//user4 based combos
if ( $this->CountModules( 'user4' ) and ( empty( $_REQUEST ) || $_REQUEST != 'edit' ) ) {
$user4 = 1;
}
//user5 based combos
if ( $this->CountModules( 'user5' ) and ( empty( $_REQUEST ) || $_REQUEST != 'edit' ) ) {
$user5 = 1;
}
?>
<meta name="designer" content="Alexander Hanke - <!-- w --> www.ah-68.de <!-- w -->" />
<meta name="licence" content="Creative Commons ShareAlike 3.0" />
<link href="templates/<?php echo $this->template ?>/css/template.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/mootools.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/hover.js"></script>
</head>
<body>
<div id="wrapper">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div id="header">
<div class="maintitle"><?php echo $mainframe->getCfg( 'sitename' ); ?></div>
<?php
if ( $banner > 0 ) {
?>
<div id="banner">
<div class="banner_inner">
<jdoc:include type="modules" name="banner" style="raw" />
</div>
</div>
<?php
}
?>
</div></td>
</tr>
<tr>
<td><div id="top_menu">
<div id="top_menu_inner">
<jdoc:include type="modules" name="user3" style="xmhtl" />
</div>
</div></td>
</tr>
<tr>
<td id="content_outer" valign="top"><table align="center" border="0" cellpadding="0" cellspacing="0" class="content_table">
<tr valign="top">
<?php
if ( $left > 0 ) {
?>
<td><div id="left_outer">
<div id="left_inner_float">
<div id="left_inner">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
</div>
</div></td>
<?php
}
?>
<td width="100%" id="content"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="content">
<tr>
<td colspan="<?php echo $colspan; ?>"><div id="breadcrumbs">
<div class="breadcrumbs">
<jdoc:include type="module" name="breadcrumbs" />
</div>
</div>
<div id="main_content">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div></td>
</tr>
<?php
if ($colspan > 0) {
?>
<tr valign="top">
<?php
if ( $user1 > 0 ) {
?>
<td width="50%"><div id="user1_outer">
<div class="user1_inner">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
</div></td>
<?php
}
if ( $colspan == 3) {
?>
<?php
}
if ( $user2 > 0 ) {
?>
<td width="50%"><div id="user2_outer">
<div class="user2_inner">
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
</div></td>
<?php
}
?>
</tr>
<tr>
<td colspan="<?php echo $colspan; ?>"></td>
</tr>
<?php
}
?>
</table></td>
<?php
if ( $right > 0 ) {
?>
<td><div id="right_outer">
<div id="right_inner_float">
<div id="right_inner">
<jdoc:include type="modules" name="right" style="xhtml" />
</div>
</div>
</div></td>
<?php
}
?>
</tr>
</table>
<div align="center">
<div id="copy">
<div id="copy_inner" class="copy_inner"></strong> <strong> </strong> Desenvolvimento <strong><a href="<?php echo $this->params->get('TemplateDesignLink') ?>" target="_blank"><?php echo $this->params->get('TemplateDesign'); ?></a></strong> <strong> | </strong> Copyright &copy; <?php echo $this->params->get('CopyrightJahr'); ?> <strong><a href="<?php echo $this->params->get('CopyrightLink') ?>" target="_self"><?php echo $this->params->get('Copyright'); ?></a></strong></div>
</div>
</div></td>
</tr>
</table>
<jdoc:include type="modules" name="debug" style="xhtml" />
</div>
</body>
</html>

Please Entrar ou Registrar to join the conversation.