$v) { register_setting('fse', $k); } /*register_setting('fse_global', 'fse_number'); register_setting('fse_global', 'fse_df_wp'); register_setting('fse_global', 'fse_df'); register_setting('fse_global', 'fse_tf_wp'); register_setting('fse_global', 'fse_tf'); register_setting('fse_global', 'fse_ws_wp'); register_setting('fse_global', 'fse_ws'); register_setting('fse_global', 'fse_df_admin'); register_setting('fse_global', 'fse_df_admin_sep'); register_setting('fse_global', 'fse_template'); register_setting('fse_global', 'fse_template_lst'); register_setting('fse_global', 'fse_show_enddate'); register_setting('fse_global', 'fse_groupby'); register_setting('fse_global', 'fse_groupby_header'); register_setting('fse_global', 'fse_page_create_notice'); register_setting('fse_sp', 'fse_page'); register_setting('fse_sp', 'fse_page_mark'); register_setting('fse_sp', 'fse_page_hide'); register_setting('fse_admin', 'fse_adm_gc_enabled'); register_setting('fse_admin', 'fse_adm_gc_mode'); register_setting('fse_admin', 'fse_adm_gc_show_week'); register_setting('fse_admin', 'fse_adm_gc_show_sel'); register_setting('fse_fc', 'fse_fc_tit_week_fmt'); register_setting('fse_fc', 'fse_fc_tit_month_fmt'); register_setting('fse_fc', 'fse_fc_tit_day_fmt'); register_setting('fse_fc', 'fse_fc_col_week_fmt'); register_setting('fse_fc', 'fse_fc_col_month_fmt'); register_setting('fse_fc', 'fse_fc_col_day_fmt'); register_setting('fse', 'fse_load_jquery'); register_setting('fse', 'fse_load_jqueryui');*/ // add_settings_section($id, $title, $callback, $pagename // We do not need sections. We need different pages! add_settings_section('fse_global', '', array($this, 'hookSettingHeader_Global1'), 'fse_global'); { // add_settings_field($id, $title, $callback, $pagename, $section); add_settings_field('fse_number', __('Number of events
Number of events to display by default.', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_number'), 'fse_global', 'fse_global'); add_settings_field('fse_df', __('Date Format', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_df'), 'fse_global', 'fse_global'); add_settings_field('fse_tf', __('Time Format', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_tf'), 'fse_global', 'fse_global'); add_settings_field('fse_ws', __('Weeks starts on', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_ws'), 'fse_global', 'fse_global'); add_settings_field('fse_show_enddate', __('Show end date', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_show_enddate'), 'fse_global', 'fse_global'); add_settings_field('fse_allday_hide_time', __('Show time for all-day events', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_allday_hide_time'), 'fse_global', 'fse_global'); } add_settings_section('fse_global5', '', array(&$this, 'hookSettingHeader_Global5'), 'fse_global'); { } add_settings_section('fse_global2', '', array(&$this, 'hookSettingHeader_Global2'), 'fse_global'); { add_settings_field('fse_template', __('Template', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_template'), 'fse_global', 'fse_global2'); add_settings_field('fse_template_lst', __('Template for Listoutput', fsCalendar::$plugin_textdom).'
'.__('The whole template is automatically surrounded by the <li> tag when a grouped list of events is created.', fsCalendar::$plugin_textdom).'', array(&$this, 'hookSettingOption_fse_template_lst'), 'fse_global', 'fse_global2'); } add_settings_section('fse_global3', '', array(&$this, 'hookSettingHeader_Global3'), 'fse_global'); { add_settings_field('fse_groupby', __('Group by', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_groupby'), 'fse_global', 'fse_global3'); add_settings_field('fse_groupby_header', __('Header Format', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_groupby_header'), 'fse_global', 'fse_global3'); } add_settings_section('fse_global4', '', array(&$this, 'hookSettingHeader_Global4'), 'fse_global'); { add_settings_field('fse_load_jquery', __('Loading of jQuery library', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_load_jquery'), 'fse_global', 'fse_global4'); add_settings_field('fse_load_jqueryui', __('Loading of jQuery UI library', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_load_jqueryui'), 'fse_global', 'fse_global4'); add_settings_field('fse_load_fc_libs', __('Loading of FullCalendar files', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_load_fc_libs'), 'fse_global', 'fse_global4'); } add_settings_section('fse_pagination', '', array(&$this, 'hookSettingVoid'), 'fse_pagination'); { add_settings_field('fse_pagination', __('Enable pagination by default', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_pagination'), 'fse_pagination', 'fse_pagination'); add_settings_field('fse_pagination_prev_text', __('Text for prev link', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_pagination_prev_text'), 'fse_pagination', 'fse_pagination'); add_settings_field('fse_pagination_next_text', __('Text for next link', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_pagination_next_text'), 'fse_pagination', 'fse_pagination'); add_settings_field('fse_pagination_usedots', __('Appearance', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_pagination_usedots'), 'fse_pagination', 'fse_pagination'); add_settings_field('fse_pagination_end_size', __('Number of pages at the beginning/end', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_pagination_end_size'), 'fse_pagination', 'fse_pagination'); add_settings_field('fse_pagination_mid_size', __('Number of pages before/after current page', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_pagination_mid_size'), 'fse_pagination', 'fse_pagination'); } add_settings_section('fse_admin', '', array(&$this, 'hookSettingVoid'), 'fse_admin'); { add_settings_field('fse_df_admin', __('Date Format for Admin Interface', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_df_admin'), 'fse_admin', 'fse_admin'); add_settings_field('fse_adm_gc_enabled', __('Date chooser', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_adm_gc_enabled'), 'fse_admin', 'fse_admin'); add_settings_field('fse_adm_default_start_time', __('Default start time', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_adm_default_start_time'), 'fse_admin', 'fse_admin'); add_settings_field('fse_adm_default_end_time', __('Default end time', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_adm_default_end_time'), 'fse_admin', 'fse_admin'); add_settings_field('fse_adm_gc_mode', __('Mode', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_adm_gc_mode'), 'fse_admin', 'fse_admin'); add_settings_field('fse_adm_gc_show_week', __('Week number', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_adm_gc_show_week'), 'fse_admin', 'fse_admin'); add_settings_field('fse_adm_gc_show_sel', __('Month/Year Selector', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_adm_gc_show_sel'), 'fse_admin', 'fse_admin'); } add_settings_section('fse_sp', '', array(&$this, 'hookSettingHeader_SinglePage'), 'fse_sp'); { add_settings_field('fse_sp', __('Single view page', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_page'), 'fse_sp', 'fse_sp'); } add_settings_section('fse_fc', '', array(&$this, 'hookSettingHeader_Fc'), 'fse_fc'); { add_settings_field('fse_fc_tit_month_fmt', __('Title format month view', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_fc_tit_month_fmt'), 'fse_fc', 'fse_fc'); add_settings_field('fse_fc_tit_week_fmt', __('Title format week view', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_fc_tit_week_fmt'), 'fse_fc', 'fse_fc'); add_settings_field('fse_fc_tit_day_fmt', __('Title format day view', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_fc_tit_day_fmt'), 'fse_fc', 'fse_fc'); add_settings_field('fse_fc_col_month_fmt', __('Colum header format month view', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_fc_col_month_fmt'), 'fse_fc', 'fse_fc'); add_settings_field('fse_fc_col_week_fmt', __('Colum format week view', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_fc_col_week_fmt'), 'fse_fc', 'fse_fc'); add_settings_field('fse_fc_col_day_fmt', __('Colum format day view', fsCalendar::$plugin_textdom), array(&$this, 'hookSettingOption_fse_fc_col_day_fmt'), 'fse_fc', 'fse_fc'); } } /** * Creates a menu entry in the settings menu * @return void */ function hookAddAdminMenu() { // Options $menutitle = __('Calendar', fsCalendar::$plugin_textdom); add_options_page(__('Calendar', fsCalendar::$plugin_textdom), $menutitle, 'manage_options', 'wp-cal-settings', array(&$this, 'createCalendarSettingsPage')); } /** * Creates the settings pages * @return void */ function createCalendarSettingsPage() { global $wpdb; global $user_ID; ?>

hookSettingsUsage(); ?>
hookSettingsAbout(); ?>

{event_url}, which is not available, if no single view page is defined.', fsCalendar::$plugin_textdom); ?>

Mark page the selected page will be highlighted in the page overview.', fsCalendar::$plugin_textdom); ?>

{events_list}) and for the integration in your theme '. 'using WP Calendar functions', fsCalendar::$plugin_textdom); ?>. all these settings can be overriden. For more information please have '. 'a look a the usage documentation', fsCalendar::$plugin_textdom); ?>.

date() function for all the output format options.', fsCalendar::$plugin_textdom); ?>

using the WP functions, these settings have not effect!', fsCalendar::$plugin_textdom); ?>

Using WP Calendar you can easily share your event on facebook and show who's attending on your event on your website.
To activate Facebook integration, you have to authenticate first. Click on the Connect Button to connect now.

FullCalendar, a nice graphical calendar. '. 'This graphical calendar has many features and options, which can all be set when integration it in your blog (see usage documentation). '. 'All the options, which are relevant for localization are passed by WP Calenar (first day of week, time format, all translations like daynames). '. 'Since the date format varies depending on the view, you can define all the date formats here. ', fsCalendar::$plugin_textdom); ?> date() function for all valid parameters', fsCalendar::$plugin_textdom)?>, documentation of FullCalendar for the correct syntax (how to use brackets).', fsCalendar::$plugin_textdom)?>


/>
/> />
date() function for all valid parameters', fsCalendar::$plugin_textdom)?> />
date() function for all valid parameters', fsCalendar::$plugin_textdom)?> />

'. 'In both widgets you can use certain filters and limit the number of events to display. '. 'The template can be maintained in the widgets as well. For more information about templates, please read on.', fsCalendar::$plugin_textdom); ?>

Learn how to:

FullCalendar, a very nice, simple, customizeable ajax-based calendar. You can integrate this calendar by using the tag {events_calendar} in your page or post. '. 'WP Calendar will set some options for your, especially all the transaltions for day- and monthnames and some WP options like the time format or the first day of the week. '. 'All the date formatting options can be maintained in the FullCalendar settings tab. All FullCalendar options can be passed as parameters of the tag. Nested options must be accessed using its path '. '(e.g. Header->right: "today"). Along with the FullCalendar options, you can also pass various parameters for filtering the output (See filter options).' , fsCalendar::$plugin_textdom); ?>

:

{events_calendar; categories="3,5"; height=600; header->left="prev"; header->center="today, title"; header->right="next"; weekends=false}

parameters of FullCalendar and not the parameters of the php date function.', fsCalendar::$plugin_textdom); ?>

linktopostfalse.

:

  • fse_get_events($args = array()) -
  • fse_print_events($args = array()) -
  • fse_print_events_list($args = array()) -
  • fse_get_event($eventid) -

:

fse_print_events(
  array( 'number'   => 10,
         'exclude'  => array(387, 827),
         'before'   => '<table cellpadding="0" cellspacing="0">',
         'after'    => '</table>',
         'template' => '<tr><td>{event_subject}<br />@{event_location}</td></tr>'
  )
);
		

. .

echotruefse_print_events and fse_print_events_list normally echos the result. By setting the parameter echo to false, the result is returned instead', fsCalendar::$plugin_textdom); ?>.
number.
templatehere', fsCalendar::$plugin_textdom); ?>. escape all the parentheses (e.g. {events_print; template="\{event_subject\}"})', fsCalendar::$plugin_textdom); ?>.
before''.
after''.
alwaysshowenddate.

.

paginationCalendar options number', fsCalendar::$plugin_textdom); ?>.
pagination_prev_linkCalendar options .
pagination_next_linkCalendar options .
pagination_use_dotsCalendar options pagination_end_size', fsCalendar::$plugin_textdom); ?>.
pagination_end_sizeCalendar options pagination_use_dots is enabled', fsCalendar::$plugin_textdom); ?>.
pagination_mid_sizeCalendar options pagination_use_dots is enabled', fsCalendar::$plugin_textdom); ?>.

fse_print_events_list', fsCalendar::$plugin_textdom); ?>.

groupby:
  • FSE_GROUPBY_NONE -
  • FSE_GROUPBY_DAY -
  • FSE_GROUPBY_MONTH -
  • FSE_GROUPBY_YEAR -
groupby_headerdate() function', fsCalendar::$plugin_textdom); ?>.

include-.
exclude-.
author''.
statepublic.
categories-array of categories, which the events must be linked to', fsCalendar::$plugin_textdom); ?>.

:

  • FSE_DATE_MODE_ALL (1) .
  • FSE_DATE_MODE_START (2) .
  • FSE_DATE_MODE_END (3) .

datemode', fsCalendar::$plugin_textdom); ?>.

datefromnow for the current time and today '. 'for the start of todays day are available. These two keyword can be extended by adding or subtracting hours (e.g. today-24 for yesterday or today+24for the end of the current day). Other calculations are not supported, you can only add or subtract hours.', fsCalendar::$plugin_textdom); ?>.
dateto''datefrom above', fsCalendar::$plugin_textdom); ?>.
datemodeFSE_DATE_MODE_ALL.
allday-.
orderbydatefromfse_print_events_list, when grouping is active', fsCalendar::$plugin_textdom); ?>.
orderdirASCasc or desc). Use the same key as in the array orderby to join the right field', fsCalendar::$plugin_textdom); ?>.
 

.

event to your url (e.g. www.yourblog.com/pages/myevent?event=37). To load an event in your post without passing by url, use the tag {event_id; id=x} (e.g. {event_id; id=538} directly in your post before using the other tags. By using this tag it is also possible to load more than one event in a sequentiall mechanism. Everytime you insert the event_id tag another event can be loaded', fsCalendar::$plugin_textdom); ?>.

.

optional parameters to control the output. All parameters in the tag should by separated by a ";". Remember that all parameter values are trimmed. If you need some extra whitespaces at the begining or at the and of a value use quotes to surround the value (e.g. ", ")', fsCalendar::$plugin_textdom); ?>.

{event_id; id=x}If no ID is specified the current ID is printed out", fsCalendar::$plugin_textdom); ?>.
{event_subject}
{event_location}
{event_description; truncate_more=x}truncate_more ist set to true (1), the text after the <!--more--> is truncated.", fsCalendar::$plugin_textdom); ?>
{event_startdate; fmt=x}fmt to define a differing format", fsCalendar::$plugin_textdom); ?>
date() function for all valid parameters', fsCalendar::$plugin_textdom)?>
{event_enddate; fmt=x; alwaysshowenddate=y; before=z}fmt to define a differing format", fsCalendar::$plugin_textdom); ?>
date() function for all valid parameters', fsCalendar::$plugin_textdom)?>
{event_starttime; fmt=x; hideifallday=y}fmt to define a differing format. Use the parameter hideifallday (using 0 or 1) if you wanna hide the time, if it's an all-day event.", fsCalendar::$plugin_textdom); ?>
date() function for all valid parameters', fsCalendar::$plugin_textdom)?>
{event_endtime; fmt=x; alwaysshowenddate=y; hideifallday=z; before=z}fmt to define a differing format. Use the parameter hideifallday if you wanna hide the time, if it's an all-day event.", fsCalendar::$plugin_textdom); ?>
{event_allday; text=x}text if it is an allday event.", fsCalendar::$plugin_textdom); ?>
date() function for all valid parameters', fsCalendar::$plugin_textdom)?>
{event_duration; type=x; suffix=y; empty=z}d, h, m to the argument type to get the days, hours and minutes. You can add a suffix to the output by passing the argument suffix. By default empty values are not printed out, by setting the argument empty to 1 you can change that behaviour.", fsCalendar::$plugin_textdom); ?>
{event_categories; exclude=x; sep=y}exclude to pass a comma-separated list of categories to exclude from displaying", fsCalendar::$plugin_textdom); ?>. sep to define the separator (", " is default). You can also pass the value list, which will force the output in unordered list", fsCalendar::$plugin_textdom); ?> (<ul><li>cat1</li><li>cat2</li></ul>)
{event_publishdate; fmt=x}fmt to define a differing format", fsCalendar::$plugin_textdom); ?>
date() function for all valid parameters', fsCalendar::$plugin_textdom)?>
{event_publishtime; fmt=x}fmt to define a differing format", fsCalendar::$plugin_textdom); ?>
date() function for all valid parameters', fsCalendar::$plugin_textdom)?>
{event_author}
{event_authorid}
{event_publisher}
{event_publisherid}
{event_url; linktopost=x}
{events_print; number=x; template=y...}documentation of the function fse_print_events', fsCalendar::$plugin_textdom); ?>.
{events_printlist; number=x; template=y...}documentation of the function fse_print_events_list', fsCalendar::$plugin_textdom); ?>.

.

.