Gerne auch auf deutsch.

Momentan sieht der Kalender auf dem Portal so aus:

Code: Select all
?>
Code: Select all
//Missing lang variables
$lang['MONTH'] = 'Month';
$lang['WEEK'] = 'Week';
$lang['DAY'] = 'Day';
// Event Calendar
$lang = array_merge($lang, array(
'CALENDAR' => 'Calendar',
// minical short day names
'mini_datetime' => array(
'Su' => 'Su',
'Mo' => 'Mo',
'Tu' => 'Tu',
'We' => 'We',
'Th' => 'Th',
'Fr' => 'Fr',
'Sa' => 'Sa',
),
));
Code: Select all
$lang = array_merge($lang, array(
// Additional blocks
));
Code: Select all
$lang['MONTH'] = 'Month';
$lang['WEEK'] = 'Week';
$lang['DAY'] = 'Day';
Code: Select all
'CALENDAR' => 'Calendar',
// minical short day names
'mini_datetime' => array(
'Su' => 'Su',
'Mo' => 'Mo',
'Tu' => 'Tu',
'We' => 'We',
'Th' => 'Th',
'Fr' => 'Fr',
'Sa' => 'Sa',
Code: Select all
<!-- IF .events -->
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_UPCOMING_EVENTS}</dt>
<dd style="width:16%">{L_INVITE_INFO}</dd>
<dd style="width:16%">{L_EVENT_CREATED_BY}</dd>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<!-- BEGIN events -->
<li class="row">
<dl class="icon"<!-- IF events.IMAGE --> style="background-image: url({events.IMAGE}); background-repeat: no-repeat;"<!-- ENDIF -->>
<dt><a href="{events.EVENT_URL}" title="<!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}: <!-- ENDIF -->{events.FULL_SUBJECT}">
<span style="<!-- IF events.COLOR -->color:#{events.COLOR};<!-- ENDIF --> font-weight: bold;">
<!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}: <!-- ENDIF -->{events.SUBJECT}</span><br /><!-- IF events.ALL_DAY -->{L_ALL_DAY} {events.START_TIME}<!-- ELSE -->{events.START_TIME} {L_TO_TIME} {events.END_TIME}<!-- ENDIF --></a>
</dt>
<dd style="width:16%; padding-left:5px;" class="lastpost">{events.INVITED}</dd>
<dd style="width:16%; padding-left:5px;" class="lastpost">{events.POSTER}</dd>
</dl>
</li>
<!-- END events -->
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
Code: Select all
<!-- additional_blocks //-->
Code: Select all
<!-- INCLUDE portal/block/event.html -->
schau in meinem forum der style und eventanzeige ist ok, so bald die wochenanzeige geschaltet ist wird die anzeige im portal deaktiviert. es geht mir nur um die anzeige der anstehenden events.Mike wrote:Der Block ist nicht 1.0.4 Kompatibel... Er wird zwar funktionieren, passt sich dann aber nicht automatisch ans Style an, wenn man es in der config ändert. Die Abschaltung der Icons unterstützt er auch nicht.
Schau dir bitte mal einen der Blöcke aus 1.0.4 an
Ich hab noch nicht den 1.0.4 update gemacht, bin noch an 1.0.3.Mike wrote:hast du den code von oben genommen?
Welche Portalversion hast du?
Code: Select all
<span class="corners-top"><span></span></span>
Code: Select all
<span class="portal-corners-top"><span></span></span>
Halo Midge, Wie gehts ?Midge wrote:Does no one have any idea where the portal update and the calendar mod clash?
Gerne auch auf deutsch.![]()
Momentan sieht der Kalender auf dem Portal so aus:
Code: Select all
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/message_parser.' . $phpEx);
Code: Select all
//-- mod : Alightner's Calendar ----------------------------------------------------
//-- add
include($phpbb_root_path . 'includes/functions_calendar.'.$phpEx);
//-- fin mod : Alightner's Calendar ------------------------------------------------
Code: Select all
if ($portal_config['portal_change_style'])
{
include($phpbb_root_path . 'portal/block/change_style.' . $phpEx);
}
Code: Select all
include($phpbb_root_path . 'portal/block/calendar.'.$phpEx);