Seiten Titel
Verfasst: 25.07.2014 16:50
Hallo zusammen. Bin erst seit kurzem mit phpbb3 am arbeiten und soweit find ich das auch top.
Aber beim einfügen von bestimmten Sachen ist es doch etwas schwerer als gewohnt
Ich möchte eine neue Seite einfügen. Hab mich nach der Anleitung gehalten
overall_header auszug:
datei.php
dateisprache.php
Also die Seite wird eingebunden und richtig dargestellt auser der Titel nicht.
[ externes Bild ]
Hoffentlich könnt ihr mir helfen !
Danke schonmal für eure zeit

Aber beim einfügen von bestimmten Sachen ist es doch etwas schwerer als gewohnt

Ich möchte eine neue Seite einfügen. Hab mich nach der Anleitung gehalten
overall_header auszug:
Code: Alles auswählen
<li<!-- IF SCRIPT_NAME eq 'viewtopic' --> class="active"<!-- ENDIF -->><a href="datei.php">DATEI</a></li>
Code: Alles auswählen
<?php
/**
*
* @package phpBB3
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('mods/dateisprache');
$mode = request_var('mode', '');
// Lets build a page ...
page_header($user->lang['MEIN_TITEL']);
$template->set_filenames(array(
'body' => 'datei.html')
);
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
dateisprache.php
Code: Alles auswählen
<?php
/**
*
* groups [German]
*
* @author Mein Benutzername email@domain.de - http://meine-seite.de
*
* @package language
* @version $Id$
* @copyright (c) 2007 Deine Gruppe
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$lang = array_merge($lang, array(
'EXAMPLE' => 'Beispiel',
'DEMO' => 'Demo',
'TIME_NOW' => 'Die aktuelle Zeit lautet %s',
'MEIN_TITEL' => 'test',
));
?>
[ externes Bild ]
Hoffentlich könnt ihr mir helfen !
Danke schonmal für eure zeit
