Este tema está cerrado, no puede editar mensajes o enviar nuevas respuestas  [ 7 mensajes ] 
Me ayudan a editar una plantilla? 
Autor Mensaje
Forero Fijo
Forero Fijo
Avatar de Usuario

Registrado: 04-09-2007, 8:10
Mensajes: 1423
Ubicación: Buenos Aires, Argentina
Nota Me ayudan a editar una plantilla?
Necesito saber que tengo que editar para editar el menu superior..
Este es el codigo:

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>{SEO_BASE_HREF}
<!-- INCLUDE ca_config.html -->
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} - <!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- IF T_STYLESHEET_LINK -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!-- ELSE -->
<style type="text/css">
{T_THEME_DATA}
</style>
<!-- ENDIF -->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/ie7.css" />
<![endif]-->

<script type="text/javascript">
// <![CDATA[

<!-- IF S_USER_PM_POPUP -->
   if ({S_NEW_PM})
   {
      popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
   }
<!-- ENDIF -->

function popup(url, width, height, name)
{
   if (!name)
   {
      name = '_popup';
   }

   window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
   return false;
}

function jumpto()
{
   var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
   var perpage = '{PER_PAGE}';
   var base_url = '{A_BASE_URL}';

   if (page !== null && !isNaN(page) && page > 0)
   {
      document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * perpage);
   }
}

/**
* Find a member
*/
function find_username(url)
{
   popup(url, 760, 570, '_usersearch');
   return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
   var parent = document.getElementById(id);
   if (!parent)
   {
      eval('parent = document.' + id);
   }

   if (!parent)
   {
      return;
   }

   var rb = parent.getElementsByTagName('input');
   
   for (var r = 0; r < rb.length; r++)
   {
      if (rb[r].name.substr(0, name.length) == name)
      {
         rb[r].checked = state;
      }
   }
}

<!-- IF ._file -->

   /**
   * Play quicktime file by determining it's width/height
   * from the displayed rectangle area
   *
   * Only defined if there is a file block present.
   */
   function play_qt_file(obj)
   {
      var rectangle = obj.GetRectangle();

      if (rectangle)
      {
         rectangle = rectangle.split(',')
         var x1 = parseInt(rectangle[0]);
         var x2 = parseInt(rectangle[2]);
         var y1 = parseInt(rectangle[1]);
         var y2 = parseInt(rectangle[3]);

         var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
         var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
      }
      else
      {
         var width = 200;
         var height = 0;
      }

      obj.width = width;
      obj.height = height + 16;

      obj.SetControllerVisible(true);

      obj.Play();
   }
<!-- ENDIF -->

if(navigator.userAgent && navigator.userAgent.indexOf('Mac OS X') > 0)
{
   document.write('<link rel="stylesheet" href="{T_THEME_PATH}/mac.css" type="text/css" />');
}

// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">
<div id="body">

<a name="top"></a>

<table border="0" cellspacing="0" cellpadding="0" width="{$CA_WIDTH}" id="maintable" align="center">
<tr>
    <td class="row-left" valign="top"><img src="{T_THEME_PATH}/images/row_left_top.gif" width="4" height="100" alt="" /></td>
   <td id="header" align="center" valign="top">
       <div id="logorow">
           <div id="logo-left"><div id="logo-right">
              <a href="{U_INDEX}">{SITE_LOGO_IMG}</a>
           </div></div>
       </div>

        <div class="navrow">
            <!-- IF not S_IS_BOT -->
                <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> &#8226; <!-- ENDIF -->
                <!-- IF S_USER_LOGGED_IN -->
                    <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> &#8226; <!-- ENDIF -->
                <!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
            <!-- ENDIF -->
            <!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> &#8226; <!-- ENDIF -->
            <a href="{U_FAQ}">{L_FAQ}</a>
            <!-- IF S_DISPLAY_SEARCH --> &#8226; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
            <!-- IF not S_IS_BOT -->
                <!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
            <!-- ENDIF -->
            <!-- IF not S_IS_BOT --> &#8226; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
        </div>
   </td>
   <td class="row-right" valign="top"><img src="{T_THEME_PATH}/images/row_right_top.gif" width="4" height="100" alt="" /></td>
</tr>
<tr>
    <td class="row-left"><img src="{T_THEME_PATH}/images/spacer.gif" width="4" height="1" alt="" /></td>
   <td id="contentrow">

<!-- IF not S_IS_BOT && not $CA_SKIP_PM_NOTIFY && S_USER_LOGGED_IN && S_DISPLAY_PM -->
   <!-- IF S_USER_NEW_PRIVMSG -->
      <div class="pm-notify-new"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
   <!-- ELSEIF S_USER_UNREAD_PRIVMSG -->
      <div class="pm-notify-unread"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
   <!-- ENDIF -->
<!-- ENDIF --> 

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
   <div class="pm-notify-new"><div class="pm-notify-header">{L_INFORMATION}</div>{L_BOARD_DISABLED}</div>
<!-- ENDIF -->

<table width="100%" cellspacing="0">
<tr>
   <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
   <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
</tr>
</table>

   <!-- IF S_DISPLAY_SEARCH -->
   <p class="searchbar">
      <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
      <!-- IF S_USER_LOGGED_IN -->
      <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
      <!-- ENDIF -->
   </p>
   <!-- ENDIF -->

   <br style="clear: both;" />

   <!-- INCLUDE breadcrumbs.html -->

   <br />


   <br /><center>{ADCODE_TOP}
   <br /><br />
   {USERHEAD}</center><br />


02-16-2009, 16:07
Perfil WWW
Forero Fijo
Forero Fijo
Avatar de Usuario

Registrado: 08-03-2008, 13:52
Mensajes: 445
Nota Re: Me ayudan a editar una plantilla?
Si no tienes mucha idea como yo, te aconsejo que uses un editor de html.
Yo utilizo Dreamweaver y me resulta bastante sencillo asi, puedes ir
viendo el resultado al tiempo que vas modificando aunque eso si.... algo diferente.


Imagen
Si no se ve bien cilc aqui.


pd:
¡¡¡¡ hazte una copia antes de modificar nada puede serte de gran utilidad si se comete errores !!!!


02-16-2009, 18:13
Perfil WWW
Forero Fijo
Forero Fijo
Avatar de Usuario

Registrado: 04-09-2007, 8:10
Mensajes: 1423
Ubicación: Buenos Aires, Argentina
Nota Re: Me ayudan a editar una plantilla?
pero no me podrian decir solo lo que tengo que editar??


02-18-2009, 1:50
Perfil WWW
Forero Fijo
Forero Fijo

Registrado: 02-17-2009, 2:48
Mensajes: 794
Ubicación: Sevilla
Nota Re: Me ayudan a editar una plantilla?
matgon escribió:
pero no me podrian decir solo lo que tengo que editar??


Este es el codigo que pertenece al menu que quieres editar.
Código:
<div class="navrow">
                <!-- IF not S_IS_BOT -->
                    <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> &#8226; <!-- ENDIF -->
                    <!-- IF S_USER_LOGGED_IN -->
                        <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> &#8226; <!-- ENDIF -->
                    <!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
                <!-- ENDIF -->
                <!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> &#8226; <!-- ENDIF -->
                <a href="{U_FAQ}">{L_FAQ}</a>
                <!-- IF S_DISPLAY_SEARCH --> &#8226; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
                <!-- IF not S_IS_BOT -->
                    <!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
    <!-- IF not S_IS_BOT -->
                <!-- ENDIF -->
                <!-- IF not S_IS_BOT --> &#8226; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
            </div>

Si quieres añadir o quitar cosas ahi entre las etiquetas <div class="navrow"> y </div> es donde debes de hacerlo.

¿Como añadir un vinculo mas por ejemplo?...
Pues despues despues de
<a href="{U_REGISTER}">{L_REGISTER}</a> &#8226;

añadimos esto:

<a href="http://tu.forogratis.es/chat.php">Chat</a> &#8226;

Y quedaria algo asi:

<a href="{U_REGISTER}">{L_REGISTER}</a> &#8226;
<a href="http://tu.forogratis.es/chat.php">Chat</a> &#8226;


Con eso añadiste un enlace a tu chat en el menu.
En dreamweaver se ve asi:
Imagen
Si no se ve bien clica aqui.

_________________
Mi foro: www.unesvoltetes.com


02-18-2009, 18:25
Perfil WWW
Equipo de Soporte
Equipo de Soporte
Avatar de Usuario

Registrado: 06-01-2007, 4:50
Mensajes: 3547
Ubicación: México
Nota Re: Me ayudan a editar una plantilla?
esa bueno per..drak??? ;)

_________________
Imagen


02-18-2009, 18:45
Perfil
Forero ForoGratis
Forero ForoGratis
Avatar de Usuario

Registrado: 12-25-2007, 21:53
Mensajes: 3396
Ubicación: España, el bierzo que no es leon
Nota Re: Me ayudan a editar una plantilla?
jij es pere

_________________
Dani Cifu Blog


02-18-2009, 18:52
Perfil WWW
Forero Fijo
Forero Fijo

Registrado: 02-17-2009, 2:48
Mensajes: 794
Ubicación: Sevilla
Nota Re: Me ayudan a editar una plantilla?
Pilloman3 escribió:
per..drak??? ;)


:smile:
Si si....
Pere es mi nombre real en valenciano (Pedro) y Drak el alias que uso desde
hace unos 27 años solo.

8-)

_________________
Mi foro: www.unesvoltetes.com


02-18-2009, 18:54
Perfil WWW
Mostrar mensajes previos:  Ordenar por  
Este tema está cerrado, no puede editar mensajes o enviar nuevas respuestas   [ 7 mensajes ] 

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados


No puede abrir nuevos temas en este Foro
No puede responder a temas en este Foro
No puede editar sus mensajes en este Foro
No puede borrar sus mensajes en este Foro
No puede enviar adjuntos en este Foro

Saltar a:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
Traducción al español por Huan Manwë para phpbb-es.com
phpBB SEO
[ Time : 0.094s | 12 Queries | GZIP : Off ]