The help in the Views interface should tell users that they don't have their view properly configured. It shouldn't just be something that pops up when you go to view the page.
Let's help guide folks through this process when they are creating views. We can suggest that adding calendars should be done through the templates.
-------------
hi, i'm getting the warning:
The view Calendar of Resource Booking has been saved.
Debug:
'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.'
in calendar_plugin_style->render() (line 211 of /home/julien/public_html/dt/sites/all/modules/calendar/includes/calendar_plugin_style.inc).
and the calendars do not function.
i've attached an image with the view "month"
is there any setting i'm missing?
Comment | File | Size | Author |
---|---|---|---|
#88 | Content_Field_Calendar_(Content).png | 69.13 KB | quindio |
#56 | calendar_plugin_debug.PNG | 62.36 KB | alimuls |
month-view-resource-booking.jpg | 125.25 KB | julienl |
Comments
Comment #1
stilllife00 CreditAttribution: stilllife00 commentedSame problem here with the calendar module up to date
Comment #2
Guru CreditAttribution: Guru commentedTry the latest development build. I was getting the same error; upgrading to the latest development release fixed the issue.
Comment #3
LTech CreditAttribution: LTech commentedupgrade didn't solve the issue for me.
Comment #4
awolfey CreditAttribution: awolfey commentedMake sure ctools is also latest dev.
Comment #5
Cyberwolf CreditAttribution: Cyberwolf commentedThis also happened to me when using anything else than the calendar items row style (content, fields), while using the latest dev releases of all required modules (ctools, views, date, calendar).
Comment #6
hathi_ndg CreditAttribution: hathi_ndg commentedHi,
Same thing happened to me when creating a new Calendar View. I'm using the latest dev releases of Views, Date, Calendar and CTools (as of Oct 1st).
Debug:
'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.'
in calendar_plugin_style->render() (line 211 in C:\xampp\htdocs\www_groupe\sites\all\modules\calendar\includes\calendar_plugin_style.inc).
Any help is most welcome
thanks!
Comment #7
somanyfish CreditAttribution: somanyfish commentedSame error for me. I have installed the latest (as of 10/7) of CTools, Views, Calendar and Date. I followed all of the steps on the Debugging page. I uninstalled Calendar completely and then created a new view of type Calendar with these options:
Show "Content" of type "Event" sorted by "Newest first"
- Create a page
- Page title = "Events Calendar"
- Path = 'news-events/calendar'
Display format = "Calendar" of "fields"
Items to display = 10
Use pager = true
Create a menu link = false
Include an RSS feed = false
When I hit "Continue & Edit", I get this error:
Comment #8
axle_foley00 CreditAttribution: axle_foley00 commentedI too am getting this same issue, even with the latest -dev releases of the modules required.
Comment #9
kortas87 CreditAttribution: kortas87 commentedhaving the same problem... all devs...
Comment #10
causalloop CreditAttribution: causalloop commentedditto
Comment #11
causalloop CreditAttribution: causalloop commentedcan't display the mini cal at all without that error. Latest devs of calendar, date, ctools etc.
Full error:
Comment #12
skolesnyk CreditAttribution: skolesnyk commentedThis is quite a major bug and hasn't been fixed for over a month.
Anybody's got an idea how to quickly manually fix it?
Comment #13
jonjob CreditAttribution: jonjob commentedComment #12 on http://drupal.org/node/1263456 fixed this issue for me
Comment #14
Z2222 CreditAttribution: Z2222 commentedHere's how I fixed it in Drupal 7:
EDIT #1: the problem returned:
EDIT #2: I fixed that by setting "Show: Calendar Items | Settings", but now it says:
Here is where I am so far:
http://i.imgur.com/0qF8d.png
Comment #15
mtyf CreditAttribution: mtyf commentedas #5 mentioned above just use calendar format & calendar items instead of fields.
cheers!
Comment #16
AniaMi CreditAttribution: AniaMi commentedsubs
Comment #17
Z2222 CreditAttribution: Z2222 commented@mtyf (#15) -- thanks...
Comment #18
linitrex CreditAttribution: linitrex commentedUsing calendar format & calendar items is not a solution. There is a good reason to have the fields option available. It is completely different use-case. Calendar items format is not a substitute for the fields it just works different way. Still interested if there is any solution. Maybe reverting to an older version of the module until fixed?
Comment #19
Z2222 CreditAttribution: Z2222 commented@mtyf -- I tried that, but it isn't working or I'm not sure what you mean. This is what I had before:
http://i.imgur.com/0qF8d.png
This is what happened when I tried to remove the fields:
http://i.imgur.com/QOLKU.png
Comment #20
dvales CreditAttribution: dvales commentedsubscribing, same problem
Comment #21
angelinardo CreditAttribution: angelinardo commentedI'm having the same issue. 'calendar_plugin_style: Missing calendar row plugin'
Comment #22
Ingmar CreditAttribution: Ingmar commentedMe too. With the latest install
Comment #23
alexkb CreditAttribution: alexkb commentedI was getting this same error, and I first tried upgrading to -dev versions, and then even applying some patches (from another d.o issue), but the problem seemed to be caused by not having a "Contextual Filter" set to the a date field in my custom view.
I just looked at the calendar view that comes with the calendar module for an example of this.
Hope that can help someone.
Comment #24
mghatiya CreditAttribution: mghatiya commentedThanks Alex. That did help.
Comment #25
sr631 CreditAttribution: sr631 commentedI have a "Contextual Filter" correctly set up (#23 is not the issue here) - I have a working month-view calendar with 'Show: Calendar Items' But I get this error if I change "Show" to anything else. (I want to use Content-teaser)
Is it supposed to be supported to choose a different "Show", or is "Calendar Items" the only setting that is supposed to work for a calendar? (I only need month- view)
Does anyone have a suggestion of how to work-around this bug to style the data rendered for an event? As a "Calendar Item" all styles and wrapping tags added per field are ignored/stripped. Overriding the field tpl gives some wrapping, but not the ability to nest and group fields. Ideally I want to be able to render the teaser view mode for my event. Is there another way to do that?
Comment #26
sr631 CreditAttribution: sr631 commentedNote: I figured out a work around for this using the template_preprocess_calendar_item hook. It may be ugly to load the node view there and overwrite the "rendered_fields" array, but it works! I'd still be interested to learn the "right" way to do this if it's out there.
Thanks.
Comment #27
Cyberwolf CreditAttribution: Cyberwolf commentedRelated: #1231852: Day view format:Table
Comment #28
KarenS CreditAttribution: KarenS commentedI think this issue is more or less a duplicate of #1236610: Calendar plugin style does not allow usage of inherited calendar_plugin_row_node. The calendar uses its own row plugin because it has to add a bunch of information that is not available in other row plugins. The error is telling you that you need that plugin, it is not a 'bug'.
See the bottom of that related issue for an explanation of why the plugin is necessary.
Comment #29
pags CreditAttribution: pags commentedHello,
I'm experiencing this error at the moment too.
I am a new Drupal Developer, and in reviewing this discussion I'm not seeing what strike's me as a clear solution for the problem.
My Drupal installation is version 7.1. I have Views 7.x-3.1 installed and have a number of views created and working just fine. This morning I downloaded and enabled Date 7.x-2.0-rc1 and then downloaded and enabled Calendar 7.x-3.0-alpha2, in an attempt to get a calendar function working on the website I'm developing.
After enabling Calenedar, Date, Date All Day, Date API, Date Popup, and Date Views, I created a new content type that includes a date field. I then created a number of new nodes of this new content type. I then tried to create a Calendar view of the content I had just created and encountered the error message
'calendar_plugin_style: The calendar row plugin is required when using the calendar style, but it is missing.'
I searched for this error on the Drupal site and found this thread. I read some discussion on Contextual Filters that was indicating a fix for the problem. I tried it but the problem remains.
I also read that the suggestion for using the latest development versions for Calendar and Date and did so even though there was an explicit warning at the end of the Date notes stating that it was NOT working. The same error message occurred ( yes, I cleared the cache, and reserved my date field) Additionally, I encountered a new error (http://drupal.org/node/1413200)
Call to undefined function _views_prepare_handler()
Frustrated with that, I went back to the Date 7.x-2.0-rc1 and Calendar 7.x-3.0-alpha2 and the "Call to undefined function _views_prepare_handler()" went away.
So at present I cannot get my calendar view to work due to this plugin error.
Most of this thread seems geared to developers of the Calendar and Date code and perhaps there is a solution offered in here, but I'm not seeing it. Can somebody offer a straightforward explanation as to how fix this?
Thank You
Comment #30
navinkmrsingh CreditAttribution: navinkmrsingh commentedThe best way to avoid any such circumstances is to 'clone the whole view' and then make required changes to FILTERS, FIELDS and Contextual FILTERS
That worked for me :)
Comment #31
xgougeon CreditAttribution: xgougeon commentedHi ! I'm having the same problem...
I'd like to try your solution, but what do you mean by "required changes to FILTERS, FIELDS and Contextual FILTERS" ??
Comment #32
xgougeon CreditAttribution: xgougeon commentedGlobally has anyone ever made a calendar view block working properly ??? I see many hacking and tricking, but... before diving into the jungle, if anyone could explain the proper way to get this working... It would help me a lot. Cheers !
Comment #33
kim_charest CreditAttribution: kim_charest commentedHi!
I have the exact same problem as cited in #14. Can someone help?
Many thanks!
Comment #34
billyverde CreditAttribution: billyverde commentedSame problem here.
Comment #35
trim108 CreditAttribution: trim108 commentedthere is a solution of this problem:
when you chose field in view for CONTEXTUAL FILTERS instead "Content: Date of event - name field" you need chose "Date: Date (node) (Content: Date of event - name field)"
for more info see default calendar view
Comment #36
nflowers1228 CreditAttribution: nflowers1228 commentedThis seemed to solve my issues. I got the error message when I tried to build my own view, but then found these instructions that showed me step by step how set up the calendar. The key for me was to pick a calendar template (see step 5) then the view was created for me and I could customize it the way I wanted: http://drupal.org/node/1477602
Comment #37
pilbster CreditAttribution: pilbster commentedProblem solved for me by eventually following nflowers1228's advice.
trim108 also made me realise why the Arlin Sandbulte video was showing a different dialogue box to me when I was doing the contextual filter. So I'll keep this in mind in the future.
cheers
Comment #38
StephenWard CreditAttribution: StephenWard commentedI recently encountered this error. I resolved it by setting the default value on the contextual filter to the current date. I hope this helps anyone still having trouble.
Comment #39
Umayal CreditAttribution: Umayal commentedI am using Calendar 7.x-3.4
I am also have same error:
Debug:
'calendar_plugin_style: The calendar row plugin is required when using the calendar style, but it is missing.'
in calendar_plugin_style->render() (line 228 of /sites/all/modules/calendar/includes/calendar_plugin_style.inc)
Comment #40
ditcheva CreditAttribution: ditcheva commented#35 fixes the issue. make sure you also provide the 'Current date' as the default when an argument is not present!
Comment #41
Umayal CreditAttribution: Umayal commentedThanks for replay.
I already create a calender block view using calender 7.x-3.0
I pass current date as argument then I can view month calender in block.
But I update the calender module 7.x.3.4
I cannot get calender, It display error (I already set current date is default value in view)
Comment #42
santy CreditAttribution: santy commentedI resolved the problem deleting de view, and creating a new view of calendar,
Comment #43
Umayal CreditAttribution: Umayal commentedThanks Mr.Santy. I done it. It works.
Comment #44
Dukuu CreditAttribution: Dukuu commentedDont know why closed the thread when this bug still occurs. Calendar worked earlier and stopped to work after upgrading.
Updated from 7.x-3.0-alpha2 to 3.4 and got an error
View for calendar also stops working, so that unable to change any preferences.
Several ways, such as to disable-uninstall-delete-reupload-enable the calendar module, give no results.
For me this bug became fixed when i copied my older 7.x-3.0-alpha2 version of calendar to the cleared from 3.4 version site in ordinary way. Hope that will help somewone like me.
If this thread must be closed, sorry me for opening it.
Comment #45
Dukuu CreditAttribution: Dukuu commentedYep, looks like the problem comes only if updating. In latest 3.4 version repeating the same view makes no problems. So my bug report is ot really fair. I close back this thread. Thanks to the devs, that made the module better than it was =) In new version i made that things, that i could not in old one. Great thanks for that!
Comment #46
rootical CreditAttribution: rootical commentedI am sorry but i have to change the state to active because none of the proposed ways of fixing it did not help me.
I`ve tried totally delete and reinstall Calendar module;
I can`t edit calndar views - it gives a blank page.
Please someone help to fix it.
Comment #47
wisdom CreditAttribution: wisdom commentedTo avoid the issue create a view from template:
structure >> view >> add view from templates
Then the view gets automatically the setting:
Format: Calendar | Settings
Show: Calendar Entities | Settings
Comment #48
tanmaykProblem solved as in #36
http://drupal.org/node/1477602
Comment #49
dewolfe001 CreditAttribution: dewolfe001 commentedDitto-- using one of the View templates seemed to be the only way I could remedy this. I used one of those views then edited the View to put in a content type filter so that the desired content would show up.
Comment #50
zunaeid CreditAttribution: zunaeid commentedProblem solved in http://drupal.org/node/1477602 (see step 4)
Comment #51
pags CreditAttribution: pags commentedJust updated to 3.4 and this problem is back. I experienced this in prior version, found a fix, and now its back. Posting #45 reports this is fixed in 3.4... but NOT!!! Please fix... there are lots of posts here indicating that there is a problem.
Also, I have 3 different calendar views and I am unable to edit any of them since applying updates... all come up blank.
Comment #52
pags CreditAttribution: pags commentedProgress update...
I found that I could export and then import my calendar views which enabled me to be able to see and edit them.... however the plug-in error remains.
Comment #53
pags CreditAttribution: pags commentedI found that I could not get any of my existing calendar views to work after updating to 3.4. I had to delete them and recreate them using the "add view from template" option in Views.
So to summarize these three posts (#51, #52, #53):
This problem needs to be fixed as I ran into this very same error in the previous calendar release... last time I got by re-specifying my contextual filter, but not this time. Something is amiss here and it was time consuming to have go through my calendar coding again this afternoon. Lots of others seem to be having similar problems.
Comment #54
carolinagc CreditAttribution: carolinagc commentedI did what #47 explains create a view from template: structure >> view >> add view from templates
and it worked perfectly form me :-)
Thanks!!
Comment #55
mgiffordCould some descriptive text to point folks to the Calendar templates?
Comment #56
alimuls CreditAttribution: alimuls commentedin calendar_plugin_style->render() (line 228 of /var/www/vhosts/launchinteractivemedia.com/httpdocs/clients/exploreut/sites/all/modules/calendar/includes/calendar_plugin_style.inc).
Need a quick help.
Comment #57
Neverbalnost CreditAttribution: Neverbalnost commentedHi there!
I had the same problem. After I carefully read the documentation I discovered that the calendar view should be created from the template. If it is done this way - module works like magic.
Hope this information helps someone.
Comment #58
Sk8erPeter CreditAttribution: Sk8erPeter commentedYes, it's written here:
http://drupal.org/node/1250714
Step by step guide to create an event listing with calendar block in Drupal 7
Comment #59
cllamas CreditAttribution: cllamas commentedHi, I'm creating the calendar view from the template and I cannot make it work.
Comment #60
xbrianx CreditAttribution: xbrianx commentedI am getting this same issue but reading #50 helped out!
Comment #61
tuccio CreditAttribution: tuccio commentedSo unless you create the calendar view from a template, a calendar view does not work? This is outstanding.
Comment #62
cup_of_squirrel CreditAttribution: cup_of_squirrel commentedFigured it out. Here's what worked for me:
Comment #63
Bricks and Clicks MarketingWhy is this happening for me on a clean install of Drupal? Shouldn't the Views that come with the module just work out of the box?
Comment #64
ondway2legend CreditAttribution: ondway2legend commentedI did what #47 explains and it worked perfectly form me :-)
Thanks bro...
Comment #65
nicktr CreditAttribution: nicktr commented#36 worked for me - Use a view template!
Comment #66
robearls CreditAttribution: robearls commentedSo the calendar "attachment" display I want to add to a view with 3 other existing, quite-complex, displays wont work unless I start all over again and create from a template?
This is broken.
Comment #67
mgiffordWe can do better at describing what needs to be done!
Comment #68
vishal.sirsodiya CreditAttribution: vishal.sirsodiya commentedHello Everyone,
I am also facing this types of error.
Please help me.
calendar_plugin_style: The calendar row plugin is required when using the calendar style, but it is missing
Comment #69
niner94949 CreditAttribution: niner94949 commented#62 worked for me. Thank you very much for the suggestion.
Comment #70
jaesperanza CreditAttribution: jaesperanza commentedFor some reason, mine got fixed doing a clear cache and cron. Issue started when working around with Views fields.
Comment #71
Max1 CreditAttribution: Max1 commentedThis thread is four years old..
Yes, I ran into the same error too.
Comment #72
Max1 CreditAttribution: Max1 commentedWow, #58 quick saved me. Make view from template!
Comment #73
pattyz CreditAttribution: pattyz commentedIt appears to me that the Calendar module is not functioning at all. I get the error: 'calendar_plugin_style: The calendar row plugin is required when using the calendar style, but it is missing.' when I only ENABLE the module. I haven't done anything yet. If we need to avoid the module, what is the alternative? I need to get a calendar up ASAP. I tried Full Calendar, but it also doesn't work. I followed the instructions carefully, but when I save the date field in the View, the screen disappears and becomes full of code.
Is there any Calendar module that is currently functioning? I would really appreciate anyone's help. Please email me at email3@pbzproductions.com.
Comment #74
VM CreditAttribution: VM commenteduser above is reporting in the forums. It is evident the user has not worked through this thread. User also refuses to test on a clean installation.
https://www.drupal.org/node/2478729#comment-9870107
Comment #75
Max1 CreditAttribution: Max1 commentedTip: clean installation easy to get on simplytest.me
Comment #76
CLEList CreditAttribution: CLEList as a volunteer commentedThis is the answer people https://www.drupal.org/node/1477602
Comment #77
allenthehusband CreditAttribution: allenthehusband as a volunteer commentedI fixed this for my calendar view by changing the below:
Before
Format:
Format: Calendar
Show: Fields
After
Format:
Format: Calendar
Show: Calendar Entities
Comment #78
umeshpatil CreditAttribution: umeshpatil as a volunteer commentedHi,
Change the format to Calendar and change to Calendar Entities instead of fields in Show,
For data to be popped up into the calendar, the date in content type has to be Date ISO.
If you want to fresh start then follow this article,
https://www.drupal.org/node/1477602
Or check my comment on Stackoverflow
Comment #79
umeshpatil CreditAttribution: umeshpatil as a volunteer commentedPlease refer to https://www.drupal.org/node/1272976#comment-10061048
Comment #81
artiprasad CreditAttribution: artiprasad commentedHi,
Here is solution:
1) go to admin >> Views
2) Click on Add view from template
3) Select which format do you want
4) Click on add
5) Name the view >> Continue
6) Now set up your settings and finally save it.
Comment #82
prempatel2447 CreditAttribution: prempatel2447 as a volunteer commentedTo fix the below issue-
Better Help Mising - 'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.'
We Just needs to add the Configure contextual filter: Date: Date (node) in view with the below setting-
WHEN THE FILTER VALUE IS NOT IN THE URL => Provide default value (Current Date)
Granularity : Month
Dates to compare : Start/End date range
Add multiple value identifier : No
Date field(s) : Content: event_date - start date (field_event_date)
Comment #83
nickBumgarner CreditAttribution: nickBumgarner at Inclind Inc commentedComment #84 worked for me.
Comment #84
brad.bulger CreditAttribution: brad.bulger commentedthere is no comment 84.
Comment #85
brad.bulger CreditAttribution: brad.bulger commentedthis is not "Fixed" in any sense. if the only row display format that will work is "Calendar entities" than the other options shouldn't be available. at the least, it should be caught by a validation error when saving the view. this raw developer's debugging message is a job half-done, to put the best face on it.
Comment #86
nehajyoti CreditAttribution: nehajyoti as a volunteer commentedFor Drupal 8 version 8.x:
This is the error coming on adding any of the add view from template:
\Drupal\calendar\Plugin\views\style\CalendarStyle: A calendar date argument is required when using the calendar style, but it is missing or is not using the default date.
Is this error already fixed for D8 ?
Comment #87
sgurlt CreditAttribution: sgurlt commentedThe issues appears when you create a calendar from the views template. In my case it came from the week display, the contextual filter had a broken handler.
Comment #88
quindio CreditAttribution: quindio commentedI have been trying to figure out why my event calendar view is not working,
since I updated drupal 8.1.2 to 8.1.7
Before disabling the views caching the view was not displaying anything but if I take
the SQL created by the view and ran it inside MySql I would get result.
After I disabling the Views->Views data caching->advance I am getting
the message
I enabled the views caching and I am still getting the above message.
My views uses a date argument for 'Fields' and for 'Sort criteria'
I have included a snapshot of my view.
Is there a fix for this?
Thanks
Comment #89
quindio CreditAttribution: quindio commentedI was able to bypass my problem by removing the latest calendar module and putting the previous calendar module and my calendar is working. Something is wrong with the latest calendar module.
Thanks,
Comment #90
pietpomp CreditAttribution: pietpomp commentedfor comments #86, #87, #88 track D8version issue #2790367: views template Week, \Drupal\calendar\Plugin\views\style\CalendarStyle: A calendar date argument is required when using the calendar style, but it is missing or is not using the default date.
Comment #91
NancyDru#85 was the only comment here that helped me.
Comment #92
jrotondo CreditAttribution: jrotondo commentedHere we are in 2018 and this is still a problem. Looks like this great module is no longer supported. :(
Comment #93
apaderno