Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/05/2010, 08:17
Avatar de el_cesar
el_cesar
 
Fecha de Ingreso: mayo-2001
Ubicación: Cali
Mensajes: 2.423
Antigüedad: 22 años, 10 meses
Puntos: 20
Respuesta: Modulo derecho en portal no se ve en ie

y este es el codigo de la plantilla

Código PHP:
Ver original
  1. <?php
  2. //Codigo de Seguridad
  3. defined('_JEXEC') or die('Acceso Denegado');
  4.  
  5. //Definiendo Variables
  6. $ruta_p=JURI::base()."templates/".$this->template."/";
  7. $ruta_s=JURI::base();
  8. $blog_texto=JRequest::getVar('view');
  9.  
  10.  
  11. //$contenido="-parcial"; Solo si hay modulos en left o en right pero no en ambos a la vez.
  12. $contenido="";
  13. if($this->countModules('right')){
  14. $contenido="-parcial";
  15. }
  16.  
  17.  
  18. ?>
  19. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  20. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">
  21. <head>
  22. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  23. <jdoc:include type="head" />
  24.  
  25. <!--Carga de Archivos CSS-->
  26. <link href="<?php echo $ruta_p;?>css/template.css" type="text/css" rel="stylesheet" />
  27. <link href="<?php echo $ruta_s;?>templates/system/css/general.css" type="text/css" rel="stylesheet" />
  28. <link href="<?php echo $ruta_s;?>templates/system/css/system.css" type="text/css" rel="stylesheet" />
  29.  
  30.  
  31. <?php  if($this->countModules('right')){?>
  32. <script type="text/javascript">function igualarAlturas() {
  33.     var col1 = document.getElementById('columna1');
  34.     var col2 = document.getElementById('columna2-parcial');
  35.     var col3 = document.getElementById('columna3');
  36.     hcol1 = col1.offsetHeight;
  37.     hcol2 = col2.offsetHeight;
  38.     hcol3 = col3.offsetHeight;
  39.     //Aunque creo que sería más legible esta línea sólo
  40.     col2.style.height = col3.style.height = col1.style.height = Math.max( hcol1, hcol2) +"px";
  41. }
  42. </script>
  43. <?php }else{?>
  44. <script type="text/javascript">function igualarAlturas() {
  45.     var col1 = document.getElementById('columna1');
  46.     var col2 = document.getElementById('columna2');
  47.     hcol1 = col1.offsetHeight;
  48.     hcol2 = col2.offsetHeight;
  49.  
  50.     //Aunque creo que sería más legible esta línea sólo
  51.     col2.style.height  = col1.style.height = Math.max( hcol1, hcol2) +"px";
  52. }
  53. </script>
  54.  
  55. <?php }?>
  56. </head>
  57.  
  58. <body class="fondo"  onLoad="igualarAlturas();">
  59. <div id="contenedor">
  60.  
  61. <div id="cabecera">
  62.         <div id="logo"><jdoc:include type="modules" name="logo" style="none" /></div><!--fin logo-->
  63.         <div id="fecha"> <?php echo JHTML::_('date', 'now', '%A, %d de %B'); ?> </div><!--fin de #fecha_rss-->
  64.         <div id="banner"><jdoc:include type="modules" name="banner" style="none" /></div><!--fin banner-->
  65.         <div id="buscador"><jdoc:include type="modules" name="user1" style="none" /></div><!--fin de #buscador-->
  66.         <div id="menuprincipal"><jdoc:include type="modules" name="user2" style="none" /></div><!--fin menuprincipal-->
  67. </div><!--fin cabecera-->
  68.  
  69. <div id="contenido" class="clearfix">
  70.         <div id="columna1"><jdoc:include type="modules" name="left" style="xhtml" />
  71.    
  72.         </div><!--fin columna1-->
  73.         <div id="columna2<?php echo $contenido;?>">
  74.           <jdoc:include type="message" />
  75.           <div class="espaciador">
  76.          
  77.              <?php  if($blog_texto=="user"){ ?>
  78.           <div id="bienvenidos"><jdoc:include type="modules" name="user3" style="none" />
  79.           </div>
  80.           <?php }?>
  81.          <jdoc:include type="component" />
  82.          </div> <!--fin espaciador1-->
  83.         </div><!--fin columna2-->
  84.        
  85.         <?php if ($this->countModules('right')){?>
  86.         <div id="columna3"><jdoc:include type="modules" name="right" style="xhtml" />
  87.     <!--Formulario Getresponse-->
  88.     <style type="text/css"><!-- #webFrmID { font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: 12px; color: #666;} #webFrmID .cntBox { position: relative; left: 50%; width: auto; float: left; clear: both; text-align: left; margin: 5px 0 12px 0; } #webFrmID .cntBox .box { position: relative; left: -50%; float: left; padding: 0; }#webFrmID .chikLet { margin: 0 0 5px 0; padding: 0; height: 24px; }#webFrmID .chikLet li, .chikLet li span { background: url(http://www.getresponse.com/images/core/icons/gr_chicklet.png) left top no-repeat; display: block; height: 24px; }#webFrmID .chikLet li { margin: 0; padding: 0 0 0 24px; float: left; line-height: 24px; }#webFrmID .chikLet li span { background-position: right bottom; padding: 0 8px 0 4px; float: left; }#webFrmID .clearer { width: 100%; height: 0.1px; font-size: 0.1px; clear: both; line-height: 0.1px; }--></style><div id="webFrmID"> <form accept-charset="utf-8" action="http://www.getresponse.com/cgi-bin/add.cgi" style="width: 150px; font-family: Arial, Helvetica, sans-serif; font-weight:bold background-color: #ffffff; margin: 5px;"><input type="hidden" name="custom_http_referer" id="custom_http_referer" value=""/><div id="webform_title" style="line-height:21px; padding: 7px 20px 7px 20px; font-size: 12px; color: #ffffff; background-color: #18469d; border: 1px solid #18469d;">Bolet&iacute;n Electr&oacute;nico</div><div style="font-family: tahoma; width:150px; border: 1px solid #DEDEDE;"><div style="font-size: 12px; color: #4C4B4B; padding: 16px; padding-bottom: 12px;"></div><hr style="height: 1px; border: 0; background-color: #F0F0F0; color: #F0F0F0; margin: 0 20px 0 20px;"/><ul id="fields" style="list-style: none; margin: 0; font-size: 12px; color: #7B7B7B; padding: 15px 30px 15px 30px;"><li id="subscriber_name-field" style="padding: 0px 0 0px 0; margin: 0; background: none; width: 100%;">
  89.   <label style="float: left;" for="subscriber_name">Nombre :</label>
  90.   <input style="float: right; border: 1px solid #AEB186; width: 110px;" id="subscriber_name" name="subscriber_name" type="text" value=""/><div style="clear: both;"/></li><li id="subscriber_email-field" style="padding: 0px 0 0px 0; margin: 0; background: none; width: 100%;"><label style="float: left;" for="subscriber_email">Email :</label><input style="float: right; border: 1px solid #AEB186; width: 110px;" id="subscriber_email" name="subscriber_email" type="text" value=""/><div style="clear: both;"/></li></ul><ul style="list-style: none; margin: 0; font-size: 12px; color: #7B7B7B; padding: 15px 30px 15px 30px; text-align: center;"></ul><input type="hidden" name="confirmation_url" id="confirmation_url" value=""/><input type="hidden" name="error_url" id="error_url" value=""/><input type="hidden" name="campaign_name" id="campaign_name" value="centroinfo"/><input type="hidden" name="custom_ref" id="custom_ref" value=""/><hr style="height: 1px; border: 0; background-color: #F0F0F0; color: #F0F0F0; margin: 0 20px 0 20px;"/><div style="text-align: center; padding-bottom: 18px; padding-top: 10px"><input id="webform_submit" style="cursor: hand; font-family: verdana; font-size: 18px; color: #FFFFFF; background-image: url(http://www.getresponse.com/images/common/templates/webforms/grey_button.png); border: 0; width: 140px; height: 33px; margin: 10px;" type="submit" value="Inscribeme"/><div class="cntBox"> <div class="box"> <ul class="chikLet"><li class="chikLetGr"><span><strong>346 </strong> subscribers</span></li></ul> </div></div><div style="color: #0000ff; margin-top: 10px;width: 100%; clear: both;">GetResponse <a href="http://www.getresponse.com/">Email Marketing</a></div><div class="clearer"></div></div></div></form></div><script type="text/javascript">var el=document.getElementById("custom_http_referer");if(el != null){el.value = document.location};</script>
  91.    
  92.     <!--fin columna3-->
  93.         <?php }?>
  94.  
  95. </div><!--fin contenido-->
  96. </div><!--fin contenedor-->
  97. <div id="piepagina"><jdoc:include type="modules" name="footer" style="none" /></div><!--fin pie pagina-->
  98. </body>
  99.  
  100. </html>
__________________
Say no more.......