saeedgh
Total posts: 14
02 Dec 2021 02:11

Hello,

How to select all created items in Mighty Resource Calendar template ?

Template Version 3.7 :

Download Calendar tmpl

Lines : 333,334,335

$_items = array();
foreach ($this->items AS $item)
$_items[date('Y',$item->ctime->toUnix())][date('z', $item->ctime->toUnix())][] = $item;

The code just select the current month items , we need to select all created items from the database , this feature is required for other calendars like Shamsi ( Jalali ) Calendar , As we need item from previous and next Gregorian Monthes to calculate all the current Jalali Month items.

we need $this->items to select all items .

Thanks

Saeed

Last Modified: 04 Dec 2021


saeedgh
Total posts: 14
02 Dec 2021 03:13

Hello,

We need to select 3 month created items , current month, previous month and next month of the Gregorian Calendar for the Jalali Month to work currectly.

Thanks

Saeed


Giorgi625 VIP
Total posts: 653
04 Dec 2021 23:08

you better find some freelancer, becasue developer is not supporting this extension no more. It is hard situation here on mintjoomla. Old developer gave it to new one and now new developer is working on new versions of Cobalt and Emerald.

Powered by Cobalt