Howto change button Text (Style: coffe-time)

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
Locked
kubii
Registered User
Posts: 2
Joined: Mon Feb 09, 2009 11:12 am

Howto change button Text (Style: coffe-time)

Post by kubii »

Hi community

I installed phpbb3, converted my old phbbb2 and installed the Coffe-Time Style (by Casa-Nostra-Design)
Here my problem:
Image
How can I change the Text in these yellow framed buttons?

I tried to edit the /coffe_time/template/overall_header.html :

Code: Select all

<ul>
				<li class="inactive"><a href="http://www.ffbball.de/site">{L_HOME}</a></li>
				<li class="active">Forum</li>
				<li class="inactive"><a href="#">Anfahrt</a></li>
				<li class="inactive"><a href="#">Photos</a></li>
				<li class="inactive"><a href="#">Teams</a></li>
				<li class="inactive"><a href="#">Kontakt</a></li>
			</ul>
But it did not work.

Do I have to change it in the administrator backend?

FYI i quote my complete overall_header.html

Thanx a lot!

Code: Select all

<!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="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!--
	phpBB style name: coffee_time
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:      CoSa NoStrA DeSiGn ( http://www.cosa-nostra-design.com/ )
	
	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 style_cookie_settings = '{A_COOKIE_SETTINGS}';
	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 (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (var 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>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/animatedcollapse.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 -->
<!--[if lt IE 7]> 
<link href="{T_THEME_PATH}/fix_ie6.css" rel="stylesheet" type="text/css" media="screen, projection" />
<![endif]-->
</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div id="page-header">
	<div id="header">
		<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
			<ul>
				<li class="inactive"><a href="http://www.ffbball.de/site">{L_HOME}</a></li>
				<li class="active">Forum</li>
				<li class="inactive"><a href="http://www.ffbball.de/site/index.php?option=com_content&view=article&id=48&Itemid=2">Anfahrt</a></li>
				<li class="inactive"><a href="http://www.ffbball.de/site/index.php?option=com_content&view=article&id=66&Itemid=13">Photos</a></li>
				<li class="inactive"><a href="http://www.ffbball.de/site/index.php?option=com_content&view=article&id=65&Itemid=12">Teams</a></li>
				<li class="inactive"><a href="#">Kontakt</a></li>
			</ul>
		<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
			<div id="search-box">
				<form action="{U_SEARCH}" method="post" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> 
					<input class="button2" value="GO" type="submit" /><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
				</fieldset>
				</form>
			</div>
		<!-- ENDIF -->
			<div id="site-description">
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
			</div>
	</div>
	<div id="<!-- IF S_USER_LOGGED_IN -->nav_icons_login<!-- ELSE -->nav_icons_logout<!-- ENDIF -->">
		<div id="icon_1"><a href="{U_INDEX}" title="{L_INDEX}" accesskey="h">Index</a></div>
		<img class="cache" src="{T_THEME_PATH}/images/icon_1_hover.jpg" alt="" />
		<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
		<!-- IF S_DISPLAY_PM --><div id="icon_3"><a href="{U_PRIVATEMSGS}" title="{L_PM}">{PRIVATE_MESSAGE_INFO}</a></div><!-- ENDIF -->
		<img class="cache" src="{T_THEME_PATH}/images/icon_3_hover.jpg" alt="" />
		<div id="icon_5"><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a></div>
		<img class="cache" src="{T_THEME_PATH}/images/icon_5_hover.jpg" alt="" />
		<div id="icon_7"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGOUT}</a></div>
		<img class="cache" src="{T_THEME_PATH}/images/icon_7_hover.jpg" alt="" />
		<div id="icon_10"><a href="{U_SEARCH_SELF}" title="{L_SEARCH_SELF}">{L_SEARCH_SELF}</a></div>
		<img class="cache" src="{T_THEME_PATH}/images/icon_10_hover.jpg" alt="" />
		<!-- IF U_RESTORE_PERMISSIONS --><div id="icon_9"><a href="{U_RESTORE_PERMISSIONS}" title="{L_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></div><!-- ENDIF -->
		<img class="cache" src="{T_THEME_PATH}/images/icon_9_hover.jpg" alt="" />
		<!-- ENDIF -->
		<!-- IF not S_IS_BOT -->
		<!-- IF not S_USER_LOGGED_IN -->
		<div id="icon_6"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN}</a></div>
		<img class="cache" src="{T_THEME_PATH}/images/icon_6_hover.jpg" alt="" />
		<!-- IF S_REGISTER_ENABLED --><div id="icon_8"><a href="{U_REGISTER}" title="{L_REGISTER}">{L_REGISTER}</a></div><!-- ENDIF -->
		<img class="cache" src="{T_THEME_PATH}/images/icon_8_hover.jpg" alt="" />
		<!-- ENDIF -->
		<!-- IF S_DISPLAY_MEMBERLIST --><div id="icon_2"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></div><!-- ENDIF -->
		<img class="cache" src="{T_THEME_PATH}/images/icon_2_hover.jpg" alt="" />
		<!-- ENDIF -->
		<div id="icon_4"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></div>
		<img class="cache" src="{T_THEME_PATH}/images/icon_4_hover.jpg" alt="" />
	</div>
</div>

	<a name="start_here"></a>
	<div id="page-body">
			<ul class="linklist">
				<li><span style="display: none;"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></span><!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
				<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>
				<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
			</ul>		
		 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> 
		<div id="message" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->

User avatar
Brf
Support Team
Support Team
Posts: 332
Joined: Sun Mar 11, 2007 1:06 pm

Re: Howto change button Text (Style: coffe-time)

Post by Brf »

Any time you edit an HTML template file, you should clear your forum's cache. You can use the bottom button on the front page of the Admin control panel.

kubii
Registered User
Posts: 2
Joined: Mon Feb 09, 2009 11:12 am

Re: Howto change button Text (Style: coffe-time)

Post by kubii »

THANK YOU!

Locked