criar modulo centro no template joomla

Mais
14 anos 6 meses atrás #47443 por thgcivic
thgcivic replied the topic: Re: criar modulo centro no template joomla
bora la vou tentar deixar algo compreensivel aki
bom vamos supor q vc criou as posições user8 e user9
o codigo no index.php ficaria assim
<?php if($this->countModules('user8') or $this->countModules('user9')) : ?>
               <div id="user8">
                	<jdoc:include type="modules" name="user8" style="xhtml" />
                </div>
            	<div id="user9">
                	<jdoc:include type="modules" name="user9" style="xhtml" />
                </div>
<?php endif; ?>

la no css coloca:
#user8 {
           float: left;
           width:100%;
}

#user9 {
           float: left;
           width:100%;
}

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

[b:1fi4zh5y]Acesse minha página [url:1fi4zh5y]http://www.webmasterthg.com.br/[/url:1fi4zh5y][/b:1fi4zh5y]
[b:1fi4zh5y][i:1fi4zh5y]Não respondo dúvidas por MP, por favor crie um tópico ñ custa nada[/i:1fi4zh5y][/b:1fi4zh5y]

Please Entrar ou Registrar to join the conversation.

  • kennyroger
  • Avatar de kennyroger Autor do Tópico
  • Offline
  • JCB! Professional
  • JCB! Professional
Mais
14 anos 6 meses atrás #47447 por kennyroger
kennyroger replied the topic: Re: criar modulo centro no template joomla
so uma pequena duvida nao sei onde colocar o codigo que tu colocou ai vou posta o codigo do meu site

<html xmlns=" www.w3.org/1999/xhtml " xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php if ($this->direction == 'rtl' or $Lang_Direction == "rtl") : ?>rtl<?php elseif ($this->direction == 'ltr' or $Lang_Direction == "ltr") : ?>ltr<?php endif; ?>" class="<?php echo IceTemplateHelper:: cssBrowserSelector() ?>">

<head>

<jdoc:include type="head" />

<?php
// Include CSS variables
include_once(JPATH_ROOT . "/templates/" . $this->template . '/css_vars.php');

?>

</head>

<body class="<?php echo IceTemplateHelper::renderClassUserTools();?>">

<!-- Accessibility -->
<ol id="accessibility">
<li><a href="#main-nav_wrap">Skip to Menu</a></li>
<li><a href="#content">Skip to Content</a></li>
<li><a href="#footer" >Skip to Footer></a></li>
</ol><!-- Accessibility -->


<!-- Site Wrapper -->
<div id="site_wrapper">

<!-- Header -->
<div id="header">

<div id="header-top">

<div class="wrapper">

<div id="header-top_c">


<div id="header-top_l">
<div id="header-top_r">
<div class="padding">

<?php if ($this->params->get('rssmodule')) { ?>
<div id="rss-module" class="floatright">
<a title="<?php echo JText::_("RSS");?>" href="index.php?format=feed&type=rss"><span><?php echo JText::_("RSS");?></span></a>
</div>
<?php } ?>


<?php if($this->params->get('FontSwitcher')) { ?>
<div id="fontswitcher">
<ul>
<li class="smallfont"><a href="<?php echo $mainurl; ?>FontSize=font-small" title="<?php echo JText::_("SMALL_FONT");?>"></a></li>
<li class="normalfont"><a href="<?php echo $mainurl; ?>FontSize=font-medium" title="<?php echo JText::_("NORMAL_FONT");?>"></a></li>
<li class="largefont"><a href="<?php echo $mainurl; ?>FontSize=font-large" title="<?php echo JText::_("LARGE_FONT");?>"></a></li>
</ul>
</div>
<?php } ?>

<?php if ($this->countModules('topmenu')) { ?>
<div class="floatright">
<jdoc:include type="modules" name="topmenu" />
</div>
<?php } ?>


</div>
</div>
</div>


</div>

</div>

</div>
<div class="wrapper">


<?php if ($this->countModules('logo')) { ?>
<div class="floatleft" id="logo">
<jdoc:include type="modules" name="logo" />
</div>
<?php } ?>

<?php if ($this->countModules('logar')) : ?>
<div class="floatleft" id="logar">
<jdoc:include type="modules" name="logar"/>
</div>
<?php endif; ?>

<?php if($this->params->get('showdate')) : ?>
<div class="floatright" id="icedate">
<?php echo JHTML::_('date', 'now', JText::_('DATE_FORMAT_LC')) ?>
</div>
<?php endif; ?>

<?php if ($this->countModules('header-top')) { ?>
<div class="floatright" id="topmenu">
<jdoc:include type="modules" name="topmenu" />
</div>
<?php } ?>

<?php if ($this->countModules('search')) { ?>
<div class="floatright" id="searcharea">
<jdoc:include type="modules" name="search" />
</div>
<?php } ?>

</div>

</div><!-- Header -->


<?php if ($this->countModules('mainmenu')) { ?>
<!-- Main Nav -->
<div id="nav-wrapper">

<div class="wrapper">

<div id="nav_container">

<jdoc:include type="modules" name="mainmenu" />

</div>

</div>

</div><!-- Main Nav -->
<?php } ?>



<!-- Content -->
<div id="content">

<div id="content-box_t"></div>

<div id="content-box_b">

<div id="content-box_container" class="clearfix">


<?php if ($this->countModules('breadcrumb')) { ?>
<div id="breadcrumb">
<jdoc:include type="modules" name="breadcrumb" />
</div>
<?php } ?>

<?php if ($this->countModules('icetabs')) { ?>
<!-- IceTabs -->
<div id="icetabs" class="clearfix">

<jdoc:include type="modules" name="icetabs" />

</div><!-- IceTabs -->
<?php } ?>


<?php if ($this->countModules('promo1 + promo2 + promo3')) { ?>
<!-- Promo -->
<div id="promo" class="clearfix">

<?php if ($this->countModules('promo1')) { ?>
<div class="<?php echo $promomodulewidth; ?> <?php echo $promomodsep1; ?> floatleft">
<jdoc:include type="modules" name="promo1" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('promo2')) { ?>
<div class="<?php echo $promomodulewidth; ?> <?php echo $promomodsep2; ?> floatleft">
<jdoc:include type="modules" name="promo2" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('promo3')) { ?>
<div class="<?php echo $promomodulewidth; ?> <?php echo $promomodsep3; ?> floatleft">
<jdoc:include type="modules" name="promo3" style="block" />
</div>
<?php } ?>


</div><!-- Promo -->
<?php } ?>



<!-- Columns Container -->
<div id="columns-container">

<div id="outer-column-container">

<div id="inner-column-container" class="clearfix">

<div id="source-order-container">


<!-- Middle Column -->
<div id="middle-column">

<div class="inside">

<jdoc:include type="message" />

<jdoc:include type="component" />

</div>

</div><!-- Middle Column -->


<?php if ($this->countModules('left')) { ?>
<!-- Left Column -->
<div id="left-column">

<div class="inside">

<jdoc:include type="modules" name="left" style="colmodule" />

</div>

</div> <!-- Left Column -->

<div class="clear-columns"></div>
<?php } ?>


</div><!-- Source Order Container -->


<?php if ($this->countModules('right')) { ?>
<!-- Right Column -->
<div id="right-column">

<div class="inside">

<jdoc:include type="modules" name="right" style="colmodule" />

</div>

</div><!-- Right Column -->

<div class="clear-columns"></div>
<?php } ?>



</div>

</div>

</div><!-- Columns Container -->




<?php if ($this->countModules('bottom1 + bottom2 + bottom3')) { ?>
<!-- Bottom -->
<div id="bottom" class="clearfix">


<?php if ($this->countModules('bottom1')) { ?>
<div class="<?php echo $botmodwidth; ?> <?php echo $botmodsep1; ?> floatleft">
<jdoc:include type="modules" name="bottom1" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('bottom2')) { ?>
<div class="<?php echo $botmodwidth; ?> <?php echo $botmodsep2; ?> floatleft">
<jdoc:include type="modules" name="bottom2" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('bottom3')) { ?>
<div class="<?php echo $botmodwidth; ?> floatleft">
<jdoc:include type="modules" name="bottom3" style="block" />
</div>
<?php } ?>


</div>
<!-- Bottom -->
<?php } ?>



</div>

</div>

</div>
<!-- Content -->





<?php if ($this->countModules('footer1 + footer2 + footer3 + footer4 + footer + footermenu') or $this->params->get('icelogo')) : ?>

Please Entrar ou Registrar to join the conversation.

  • kennyroger
  • Avatar de kennyroger Autor do Tópico
  • Offline
  • JCB! Professional
  • JCB! Professional
Mais
14 anos 6 meses atrás #47632 por kennyroger
kennyroger replied the topic: Re: criar modulo centro no template joomla
sem resultado <!-- s:x --><img src="{SMILIES_PATH}/icon_mad.gif" alt=":x" title="Furioso" /><!-- s:x -->

Please Entrar ou Registrar to join the conversation.

Mais
14 anos 6 meses atrás #47653 por thgcivic
thgcivic replied the topic: Re: criar modulo centro no template joomla
bom o jeito vai ser vc testando o codigo dentro do seu index
e ver aonde ficar melhor para vc!
inté <!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

[b:1fi4zh5y]Acesse minha página [url:1fi4zh5y]http://www.webmasterthg.com.br/[/url:1fi4zh5y][/b:1fi4zh5y]
[b:1fi4zh5y][i:1fi4zh5y]Não respondo dúvidas por MP, por favor crie um tópico ñ custa nada[/i:1fi4zh5y][/b:1fi4zh5y]

Please Entrar ou Registrar to join the conversation.

  • kennyroger
  • Avatar de kennyroger Autor do Tópico
  • Offline
  • JCB! Professional
  • JCB! Professional
Mais
14 anos 6 meses atrás #47654 por kennyroger
kennyroger replied the topic: Re: criar modulo centro no template joomla
nao sei onde colocar o codigo tipo quero que fica no centro do site

Please Entrar ou Registrar to join the conversation.