Queremos instalar el Portal 1.2.2 en la plantilla Melankolia y tenemos el siguiente problema:
Al querer hacer los cambios de "Estilos" en la plantilla me dice que modifique lo siguiente:
Código: Seleccionar todo
Open: styles/subsilver2/template/overall_header.html
Find
Tip: This may be a partial find and not the whole line.
Code:Select All
<div id="menubar">
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
Code:Select All
<!-- IF not $S_IN_PORTAL -->
Find
Tip: This may be a partial find and not the whole line.
Code:Select All
<!-- INCLUDE breadcrumbs.html -->
<br />
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Code:Select All
<!-- ENDIF -->
Código: Seleccionar todo
<!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>
<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="2000, 2002, 2005, 2007 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>
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<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>
<link href="{T_THEME_PATH}/web/style.css" rel="stylesheet" type="text/css" media="screen, projection" />
</head>
<body class="{S_CONTENT_DIRECTION}">
<div class="outside">
<div class="top-left"></div><div class="top-center"></div><div class="top-right"></div>
<div class="inside">
<div class="notopgap">
<a name="top"></a>
<div id="wrapheader">
<div id="logodesc">
<div id="logo">
<a class="logo" href="{U_INDEX}"><h1><font color="#FFFFFF">{SITENAME}</font></h1><span class="gen"><font color="#FFFFFF">{SITE_DESCRIPTION}</font></span></a>
</div>
</div>
<br />
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<td class="row1" height="60px" width="73%">
<p class="breadcrumbs"><a href="{U_INDEX}"><strong><img src="{T_IMAGESET_PATH}/folder.gif"></img>{L_INDEX}</strong></a>
<!-- BEGIN navlinks --> » <strong><strong></strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks -->
<br /><!-- IF TOPIC_TITLE --><!-- IF U_VIEW_TOPIC --><img src="{T_IMAGESET_PATH}/folder2.gif"></img><a class="topictitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- ENDIF --><!-- ENDIF --></p>
<div align="center"> <p><!-- IF U_RESTORE_PERMISSIONS --> <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --></p></div>
</td>
<td class="row2" height="60px" width="27%"><!-- IF not S_USER_LOGGED_IN -->
<form method="post" action="{S_LOGIN_ACTION}" style="float:left;position:relative;">
<table width="100%" cellspacing="0">
<tr>
<!-- IF SCRIPT_NAME == 'index' -->
<td width="50%"><span class="genmed">{L_USERNAME}:</span><br /><span class="genmed">{L_PASSWORD}:</span></td>
<td width="50%"><input tabindex="100" class="post" type="text" name="username" size="10" /><br /><input tabindex="101" class="post" type="password" name="password" size="10" /></td>
<td width="50%" nowrap="nowrap"> <!-- IF S_AUTOLOGIN_ENABLED --><span class="genmed">Remember me</span> <input tabindex="102" type="checkbox" class="radio" name="autologin" /><!-- ENDIF --><br /><input tabindex="103" type="submit" class="btnmain" name="login" value="{L_LOGIN}" />
</td>
<!-- ELSE --><span class="genmed"><a href="{U_LOGIN_LOGOUT}"><strong>{L_LOGIN_LOGOUT}</strong></a> | <!-- IF not S_IS_BOT --> <a href="{U_REGISTER}"><strong>{L_REGISTER}</strong></a><!-- ENDIF --></span><!-- ENDIF -->
</tr>
</table>
{S_FORM_TOKEN}
</form>
<!-- ENDIF -->
<table width="100%" cellspacing="0">
<tr>
<td class="genmed">
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<strong>Hi, {S_USERNAME}</strong> <b>(</b><a href="{U_LOGIN_LOGOUT}">{L_LOGOUT}</a><b>)</b><br />
{LAST_VISIT_DATE}<br />
<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><!-- ENDIF -->
<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->{PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><!-- ENDIF --><!-- ENDIF --></td></tr></table></td>
</tr>
</table>
<!-- IF not S_USER_LOGGED_IN -->
<table class="menu2tb" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<!-- IF not S_IS_BOT -->
<!-- IF S_REGISTER_ENABLED --><td class="menu2"> <a href="{U_REGISTER}" >{L_REGISTER}</a></td><!-- ENDIF -->
<td class="menu2"><a href="{U_LOGIN_LOGOUT}" rel="nofollow">{L_LOGIN}</a></td><!-- ENDIF -->
<!-- IF S_DISPLAY_SEARCH --><td class="menu2"><a href="{U_SEARCH}"><strong>{L_SEARCH}</strong></a></td>
<!-- ENDIF -->
<td class="menu2"><a href="{U_FAQ}">{L_FAQ}</a></td>
</tr></table>
<!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN -->
<table class="menu2tb" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<td class="menu2"><a href="{U_PROFILE}" rel="nofollow">{L_PROFILE}</a></td>
<!-- IF S_DISPLAY_SEARCH -->
<td class="menu2"><a href="{U_SEARCH}"><strong>{L_SEARCH}</strong></a></td>
<td class="menu2"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></td>
<td class="menu2"><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></td>
<td class="menu2"><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></td>
<!-- ENDIF -->
<td class="menu2"><a href="{U_FAQ}">{L_FAQ}</a></td>
</tr></table>
<!-- ENDIF --><br />
<br style="clear: both;" />
Luego me da la siguiente orden:
Código: Seleccionar todo
Open: styles/subsilver2/template/breadcrumbs.html
Find
Tip: This may be a partial find and not the whole line.
Code:Select All
<p class="breadcrumbs"><a href="{U_INDEX}">{L_INDEX}</a>
Replace With
Tip: Replace the preceding line(s) to find with the following lines.
Code:Select All
<p class="breadcrumbs"><a href="{U_PORTAL}">{L_PORTAL}</a> » <a href="{U_INDEX}">{L_INDEX}</a>
Código: Seleccionar todo
<!-- IF U_MCP -->
<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
<tr>
<td class="row1">
<p class="breadcrumbs"><a href="{U_MCP}">{L_MCP}</a></p>
<p class="datetime">{S_TIMEZONE}</p>
</td>
</tr>
</table>
<!-- ENDIF -->
L
La tercera orden para modifcar el estilo es la única que puede ser realizada, las lineas se encuentran.
Aclaro: Estamos haciendo otro foro, la url es:http://jjteamweb-design.co.cc/
La Plantilla es : Melankolia, basada en subsilver2
Versión del foro: 3.0.5
Mods Instalados: Ninguno
Antes en el otro foro pude instalar el Portal sin ningun problema. Que puede ser, qué modificaciones tendremos que hacer para poder instalar el portal.
¡Muchas gracias!