View day only: Event calendar configured with the “day” view option only, the “Default View” should be “day”.
仅查看日期 strong>:事件日历仅配置了“ day”视图选项,“ Default View”应为“ day”。The views “Week”, “Month”, “nMonth” should be unchecked.
不应选中“周”,“月”,“ n月”视图。
To fix the height, just add (for example) the parameter “height:400”.
要固定高度,只需添加(例如)参数“ height:400”。
Sample: https://wordpress.dwbooster.com/demos/multi-view/01-view-day-only.html
范例:https://wordpress.dwbooster.com/demos/multi-view/01-view-day-only.html p>
li>
View week only: Event calendar configured with the view week option only;
仅查看星期: strong>:事件日历仅配置了“查看星期”选项;the “Week” view should be enabled and the default view should be “week”.
应该启用“周”视图,默认视图应为“周”。
The views “Day”, “Month” and “nMonth” should be disabled.
应禁用“天”,“月”和“ nMonth”视图。
To fix the height, just add (for example) the parameter “height:400”.
要固定高度,只需添加(例如)参数“ height:400”。
Sample: https://wordpress.dwbooster.com/demos/multi-view/02-view-week-only.html
范例:https://wordpress.dwbooster.com/demos/multi-view/02-view-week-only.html p>
li>
View month only: Event calendar configured with the view month option only.
仅查看月份 strong>:事件日历仅配置了“查看月份”选项。To get this enable the “Month” view and set the default view to “month”.
为此,请启用“月”视图,并将默认视图设置为“月”。
The views “Day”, “Week” and “nMonth” should be unchecked.
应取消选中“天”,“周”和“ nMonth”视图。
To fix the height, just add (for example) the parameter “height:400”.
要固定高度,只需添加(例如)参数“ height:400”。
Sample: https://wordpress.dwbooster.com/demos/multi-view/03-view-month-only.html
范例:https://wordpress.dwbooster.com/demos/multi-view/03-view-month-only.html p>
li>
View n-Months only: Event calendar configured with the view n-Months option only.
仅查看n个月: strong>:事件日历仅配置了“查看n个月”选项。This can be done by setting the amount of months to display in the event calendar to 12, enable only the “n-Month” view and setting the “Default View” to “nMonth”.
这可以通过将事件日历中显示的月份数设置为12来实现,仅启用“ n-Month”视图,并将“默认视图”设置为“ nMonth”。
All the other views and buttons should be unchecked.
所有其他视图和按钮都应取消选中。
In the styles for this sample we have selected to fix the calendar width.
在此示例的样式中,我们选择了固定日历宽度。
Sample: https://wordpress.dwbooster.com/demos/multi-view/04-view-n-months-only.html
范例:https://wordpress.dwbooster.com/demos/multi-view/04-view-n-months-only.html p>
li>
Small event calendar: You can configure the calendar just like a single small event calendar.
小事件日历 strong>:您可以像配置单个小事件日历一样配置日历。This can be done by selecting the n-Months view and setting the “Number of Months for nMonths View” dropdown select box to 1. Sample: https://wordpress.dwbooster.com/demos/multi-view/05-small-
可以通过选择n个月视图并将“ nMonths视图的月数”下拉选择框设置为1来完成。示例:https://wordpress.dwbooster.com/demos/multi-view/05-small-
calendar.html
calendar.html p>
li>
n-Month view, only one month, large view: Event calendar with the n-Month view configured to display a single month in a large view.
n个月视图,只有一个月为大视图: strong>:将n个月视图配置为在大视图中显示一个月的事件日历。To get this result enable only the “n-Month” view and add the styles specified in the following sample page: https://wordpress.dwbooster.com/demos/multi-view/06-one-month-large-view.
要获得此结果,请仅启用“ n-Month”视图并添加以下示例页面中指定的样式:https://wordpress.dwbooster.com/demos/multi-view/06-one-month-large-view。
html
html p>
li>
n-Month view with 2 months using all the width: To get this result in the calendar enable only the “n-Month” view, set the “Number of Months for nMonths View” dropdown
n个月视图(使用所有宽度的2个月) strong>:要在日历中获得此结果,请仅启用“ n个月”视图,请设置“ nMonths视图的月数”下拉菜单select box to 2 and add the styles specified in the following sample page to fix the width of both the event calendar area and the width of each month: https://wordpress.dwbooster.com/demos/multi-view/07-two
选择框为2并添加以下示例页面中指定的样式以固定事件日历区域的宽度和每个月的宽度:https://wordpress.dwbooster.com/demos/multi-view/07-two
-months-using-all-the-width.html
-months-using-all-the-width.html p>
li>
n-Month view, 3 months with vertical align: The first settings needed to get this calendar configuration is to enable only the “n-Month” view and set the “Number of Months for nMonths
n个月视图,垂直对齐3个月: strong>要获得此日历配置,首先需要进行的设置是仅启用“ n-Month”视图并设置“ nMonths的月数”View” dropdown select box to show 3 months.
查看”下拉选择框显示3个月。
After that proceed to add some CSS styles to fix the width to the desired column width.
之后,继续添加一些CSS样式以将宽度固定为所需的列宽。
This way you can publish the calendar in the sidebar of your website.
这样,您可以在网站的侧边栏中发布日历。
Sample: https://wordpress.dwbooster.com/demos/multi-view/08-various-months-with-vertical-align.html
样本:https://wordpress.dwbooster.com/demos/multi-view/08-various-months-with-vertical-align.html p>
li>
Tooltip displayed on month,week and day view: In this event calendar sample, when you click over an event in the calendar, a floating tooltip panel with additional information is displayed.
在月,周和日视图上显示的工具提示: strong>:在此事件日历示例中,当您单击日历中的某个事件时,将显示一个浮动的工具提示面板,其中包含其他信息。This type of tooltip is available for the month, week and day views.
此类工具提示适用于月,周和日视图。
The n-Month view has a different type of tooltip panel.
n个月视图具有不同类型的工具提示面板。
To enable the tooltips, the parameter “showtooltipdwm” must be set to “true” (or enable it by checking the checkbox in the visual configuration).
要启用工具提示,必须将参数“ showtooltipdwm”设置为“ true”(或通过选中可视配置中的复选框来启用它)。
In addition to these parameters, add also the styles mentioned in the following page as instructed: https://wordpress.dwbooster.com/demos/multi-view/09-tooltip-displayed.html
除了这些参数之外,还按照说明添加以下页面中提到的样式:https://wordpress.dwbooster.com/demos/multi-view/09-tooltip-displayed.html p>
li>
Lighter view for events and center align: This calendar sample features the month, week and day views showing the events with a more lighter view: a color border is used instead filled backgrounds and the text is
事件和中心对齐的较浅视图 strong>:此日历示例具有月,周和日视图,这些视图以较亮的视图显示事件:使用彩色边框代替填充的背景,文本为centered.
居中。
The tooltips are already enabled for this sample;
该示例的工具提示已经启用;
to enable the tooltips you can do that by checking the tooltip checkbox in the visual configuration or just by setting parameter “showtooltipdwm” to “true”, this is also explained in other demos.
要启用工具提示,您可以通过在可视配置中选中工具提示复选框或仅将参数“ showtooltipdwm”设置为“ true”来实现,这在其他演示中也有说明。
To get the more lighter view you can add the styles indicated at this page: https://wordpress.dwbooster.com/demos/multi-view/10-lighter-view-center-align.html
要获得更明亮的视图,您可以添加此页面上指示的样式:https://wordpress.dwbooster.com/demos/multi-view/10-lighter-view-center-align.html p>
li>
Multi-line event description: Event calendar that displays a multi-line event description in the month, week and day views, this is useful to display more information directly over the calendar.
多行事件描述 strong>:事件日历在月,周和日视图中显示多行事件描述,这对于直接在日历上显示更多信息很有用。Only two CSS rules should be added to the styles to get this configuration.
只有两个CSS规则应添加到样式中以获得此配置。
It will work with any selection of parameters if you are using one of the mentioned views.
如果使用上述视图之一,它将与任何参数选择一起使用。
Check the detailed instructions at this page: https://wordpress.dwbooster.com/demos/multi-view/11-multi-line-event-description.html
查看此页面上的详细说明:https://wordpress.dwbooster.com/demos/multi-view/11-multi-line-event-description.html p>
li>
Images and HTML formatting in tooltip: The tooltips on the calendar can show images and formatted text.
工具提示中的图像和HTML格式 strong>:日历上的工具提示可以显示图像和带格式的文本。There are some styles that can be used to show/hide/customize the title, location, description and time: these styles are the CSS classes named “bubbletitle”, “bubblelocation”, “bubbledescription” and “bubbletime”.
有一些样式可用于显示/隐藏/自定义标题,位置,描述和时间:这些样式是CSS类,名为“ bubbletitle”,“ bubblelocation”,“ bubbledescription”和“ bubbletime”。
In this sample we have used only the class “bubbletime” to align it at the bottom of the content/image: https://wordpress.dwbooster.com/demos/multi-view/12-images-and-html-formatting-
在此示例中,我们仅使用“气泡时间”类将其在内容/图像的底部对齐:https://wordpress.dwbooster.com/demos/multi-view/12-images-and-html-formatting-
in-tooltip.html
in-tooltip.html p>
li>
Images directly on the calendar cells: You can use this plugin like a picture calendar.
直接在日历单元格上显示图像 strong>:您可以将此插件用作图片日历。The images should be added to the event description and the css rules mentioned in the following page to complete the formatting: https://wordpress.dwbooster.com/demos/multi-view/13-images-directly-on-the-calendar
图像应添加到事件描述和下一页中提到的css规则以完成格式化:https://wordpress.dwbooster.com/demos/multi-view/13-images-direct-on-the-calendar
-cells.html
-cells.html p>
li>
Show only from Monday to Friday: In this event sample we have disabled the Saturday and Sunday since this is a common configuration.
仅显示从星期一到星期五: strong>:在此事件示例中,我们禁用了星期六和星期日,因为这是常见配置。In the “viewWeekDays” parameter, each number in the array represents a weekday from Sunday to Saturday.
在“ viewWeekDays”参数中,数组中的每个数字代表从星期日到星期六的一个工作日。
An zero means that the weekday is disabled (not shown) and a 1 means that the day is enabled (shown).
零表示禁用工作日(未显示),而1表示启用一天(显示)。
Details at: https://wordpress.dwbooster.com/demos/multi-view/14-show-only-from-monday-to-friday.html
有关详细信息,请访问:https://wordpress.dwbooster.com/demos/multi-view/14-show-only-from-monday-to-friday.html p>
li>
Using 12 or 24 hour clock: This calendar supports both the 12 and the 24 hour clock (also known as military time).
使用12或24小时制: strong>:此日历同时支持12和24小时制(也称为军事时间)。The 24-hour clock is enabled as default;
默认启用24小时制。
if you prefer to use the 12-hour clock then just set the parameter “militaryTime” to “false”.
如果您希望使用12小时制,只需将参数“ militaryTime”设置为“ false”。
Sample: https://wordpress.dwbooster.com/demos/multi-view/15-using-12-or-24-hour-clock.html
样本:https://wordpress.dwbooster.com/demos/multi-view/15-using-12-or-24-hour-clock.html p>
li>
Showing the n-Days view: With this event calendar view you can display many days in a view similar to the single day view.
显示n天视图: strong>:使用此事件日历视图,您可以在类似于单日视图的视图中显示许多天。First you should enable the “nDays” view and then set the number of days to view on each calendar page.
首先,您应该启用“ nDays”视图,然后在每个日历页面上设置要查看的天数。
The parameters are viewNDays:true for enabling the view, numberOfDays:10 for setting the number of days and viewdefault:”nDays” to make it the default view if needed.
参数是viewNDays:true(用于启用视图),numberOfDays:10(用于设置天数)和viewdefault:“ nDays”(如果需要)使其成为默认视图。
Sample: https://wordpress.dwbooster.com/demos/multi-view/16-n-days-view.html
范例:https://wordpress.dwbooster.com/demos/multi-view/16-n-days-view.html p>
li>
Selecting hours to be shown: In some applications you may want to select only some hours to be shown in the event calendar, for example working hours.
选择要显示的时间: strong>:在某些应用程序中,您可能只想选择要在事件日历中显示的一些时间,例如工作时间。In the “Days”, “nDays” and “Week” views you can select the range of hours to be shown be setting the start and end hours.
在“天数”,“ nDays”和“周”视图中,您可以通过设置开始时间和结束时间来选择要显示的小时数范围。
Three parameters must be specified for this: the start hour hoursStart:8, the end hour hoursEnd:17 and the height of a single hour cell cellheight:60.
为此必须指定三个参数:开始小时hoursStart:8,结束小时hoursEnd:17和单个小时单元格高度height:60。
Hours are in military time, so 17 means 5:00pm.
营业时间是军事时间,因此17表示下午5:00。
Sample: https://wordpress.dwbooster.com/demos/multi-view/17-selecting-hours-to-be-shown.html
范例:https://wordpress.dwbooster.com/demos/multi-view/17-selecting-hours-to-be-shown.html p>
li>
Using drop-down lists for location and title: The location and title that are part of each event's description in the calendar are open/editable fields by default but you can convert them in drop-down
使用位置和标题的下拉列表: strong>默认情况下,日历中每个事件描述的一部分的位置和标题是打开/可编辑的字段,但是您可以在下拉列表中进行转换lists to make them easier to edit and keep the data consistency.
列表,使其更易于编辑并保持数据一致性。
Sample and detailed instructions: https://wordpress.dwbooster.com/demos/multi-view/18-lists-for-location-and-title.html
样本和详细说明:https://wordpress.dwbooster.com/demos/multi-view/18-lists-for-location-and-title.html p>
li>
Multi-column day view, location or title: In this event calendar sample the location and title have been converted in drop-down lists as explained in the previous sample #18.
多列日视图,位置或标题 strong>:在此事件日历示例中,位置和标题已在下拉列表中转换,如上一个示例#18所述。In addition to that now we have selected to use the “title” field as the column header in the day view, this way the events are placed in different columns agrupated by their titles.
除此之外,我们现在选择使用“标题”字段作为日视图中的列标题,这样,事件将被放置在由其标题组成的不同列中。
The same can be done with the location instead the title.
可以用位置代替标题来完成。
Sample and detailed instructions: https://wordpress.dwbooster.com/demos/multi-view/19-multi-column-day-view.html
样本和详细说明:https://wordpress.dwbooster.com/demos/multi-view/19-multi-column-day-view.html p>
li>
Day view with location & title grid: The event calendar day view can be modified to show the title and location as headers of the rows and column instead the default single columns and the hour in the row
带有位置和标题网格的日视图: strong>:可以修改事件日历的日视图,以将标题和位置显示为行和列的标题,而不是默认的单列和行中的小时header.
标头。
This is useful to display informations agrupated by title and location on each day.
这对于显示每天按标题和位置汇总的信息很有用。
Sample and detailed instructions: https://wordpress.dwbooster.com/demos/multi-view/20-day-view-with-location-title-grid.html
样本和详细说明:https://wordpress.dwbooster.com/demos/multi-view/20-day-view-with-location-title-grid.html p>
li>