How to circumvent the Fullcalendar Label Issue?

fstorch

Member
This issue exists in F3 as well:

Post
Label element for fullcalendar vis
But is there some (easy?) way to show the label of a Databasejoin field in a Fullcalendar Visualization?
I tried a calc field :
return '{event_join_info}';
as Label field but the Event shows up empty.
With the Databasejoin Field the id shows up instead:
http://jtest.conacare.de/index.php/events/visualization/1

Not a showstopper since it never worked, but would make the Fullcalendar a lot more useful.
Regards ... Franz
 
Adding an additional element to hold the label should do.

Keep in mind that it's fetching this element also from the database, so a calc should be set to "only calc on save" and you have to fill the data for existing records manually.

Edit:
For dbjoin labels this should do (still not doing e.g. for dropdown elements):
Add
if (!empty($data['label'])) $row->label = $row->{$data['label']};
in plugins\fabrik_visualization\fullcalendar\models\fullcalendar.php line 603
 
Last edited:
Much better. Thanks again Troester!
And no calc element necessary.
Just a little quirk: the label is a link. When that is clicked, a little empty popup opens in the back in addition to the correct form.
When clicking the time piece instead, just the expected form opens.
 
Ok, I can see it (with Option "Show full detail"), but this is the same without this label fix.
 
If you follow fstorch link
http://jtest.conacare.de/index.php/events/visualization/1
and click on a event you see sometimes one sometimes two popups
Luckely both have a X to end them.
I have a simular problem.
But depending on the tables the clikable events belong to, there is a button the end the popup or there is no X and no button.
Please guide me in a direction for the right settings and I also like to know where the layout for the popups is handled and how to get rid of two popups.
Any instructioon is welcome.
I'm on Joomla 4.3.4, Fabrik Epsilon (quite recent) and Php 8.2

thanks in advance
menno
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top