Joined Fields in Pop Up?

I can't even remember whether this is generally true in Fabrik or not, but I would like my calendar popup to display fields that are found in joined tables. They don't seem to show up. (I know, I can make extra fields to copy the values I want displayed, but I'd prefer not to.). Is it possible to reference related fields?

Also, is there a way to make the popup wider somehow. I looked through the fullcalendar docs and tried playing element inspection but couldn't find the right way to make it wider.

Thanks,

Thom
 
You can use element placeholders of your list's elements (like in other places).
If your tables are joined the elements should be there.
 
Ah - thanks. A learning moment! I didn't realize that the groups of fields of joined tables need to be included in the form to be referenced in templates like this. (Forms seem to be more than forms in Fabrik. Someday I'm going to get my head around it.)

Any suggestions regarding the modal size?
 
You can override plugins\fabrik_visualization\fullcalendar\layouts\fabrik-visualization-fullcalendar-event-modal-popup.php
(e.g. remove sm-modal)
and add custom css in
plugins\fabrik_visualization\fullcalendar\views\fullcalendar\tmpl\bootstrap\
(e.g. override
.fabrikEventModal {
width: 300px !important;
}
setting in plugins\fabrik_visualization\fullcalendar\views\fullcalendar\tmpl\bootstrap\template.css

But both is work in progress at the moment, so keep an eye on changes in new FC versions.
 
Back
Top