-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added categories & widgets to settings
- Loading branch information
Showing
11 changed files
with
121 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | ||
/** | ||
* Name: Social Igniter : Events Module : Config | ||
* Name: Social Igniter : Events : Config | ||
* Author: Brennan Novak | ||
* [email protected] | ||
* @brennannovak | ||
* | ||
* Created by Brennan Novak | ||
* | ||
* Project: http://social-igniter.com | ||
* Source: http://github.com/social-igniter/module-blog | ||
* | ||
* Created: 06-10-2010 | ||
* Source: http://github.com/socialigniter/events | ||
* | ||
* Description: basic blog and admin functionality module for Social Igniter | ||
* Description: Config for Events App for Social Igniter | ||
*/ | ||
|
||
// Events Settings | ||
$config['events'] = 'events/'; | ||
$config['events_path'] = 'events/'; | ||
$config['url_style_events'] = array( | ||
'all' => '2010 / 01 / 01 / name-of-event', | ||
'month' => '2010 / 01 / name-of-event', | ||
'year' => '2010 / name-of-event', | ||
'events' => 'events / name-of-event' | ||
); | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | ||
/** | ||
* Name: Social Igniter : Events : Install | ||
* Author: Brennan Novak | ||
* [email protected] | ||
* @brennannovak | ||
* | ||
* Created: Brennan Novak | ||
* | ||
* Project: http://social-igniter.com/ | ||
* Source: http://github.com/socialigniter/events | ||
* | ||
* Description: Install values for Events App for Social Igniter | ||
*/ | ||
/* Settings */ | ||
$config['events_settings']['widgets'] = 'TRUE'; | ||
$config['events_settings']['categories'] = 'TRUE'; | ||
$config['events_settings']['enabled'] = 'TRUE'; | ||
$config['events_settings']['create_permission'] = '3'; | ||
$config['events_settings']['publish_permission']= '2'; | ||
$config['events_settings']['manage_permission'] = '2'; | ||
$config['events_settings']['date_style'] = 'DIGITS'; | ||
$config['events_settings']['categories_display']= 'yes'; | ||
$config['events_settings']['start_day'] = 'sunday'; | ||
$config['events_settings']['default_access'] = 'E'; | ||
$config['events_settings']['comments_per_page'] = '5'; | ||
$config['events_settings']['comments_allow'] = 'no'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | ||
/** | ||
* Name: Social Igniter : Events : Widgets | ||
* Author: Brennan Novak | ||
* [email protected] | ||
* @brennannovak | ||
* | ||
* Project: http://social-igniter.com | ||
* Source: http://github.com/socialigniter/events | ||
* | ||
* Description: Widgets for the Events App for Social Igniter | ||
*/ | ||
|
||
$config['events_widgets'][] = array( | ||
'regions' => array('sidebar', 'content'), | ||
'widget' => array( | ||
'module' => 'events', | ||
'name' => 'Upcoming Events', | ||
'method' => 'run', | ||
'path' => 'widgets_upcoming_events', | ||
'multiple' => 'FALSE', | ||
'order' => '1', | ||
'content' => '' | ||
) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<h3>Events Widgets</h3> |
File renamed without changes.