Orijinalini görmek için tıklayınız : takvim
ceviktekin
05-07-2012, 15:04
internette gezindim fakat ücretsiz joomla 2.5 için kullanabileceğim takvim bulamadım
flash takvim de olur mesela sunu gibi Spider FC teşekkürler
ceviktekin
05-07-2012, 15:55
yine ben ben bir takvim buldum
ama şoyle bir hata alıyorum
Notice: Undefined variable: special_event in C:\wamp\www\2.5joomla\modules\mod_calendar\helper. php on line 38
tüm kod aşağıda
<?php
/*------------------------------------------------------------------------
mod_Calendar -
------------------------------------------------------------------------
author Jan Tomsu
copyright Copyright © 2012 kzvsport.cz/joomla/Calendar. All Rights Reserved.
@license - GNU General Public License v2.0 - GNU Project - Free Software Foundation (http://www.gnu.org/licenses/gpl-2.0.html) GNU/GPL
Websites: Home (http://www.kzvsport.cz/joomla/Calendar)
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die;
class modCalendarHelper
{
function getSpecialEvent($text, $cur_day, $cur_month)
{
$search_string = "/(.$cur_day\.$cur_month\.)\*\*(.*?)\*\*(.*?)\*\*(.* ?)\]/siu";
preg_match_all($search_string, $text, $matches); // Search for today special events
for ($i=0;$i<count($matches[0]);$i++)
{
$special_event[$i]['text'] = substr($matches[2][$i],0,100);
$special_event[$i]['link'] = $matches[3][$i];
$special_event[$i]['day_type'] = $matches[4][$i];
if ($special_event[$i]['link']!='' & substr($special_event[$i]['link'],0,7)!='http://' & (substr($special_event[$i]['link'],0,8)!='https://'))
$special_event[$i]['link'] = 'http://'.$special_event[$i]['link'];
}
return $special_event; 38. satır burası
}
function getNameDay()
{
$nameday_par = require ('modules/mod_calendar/data/nameday_cs_CZ.php');
if(date('L') == 0 & date('m') > 2) // Check for leap year
return $nameday[date('z') + 1];
else
return $nameday[date('z')];
}
function getWeekDay($weekday)
{
return $weekday[date("w")];
}
function getMonth($month)
{
return $month[(int)date("m")];
}
function getFontFamily($font)
{
$font_style[0] = 'Arial';
$font_style[] = 'Arial Black';
$font_style[] = 'Cambria';
$font_style[] = 'Comic Sans MS';
$font_style[] = 'Corbel';
$font_style[] = 'Courier New';
$font_style[] = 'Georgia';
$font_style[] = 'Impact';
$font_style[] = 'Lucida Console';
$font_style[] = 'Lucida Sans Unicode';
$font_style[] = 'MS Serif';
$font_style[] = 'Palation Linotype';
$font_style[] = 'Tahoma';
$font_style[] = 'Times New Roman';
$font_style[] = 'Trebucher';
$font_style[] = 'Verdana';
return $font_style[$font];
}
function getStyle($spec_events, $main_tmpl, $bh_tmpl, $bh_day)
{
$style = $main_tmpl;
if (!empty($spec_events))
{foreach ($spec_events as $spec_event)
{
if ($spec_event['day_type'] == "BH" & $bh_day[7] == "1" )
$style = $bh_tmpl;
}
}
for($i=0;$i<7;$i++)
{
if ($bh_day[$i] == "1" & $i == date('w'))
$style = $bh_tmpl;
}
if ($main_tmpl['rounded_corners'] == "1")
{
$style['calendar_corner'] = "9px";
$style['top_box_corner'] = "6px 6px 0px 0px";
$style['main_box_corner'] = "0px 0px 8px 8px";
}
if ($main_tmpl['shadow'] == "1")
{
$style['shadow'] = "0px 0px 2px 2px #888";
}
$style['middle_box_height'] = (substr($style['height'],0,-2) - substr($style['top_box_height'],0,-2))."px";
return $style;
}
}
?>
localde çalıştığınız için sorun yaşıyor olabilirsiniz...
ceviktekin
06-07-2012, 06:11
siteyi sunucu ya attığımda sorun hallolur mu? joomla da yeniyim fazla bilmiyorum da
ceviktekin
13-07-2012, 15:38
başaka bir tane buldum bu sorunsuz çalışıyor
hugeboss
30-07-2012, 18:13
Bari bulduğunuz şeyi burda paylaşsaydınız da başkalarıda faydalansaydı..
ceviktekin
08-08-2012, 14:17
çoktandır siteye girmiyordum msj yeni gördüm bulduğum modul şu
Blog Calendar Reload
Benim kullandığım bir takvim modulü var.
tarihlere göre hangi içerikler yayınlanmış bir nevi arşiv gibi gösterebilmesinizi sağlıyor.
hangi kategorilerden içerik çekmesi gerektiği vs. ayarlıyorsunuz.
News Calendar - Joomla! Extensions Directory (http://extensions.joomla.org/extensions/news-display/articles-display/articles-structured-lists/18927?qh=YTo3OntpOjA7czozOiJtb2QiO2k6MTtzOjQ6Im1vZ HMiO2k6MjtzOjY6Im1vZGRlZCI7aTozO3M6NDoiJ21vZCI7aTo 0O3M6NzoibW9kZGluZyI7aTo1O3M6MTI6Im5ld3NjYWxlbmRhc iI7aTo2O3M6MTY6Im1vZCBuZXdzY2FsZW5kYXIiO30%3D)
vBulletin v4.2.1, Copyright ©2000-2024, Jelsoft Enterprises Ltd.