#1 2011-05-11 14:19:23

ukyo
Community Manager
From: Marmaris - Turkey
Registered: 2010-05-19
Posts: 734
Website

Event Calendar [MODULE] - [UPDATED - 06-07-2012]

I am writing the module v0.9.8 could someone also test it v0.9.7

Note : This module could be a nice example for develop modules!

You Can Download Module From My Github Repo(!NEW REPO)

You Can Use This Plug-In For Calendar View

Features
- Multi Language Support
- (Colored) Category Support (thnx @Beninho for idea)
- Article Support (You could Attach Events to Articles)

Changes :
- Article Support Added
- All codes optimized
- url deleted from module table
- url added to module lang table
- lots of cleanup
- Category Support added
- List display better
- many more little things!

Some Screenshots About Module(New Screenshots!)
30tqb0w.jpg
Event Calendar Main Windows
Event Calendar Main Window List View
Event Calendar Main Window Edit Event
Categories Main Window
Categories Main Window Edit Category
Event Calendar Article Side Top Addon
Event Calendar Article Side Top Addon Attach Form Window
Event Calendar Article Side Top Addon After Attach Event
JSON Example View
Example With <ion:tags />
Example With <ion:tags /> hover effect (thnx @Beninho)


AVAILABLE IONIZE CMS TAGS :

Count All Events :

<ion:eventcalendar:count_all />

Listing Events :

<ion:eventcalendar:events>
     <ion:id_event /> 
     <ion:name />
     <ion:title />
     <ion:subtitle />
     <ion:description />
     <ion:url />
     <ion:start_date />
     <ion:end_date />
     <ion:author />
     <ion:updater />
     <ion:created />
     <ion:updated />
     <ion:event_id_category />
     <ion:event_id_article />
     <ion:event_category_title />
     <ion:event_category_subtitle />
     <ion:event_category_description />
     <ion:event_category_name />
     <ion:event_category_color />
</ion:eventcalendar:events>

Listing Categories :

<ion:eventcalendar:categories>
    <ion:id_category />
    <ion:category_title />
    <ion:category_subtitle />
    <ion:category_description />
    <ion:category_name />
    <ion:category_color />
 </ion:eventcalendar:categories>

For Use With Articles :

<ion:eventcalendar:event>
    <ion:field_event field="your_field_name" />
     <!-- for get category fields you need to add from attribute -->
     <ion:field_event field="your_field_name" from="category" />
</ion:eventcalendar:event>

Last edited by ukyo (2011-05-11 18:56:07)


<ion:ukyo from="Turkey" />
Ionize CMS Türkçe Dil Çeviri Dosyaları | My Github Repositories
Please send your first message to a forum section, not forum users or administration.

Offline

#2 2011-05-11 18:44:24

themhouse
Member
From: Bulgaria
Registered: 2010-05-12
Posts: 100
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Hi ukyo, great post... smile
I will test this module soon as possible and send you reply

Best regards
Milen Aleksandrov


Web and Graphic Design studio PONTODESIGN
Download Bulgarian Translation

Offline

#3 2011-06-24 23:38:03

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Ukyo, can you adopt it for use as availability canendar ( preview of 6 or 12 month in a page (or article), and usage of two colors, free, reserved ?

Offline

#4 2011-07-02 22:30:44

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Still no answer?

I meant something like this:
http://www.webstuffshare.com/2010/03/aj … ilability/

Ajax Availability Calendar is an open source calendar application to help you creating AJAX calendar that showing your daily availability. Based on Mootools + PHP this apps can be planted to your existing application, very useful in case we need a calendar that can handling booking feature.

This application also provides admin panel for administration-related including Booking Items, Booking, Languages being used, etc. You can give it a try here or download it at here.

Last edited by porga (2011-07-02 22:34:58)

Offline

#5 2011-07-02 23:14:30

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

More help (Custom CMS integration): http://forum.ajaxavailabilitycalendar.c … =398#p1576

Pickable dates and FORM integration: http://forum.ajaxavailabilitycalendar.c … f=22&t=274

Last edited by porga (2011-07-02 23:17:45)

Offline

#6 2011-07-05 19:05:12

ukyo
Community Manager
From: Marmaris - Turkey
Registered: 2010-05-19
Posts: 734
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

I haven't much time at the moment! I am planing to add some new features on my modules! I will update My Modules post when i have new things about my modules!


<ion:ukyo from="Turkey" />
Ionize CMS Türkçe Dil Çeviri Dosyaları | My Github Repositories
Please send your first message to a forum section, not forum users or administration.

Offline

#7 2011-08-12 12:34:53

kamal
Member
From: nepal
Registered: 2010-12-22
Posts: 17
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Not working on ionize 0.9.6 rev1.
It installs correctly but none of the buttons like save,  Start Date, End Date, edit, delete works.
May be mootools are not initialized or may be other I don't know why not working.

Can you help me on this?

Offline

#8 2011-08-12 12:36:12

kamal
Member
From: nepal
Registered: 2010-12-22
Posts: 17
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

themhouse wrote:

Hi ukyo, great post... smile
I will test this module soon as possible and send you reply

Best regards
Milen Aleksandrov

Have you tested it? I tested in 0.9.6 rev1 but buttons are not working.

Offline

#9 2011-08-12 13:10:35

ukyo
Community Manager
From: Marmaris - Turkey
Registered: 2010-05-19
Posts: 734
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

I prepared this module in 0.9.7!

https://github.com/trk/modules/tree/mas … ntcalendar

pls read readme section for this module on github!


<ion:ukyo from="Turkey" />
Ionize CMS Türkçe Dil Çeviri Dosyaları | My Github Repositories
Please send your first message to a forum section, not forum users or administration.

Offline

#10 2011-08-15 06:17:20

kamal
Member
From: nepal
Registered: 2010-12-22
Posts: 17
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

ukyo wrote:

I prepared this module in 0.9.7!

https://github.com/trk/modules/tree/mas … ntcalendar

pls read readme section for this module on github!

I downloaded the 0.9.7 beta from the link https://github.com/ionize/ionize
still it is not working.

Offline

#11 2011-08-15 10:14:03

ukyo
Community Manager
From: Marmaris - Turkey
Registered: 2010-05-19
Posts: 734
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Ok I will check it!


<ion:ukyo from="Turkey" />
Ionize CMS Türkçe Dil Çeviri Dosyaları | My Github Repositories
Please send your first message to a forum section, not forum users or administration.

Offline

#12 2011-08-16 05:45:27

kamal
Member
From: nepal
Registered: 2010-12-22
Posts: 17
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Ukyo, Have you checked it?

Offline

#13 2012-04-05 12:00:50

Beninho
Member
From: Lannion - France
Registered: 2012-04-05
Posts: 10
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

I have tested this module in 0.9.7 and it works.
I have corrected some bugs with datepicker (css problem)
I added management of event category.

Picture 1
Picture 2
Picture 3

If someone want the sources, i can share it.

Offline

#14 2012-04-11 19:49:13

kamal
Member
From: nepal
Registered: 2010-12-22
Posts: 17
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

can you share the code. My email is lckamal[at]hotmail[dot]com

Offline

#15 2012-04-12 07:11:34

hawkfire
Member
Registered: 2012-04-10
Posts: 9

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

-EN-

How do you try this module? I have installed but its not working.

-TR-

Bu modülü nasıl deneyebildiniz? Kurdum ama çalışmadı?

Offline

#16 2012-04-12 09:41:53

Beninho
Member
From: Lannion - France
Registered: 2012-04-05
Posts: 10
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

To try this module, you have to add a view file in your theme.

Example :
ionize / themes / default / views / calendar.php
In this file, add this :

<ion:partial view="header" />

<div class="span-24 prepend-1 ">
    <div class="span-22 colborder">
        <ion:partial view="eventcalendar_header" />
        <ion:partial view="eventcalendar" />
    </div>
</div>

<!-- Partial : Footer -->
<ion:partial view="footer" />

Update config in Themes Settings to change type
Themes Settings

And Create Page and change View to Calendar
Create Page

Last edited by Beninho (2012-05-07 22:50:39)

Offline

#17 2012-06-01 10:18:46

kompuser
Member
Registered: 2011-12-08
Posts: 42

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Got this working thanks to Beninho.

Still, I'm running a 3 languages website and I got stuck with the 'saveEventLang()' and 'updateEventLang()' functions from the event_calendar_model.php :

Such functions make a call to the save() function of eventcalendar.php.

                foreach(Settings::get_languages() as $l){
                    $dataLang   =   array(
                        'id_event'      =>  $eventID,
                        'lang'          =>  $l['lang'],
                        'title'         =>  $this->input->post('event_title_'.$l['lang']),
                        'subtitle'      =>  $this->input->post('event_subtitle_'.$l['lang']),
                        'description'   =>  $this->input->post('event_description_'.$l['lang'])
                    );

                    $this->eventcalendar->saveEventLang($dataLang);
                }

The trick is that the 'get_languages' only returns 1 language from the database (lang table). And for now, only the 'ordering' field of this table manually changes can influence the lang returned.

Thanks for any efficient hint

K

Offline

#18 2012-06-15 13:04:04

istarted2012
Member
Registered: 2012-05-09
Posts: 4

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Hello,

can you share the code. My email is boulhous[at]gmail[dot]com

regards,
J

Offline

#19 2012-07-04 19:32:02

ukyo
Community Manager
From: Marmaris - Turkey
Registered: 2010-05-19
Posts: 734
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Old Repo deleted new repo added, today i made lots of things about Event Calendar Module First time started with @Beninho modded event calendar module but i changed lots of things i think i wrote it again with new spesifications but its not finished yet! New repo url is in main post!


<ion:ukyo from="Turkey" />
Ionize CMS Türkçe Dil Çeviri Dosyaları | My Github Repositories
Please send your first message to a forum section, not forum users or administration.

Offline

#20 2012-07-27 11:10:43

kompuser
Member
Registered: 2011-12-08
Posts: 42

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Excellent ! With earlier Beninho tweaks, this EventCalendar module is really a great ionize addition.
Bravo!

Offline

#21 2012-10-11 09:30:23

norikoman
Member
Registered: 2012-10-11
Posts: 16

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

I am using Ionize 0.97 and try to install the event calendar.
In admin page, install....it said "Error: Unknown". Then, I cannot access admin until I remove the event calendar module.

Please help.

Offline

#22 2012-10-11 11:18:30

ukyo
Community Manager
From: Marmaris - Turkey
Registered: 2010-05-19
Posts: 734
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Module need some modifications for work with version 0.9.7, module made with version 0.9.8 and community won't see this version of ionize because next release will be 0.9.9. Also i need to modify module for 0.9.9

After modify module for new and old versions ionize i will make a post about updates!


<ion:ukyo from="Turkey" />
Ionize CMS Türkçe Dil Çeviri Dosyaları | My Github Repositories
Please send your first message to a forum section, not forum users or administration.

Offline

#23 2012-10-12 05:14:11

norikoman
Member
Registered: 2012-10-11
Posts: 16

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Thanks. ukyo

Offline

#24 2013-01-14 15:07:14

cip
Member
Registered: 2012-02-24
Posts: 10

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

Ukyo's Event Calendar works on version 0.9.9 if you define in tags.php (EventCalendar/libraries/) $tag_definitions array:
public static $tag_definitions = array
    (
        "eventcalendar:count_all" =>"count_all",
        "eventcalendar:event" =>"event",
        "eventcalendar:events" =>"events",
        "eventcalendar:events:id_event" => "id_event",
                "eventcalendar:events:name" => "name",
                "eventcalendar:events:title" => "title",
                "eventcalendar:events:subtitle" => "subtitle",
                "eventcalendar:events:description" => "description",
                "eventcalendar:events:url" => "url",
                "eventcalendar:events:start_date" => "start_date",
                "eventcalendar:events:end_date" => "end_date",
                "eventcalendar:events:event_category_color" => "event_category_color",
                "eventcalendar:categories" => "categories",
                "eventcalendar:categories:category_title" => "category_title",
                "eventcalendar:categories:category_name" => "category_name",
                 "eventcalendar:categories:category_color" => "category_color",
       
                );

There are more tags but these I have used. There are more methods, and if you need, you must map those methods to tags.

You must define "ionize / themes / default / views / calendar.php" like Beninho said.
In this way this module works in my project (except event details, if you click in calendar on an event, doesn't work, so if you find a way let me know - javascript event description works)
i'm not an expert :-)

Last edited by cip (2013-01-15 09:06:02)

Offline

#25 2013-01-14 15:25:49

ukyo
Community Manager
From: Marmaris - Turkey
Registered: 2010-05-19
Posts: 734
Website

Re: Event Calendar [MODULE] - [UPDATED - 06-07-2012]

I will check it, I was made update for non-released version of ionizecms (0.9.8), I will check it on 0.9.9 and will try to make an update.


<ion:ukyo from="Turkey" />
Ionize CMS Türkçe Dil Çeviri Dosyaları | My Github Repositories
Please send your first message to a forum section, not forum users or administration.

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations