Página 1 de 1

que tipo de plantillas debo modificar para agregar indice...

Publicado: 02 Jun 2010, 19:35
por 3POTENCIAS
Saludos, tengo dos preguntas:

1. como agrego “indice general” a mi foro, que tipo de plantillas debo abrir para modificarla, ya que en mi foro en la barra hay una opción que dice foro pero quiero agregarla como “indice general”


2. ahora esa misma plantilla que debo abrir quiero agregarle también al lado del índice general una opción que diga “blog” a esta opción para modificarla en la plantilla debo agregarle el dominio del “blog” para que dirija a los usuarios al blog.


Estimados he leído algunos problemas solucionados aquí en php y ninguna coincide con la que quiero, por eso pido soporte, mi estilo es el que esta expuesto, saludos

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 02 Jun 2010, 21:33
por Makoto
busca en el overrall_header.html o qusias tengas un archivo llamado menu.html hay estan esas celdas
solo copia una celda y cambiale la redireccion.

o mas bien coloca tu codigo html pues

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 02 Jun 2010, 21:54
por 3POTENCIAS
gracias hermano pero no encontre nada ningun nombre con el nombre de FORO para realizarle el cambio sera que el estilo de las plantillas mias estan muy en ingles, sobre esta plantilla menu.html, no la tengo, habra otra solución

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 02 Jun 2010, 22:29
por Makoto
puedes poner el link del estilo en mencion¿?

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 03 Jun 2010, 15:33
por 3POTENCIAS
AQUI ESTA EL CODIGO DE LA PLANTILLA HERMANO, SALUDOS
Spoiler
<!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 _mg_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}
{META_TAG}
{PORTAL_META_HTTP_EQUIV_TAGS}
{PORTAL_META_TAGS}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/style_wide.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="fixed" href="{T_THEME_PATH}/style_fixed.css" />
<LINK REL="icon" HREF="{T_THEME_PATH}/images/icon.png" TYPE="image/ico">
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<script type="text/javascript" src="{T_TEMPLATE_PATH}/scripts.js"></script>
<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(/&/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(/&/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 -->

// ]]>
</script>


<!-- IF PORTAL -->
<!--[if lt IE 7]>
<script language="JavaScript">
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.
{
var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])
if ((version >= 5.5) && (document.body.filters))
{
for(var i=0; i<document.images.length; i++)
{
var img = document.images
var imgName = img.src.toUpperCase()
if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
{
var imgID = (img.id) ? "id='" + img.id + "' " : ""
var imgClass = (img.className) ? "class='" + img.className + "' " : ""
var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
var imgStyle = "display:inline-block;" + img.style.cssText
if (img.align == "left") imgStyle = "float:left;" + imgStyle
if (img.align == "right") imgStyle = "float:right;" + imgStyle
if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
var strNewHTML = "<span " + imgID + imgClass + imgTitle
+ " style="" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
+ "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
+ "(src='" + img.src + "', sizingMethod='scale');"></span>"
img.outerHTML = strNewHTML
i = i-1
}
}
}
}
window.attachEvent("onload", correctPNG);
</script>
<![endif]-->

<script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/scriptaculous/lib/prototype.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/scriptaculous/src/scriptaculous.js?load=effects,dragdrop"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/scriptaculous/src/unittest.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/scriptaculous/src/lightbox.js"></script>

<!-- IF S_TOOL_TIPS_ENABLED -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/scriptaculous/src/tooltips.js"></script>
<!-- ENDIF -->

<link rel="stylesheet" href="{T_TEMPLATE_PATH}/portal/scriptaculous/css/lightbox.css" type="text/css" media="screen" />

<link rel="icon" href="favicon.ico" type="image/x-icon" />

<script type="text/javascript">
<!--
var rmw_max_width = '{PORTAL_PICTURE_RESIZE}';
var rmw_border_1 = '1px solid';
var rmw_border_2 = '2px dotted';
var rmw_image_title = '{L_IMG_CLICK_HERE}';
//-->
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/scriptaculous/src/resize_image.js"></script>
<!-- ENDIF -->

<!-- INCLUDE gallery/plugins_header.html -->
</head>
<body class="{S_CONTENT_DIRECTION}">

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


<div id="logodesc">
<table width="100%" cellspacing="0">
<tr>
<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td> </tr>
<tr><td><br /><div id="menubar" >


<div id="menumade" align="left">
<ul>
<!-- IF not S_IS_BOT --><li><a href="{U_LOGIN_LOGOUT}"><span>{L_LOGIN_LOGOUT}</span></a></li><!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --> <li><a href="{U_RESTORE_PERMISSIONS}"><span> {L_RESTORE_PERMISSIONS}</span></a></li><!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <li><span style="color: red;">{L_BOARD_DISABLED}</span></li><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --> <li><a class="fontcolor" href="{U_PRIVATEMSGS}"><span>{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></span></a></li><!-- ENDIF -->
<!-- ELSE --><li><a href="{U_REGISTER}"> <span>{L_REGISTER}</span></a></li>
<!-- ENDIF -->
<!-- ENDIF -->

</ul></div>




<div id="menumade" align="right">
<ul >
<li><a href="{U_FAQ}"><span>FAQ</span></a></li>
<!-- IF U_GALLERY --><a href="{U_GALLERY_MOD}"><img src="{T_THEME_PATH}/images/icon_mini_gallery.gif" width="12" height="13" alt="*" /> {L_GALLERY}</a><!-- ENDIF -->
<!-- BEGIN blog_links --> <a href="{blog_links.URL}">{blog_links.TEXT}</a><!-- END blog_links -->
<!-- IF S_DISPLAY_SEARCH --><li><a href="{U_SEARCH}"><span>{L_SEARCH}</span></a></li><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN --><li><a href="{U_PROFILE}"><span>{L_PROFILE}</span></a></li><!-- ENDIF -->
<!-- ENDIF -->


</ul>
</div>




</div>
</td>
</tr>

</table>
</div>


<div id="wrap">


<div id="main">



<div id="datebar">
<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>
</div>
<!-- IF U_GALLERY --><a href="{U_GALLERY_MOD}"><img src="{T_THEME_PATH}/images/icon_mini_gallery.gif" width="12" height="13" alt="*" /> {L_GALLERY}</a><!-- ENDIF -->
<!-- BEGIN blog_links --> <a href="{blog_links.URL}">{blog_links.TEXT}</a><!-- END blog_links -->
<!-- IF S_DISPLAY_SEARCH -->
<p class="searchbar" style="color:#CCCCCC;">
<span style="float: {S_CONTENT_FLOW_BEGIN};color:#FFFFFF;"><a style="color:#FFFFFF;" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a style="color:#FFFFFF;" href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
<!-- IF S_USER_LOGGED_IN -->
<span style="float: {S_CONTENT_FLOW_END};margin-right:10px;"><a style="color:#FFFFFF;" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a style="color:#FFFFFF;" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
<!-- ENDIF -->

</p>
<!-- ENDIF -->
<div id="wrapheader">
</div>
<div id="wrapcentre">



<br clear="right" />

<!-- INCLUDE breadcrumbs.html -->
<br /><br />


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

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 03 Jun 2010, 16:20
por memoadian
para poner indice general debes cambiar el archivo de lenguaje, ve a
la carpeta language/es/common.php

y busca la palabra foro, y cambiala por la que quieres en este caso Indice general

luego ese enlace debe venir en overall header de la carpeta styles/plantilla/template

de esta forma

Código: Seleccionar todo

<a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>
entonces en otra linea abajo debes poner

Código: Seleccionar todo

<a href="Url de tu blog" accesskey="h">Blog</a>

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 03 Jun 2010, 17:08
por 3POTENCIAS
[quote="memoadian"]para poner indice general debes cambiar el archivo de lenguaje, ve a
la carpeta language/es/common.php[/code]

Saludos hermano en acp no tengo la carpeta lenguaje/es/common.php la cual es imposible que el modelo de estilo que tengo salga esa carpeta, deberia estar en otra plantilla

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 03 Jun 2010, 21:45
por memoadian
¿Tu foro lo instalaste tu? o es uno de esos de sevicio gratuito, me inclino por eso, en dado caso en estos foros no podemos atender esos foros ya que se necesita acceso a los archivos del foro.

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 03 Jun 2010, 21:52
por uruguayito
Saludos hermano en acp no tengo la carpeta lenguaje/es/common.php la cual es imposible que el modelo de estilo que tengo salga esa carpeta, deberia estar en otra plantilla


eso debes hacerlo a través del FTP ;) .... no del ACP como dices tu

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 04 Jun 2010, 22:01
por 3POTENCIAS
Saludos hermano yo no tengo ftp, donde esta alojado el foro es un servidor gratis la cual las modificaciones de plantillas las hacemos en PANEL DE ADMINISTRACIÓN (ACP) donde estan los estilo, plantilla, modificación del portal ect, por eso que si me dicen que plantilla es la adecuada para modificar este punto tratado seria lo general pero este estilo que tengo es un poco dificil ya que estan en ingles y hay que analizarla bien, pero tendre que esperar si quieres les envio y edito algunas plantillas donde ustedes afirme que esta la solución, saludos

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 05 Jun 2010, 16:04
por memoadian
como te digo 3potencias, si no tienes acceso al ftp, es por que el foro es prestado por un servicio parecido al de multiforos, donde solo te registras y no tienes acceso ni a los archivos ni a la base de datos, en este foro solo damos soporte a los foros instalados por uno mismo, ya que ese tipo de cosas como las que pides, necesitan el uso de dichos archivos, y en algunos casos a la base de datos, y además no conocemos la forma de trabajar de esos servidores de foros.

Re: que tipo de plantillas debo modificar para agregar indic

Publicado: 05 Jun 2010, 16:43
por ahh72
holas, te recomiendo mirar esta guia para que te orientes un poco como se hace:

http://www.phpbb-es.com/foro/guias-phpb ... 26461.html

saludos