Using the default fullcalendar view, add fields to page display. Only time and title are shown, not the added fields.

Comments

aspilicious’s picture

That is by design...
What exactly do you want to see?

tim.plunkett’s picture

Status: Active » Closed (works as designed)

Add other fields, set all but the last to be excluded from the view.
Alter the last field to be rewritten to contain the other fields.
Under the row plugin settings, chose that combined field as your custom title.

jsheffers’s picture

There is a small issue with doing it this way. It replaces the apostrophe character from the title field with the HTML entity number. Oh and it also keeps the fc-event-time at the top no matter what.

Any ideas on how to fix these issues?

Edit: After further investigation, it only changes the apostrophe to the HTML entity number if I choose the Content: title as a custom title in the FullCalendar row settings.

aspilicious’s picture

The apostrophe stuff should be fixed in the next release. And yes the time is always rendered first. That's how the plugin works.

jsheffers’s picture

So the only way to get rid of that would be via CSS or JS?

aspilicious’s picture

jsheffers, correct :). I know it's not nice but we can't do anything about that.

jsheffers’s picture

The other issue with this method is that views strips the HTML output. So if I wanted my field to render something like the code below it gets stripped out and makes this method useless.

<h5>[title]</h5>
<p>[field_date]</p>
jsheffers’s picture

Any ideas on this?

elly’s picture

Is there any workaround to keep HTML from getting stripped from the rewritten fields?

drupalok’s picture

i really would wish that full calendar could just show the all fields I add... without any workaround.

p4trizio’s picture

Hello,
I am trying to show some infos about the events with a custom plugin, as exlained on fullcalendar module documentation.
I noticed that in theme.inc file there is a function "fullcalendar_prepare_events" in which it is builded an array of events with attributes. These attributes are then parsed through Drupal.fullcalendar.fullcalendar.prototype.parseEvents in fullcalendar.library.js

My question:
is it possible to put every additional field declared on the view in those attributes?
Thanks!

milos.kroulik’s picture

Title: Additional fields not shown in views » Add additional fields to view
Category: Bug report » Feature request
Issue summary: View changes
Status: Closed (works as designed) » Active

Can we change this into feature request? I still think, it's a valid feature request - I personally would like to add Bootstrap popover to the event.

dcam’s picture

Status: Active » Closed (outdated)

I've volunteered to help clean up the FullCalendar issue queue. As part of that effort I'm closing issues open for unsupported versions of the module as "Closed (outdated)". That includes any Drupal 7-compatible versions because no active maintainer is supporting them.

If this issue is still relevant for version 3.x of FullCalendar, then feel free to re-open it and update the issue version number.