Alles zu Styles, Templates, Icons und Smilies für phpBB 3.0.x, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
phpBB Styles Demo
Forumsregeln
Bei Style spezifischen Fragen ist der Stylename und die Downloadquelle des Styles erforderlich, besser noch die URL vom betroffenen Forum.
HerrLehmann
Mitglied
Beiträge: 6 Registriert: 04.12.2009 18:01
Beitrag
von HerrLehmann » 05.12.2009 09:42
Aloha,
heute habe ich das Problem, das mein Header in einem neuinstalliertem Style nicht verlinkt ist. Ich will das auf die Forenübersicht verlinken.
Hier mal der hoffentlich relevante Teil aus der overall_header.html des Styles:
Code: Alles auswählen
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}" style="background-color: #000000; height: 100%;">
<div id="wrap">
<a name="start_here"></a>
<div id="wrap2">
<div id="topek">
<img src="{T_THEME_PATH}/images/spacer.gif" alt="spacer" height="249"></img>
<table width="814" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="podkreslenie">
<a href="{U_INDEX}" class="one">{L_INDEX}</a>
<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}" class="one">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}" class="one"><{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}" class="one">{PRIVATE_MESSAGE_INFO}</a><!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
<!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}" class="one"><font color="red">{L_REGISTER}</font><!-- ENDIF -->
<!-- ENDIF -->
<a href="{U_FAQ}" class="one">{L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH}" class="one">{L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --><a href="{U_MEMBERLIST}" class="one">{L_MEMBERLIST}</a><!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}" class="one">{L_PROFILE}</a><!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</table></div>
<br />
<br />
<br />
<br />
<br />
<div id="wrap3">
<div id="page-body">
Find da nichtmal das verlinkte Header-Bild
Dann wärs ja ganz einfach.
Huchinotte
Mitglied
Beiträge: 765 Registriert: 24.10.2007 09:34
Beitrag
von Huchinotte » 05.12.2009 10:31
Hi ..............
hilfreich wäre ein Link zum Forum und die komplette Overall_header ....
Huch
HerrLehmann
Mitglied
Beiträge: 6 Registriert: 04.12.2009 18:01
Beitrag
von HerrLehmann » 05.12.2009 11:13
http://www.ta-askalon.de ist das Forum.
Hier der komplette Code:
Code: Alles auswählen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<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>
<!--
phpBB style name: prosilver
Based on style: prosilver (this is the default phpBB3 style)
Original author: Tom Beddard ( http://www.subBlue.com/ )
Modified by:
NOTE: This page was generated by phpBB, the free open-source bulletin board package.
The phpBB Group is not responsible for the content of this page and forum. For more information
about phpBB please visit http://www.phpbb.com
-->
<script type="text/javascript">
// <![CDATA[
var jump_page = '{LA_JUMP_PAGE}:';
var on_page = '{ON_PAGE}';
var per_page = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
var style_cookie = 'phpBBstyle';
var onload_functions = new Array();
var onunload_functions = new Array();
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
var url = '{UA_POPUP_PM}';
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
}
<!-- ENDIF -->
/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}
/**
* New function for handling multiple calls to window.onload and window.unload by pentapenguin
*/
window.onload = function()
{
for (i = 0; i <= onload_functions.length; i++)
{
eval(onload_functions[i]);
}
}
window.onunload = function()
{
for (i = 0; i <= onunload_functions.length; i++)
{
eval(onunload_functions[i]);
}
}
// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
</head>
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}" style="background-color: #000000; height: 100%;">
<div id="wrap">
<a name="start_here"></a>
<div id="wrap2">
<div id="topek">
<img src="{T_THEME_PATH}/images/spacer.gif" alt="spacer" height="249"></img>
<table width="814" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="podkreslenie">
<a href="{U_INDEX}" class="one">{L_INDEX}</a>
<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}" class="one">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}" class="one"><{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}" class="one">{PRIVATE_MESSAGE_INFO}</a><!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
<!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}" class="one"><font color="red">{L_REGISTER}</font><!-- ENDIF -->
<!-- ENDIF -->
<a href="{U_FAQ}" class="one">{L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH}" class="one">{L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --><a href="{U_MEMBERLIST}" class="one">{L_MEMBERLIST}</a><!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}" class="one">{L_PROFILE}</a><!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</table></div>
<br />
<br />
<br />
<br />
<br />
<div id="wrap3">
<div id="page-body">
Huchinotte
Mitglied
Beiträge: 765 Registriert: 24.10.2007 09:34
Beitrag
von Huchinotte » 05.12.2009 11:43
Hi ........
dieser code hier bestimmt den Header
Ich weiss jetzt nicht ob das mit deinem Style so funktioniert aber versuchen kannst es ja mal
Code: Alles auswählen
<div id="topek">
<div class="header-bar" OnClick="window.location.href='{U_INDEX}'" style="cursor:pointer;cursor:hand">
und die div class mit </div> wieder schließen eventuell nach dem img code
wobei ich nicht weiss ob die div class header-bar bei dir so geht.
Huch
HerrLehmann
Mitglied
Beiträge: 6 Registriert: 04.12.2009 18:01
Beitrag
von HerrLehmann » 07.12.2009 18:26
Also habe nun mal
Code: Alles auswählen
<div id="topek">
<div class="header-bar" OnClick="window.location.href='{U_INDEX}'" style="cursor:pointer;cursor:hand">
<img src="{T_THEME_PATH}/images/spacer.gif" alt="spacer" height="249"></img></div>
ausprobiert. Funktioniert aber nicht =(.
Hast du vielleicht noch eine Idee?