MiniCal Frage

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Bjou

MiniCal Frage

Beitrag von Bjou »

Ich soll das machen:

Code: Alles auswählen

# 
#-----[ FIND ]------------------------------------------ 
#

            if ( (MINI_CAL_CALENDAR_VERSION != 'NONE') && (MINI_CAL_DATE_SEARCH == 'EVENTS') )


# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 

// MOD for Snailsource calendars
			if( MINI_CAL_CALENDAR_VERSION == 'SNAILLITE' ) {
				// We're assuming MINI_CAL_DATE_SEARCH == 'EVENTS' as we're using CalLite
                $mini_cal_day_link = '<a href="' . append_sid("cal_lite.$phpEx?mode=display&$day_ref=$mini_cal_this_day&$mon_ref=$mini_cal_this_month&$year_ref=$mini_cal_this_year" ) . '" class="' . MINI_CAL_DAY_LINK_CLASS . '">' . ( $mini_cal_day ) . '</a>';
				$mini_cal_day = ( in_array($mini_cal_this_day, $mini_cal_event_days) ) ? $mini_cal_day_link : $mini_cal_day;
			}
			elseif ( MINI_CAL_CALENDAR_VERSION == 'SNAILPRO') {
				// We're assuming MINI_CAL_DATE_SEARCH == 'EVENTS' as we're using CalPro
                $mini_cal_day_link = '<a href="' . append_sid("cal_display.$phpEx?cp_day_start=".$mini_cal_this_day."&cp_mon_start=".$mini_cal_this_month."&cp_year_start=".$mini_cal_this_year ) . '" class="' . MINI_CAL_DAY_LINK_CLASS . '">' . ( $mini_cal_day ) . '</a>';
				$mini_cal_day = ( in_array($mini_cal_this_day, $mini_cal_event_days) ) ? $mini_cal_day_link : $mini_cal_day;
			}
// MOD end
			elseif ( (MINI_CAL_CALENDAR_VERSION != 'NONE') && (MINI_CAL_DATE_SEARCH == 'EVENTS') )
Und finde aber nicht die Stelle. Kann mir wer helfen: mini_cal.php
Antworten

Zurück zu „phpBB 2.0: Mod Support“