DB19 - Change order of Filters in Sidebar

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Thu Jul 14, 2022 6:26 am
I was wondering if it's possible to change the order of the Filter Sidebar. What I would prefer is

Test
Resource Filters
Status Filters
Project Filters

Also I'd like rename these too. :D
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Thu Jul 14, 2022 9:42 am
Hi Jim,

We've tried changing the order of the filters tab using some CSS tricks in the past, but unfortunately, it breaks the scroll functionality. At the moment, there's not a way to change the order of those elements.

You can change words like, "Resource" or "Project" in the calendar using the translation functionality: https://docs.dayback.com/article/48-translation

Regards,

KC
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Thu Jul 14, 2022 11:29 am
Thanks KC. On a related thread, is it possible to populate the Filters list (Resources for instance) from a Table?
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Thu Jul 14, 2022 11:48 am
Hi Jim.

Yes, it is. We even have an example file and instructions on how to set that up in the docs here: https://docs.dayback.com/article/170-ge ... #jsonTable

Regards,

KC
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Thu Jul 14, 2022 1:22 pm
Worked great for Resources! Tried to modify it for Statuses and I can't get it to load. I made the App Action for load statuses and tweaked the appropriate lines. Not happening. I should point out that I renamed the table to 'Categories' but I think I've updated where required.
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Fri Jul 15, 2022 7:32 am
Hi Jim,

Glad that worked for resources. There are two things to check with the Status filters:

1. Are you using the same app action designed for a JSON formatted package? This is the same action that you used for resources, but you just need to change the value on line 33 to 'statuses': https://s3.amazonaws.com/helpscout.net/ ... ersJSON.js

2. Run the script manually to verify there's a result being created. You may need to modify the SQL query depending on your table structure.

If you're still running into issues, I'm happy to take a look if you want to reach out to us directly at [email protected].

KC
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Fri Jul 15, 2022 7:56 am
I set it up like the picture here. And 2 lines were changed (30 and 33)

I also ran the script and I can see the correct data going into $json, etc. but nothing changes on the sidebar.
Attachments
Screen Shot 2022-07-15 at 11.50.11 AM.png
Screen Shot 2022-07-15 at 11.50.11 AM.png (65.36 KiB) Viewed 22385 times
SeedCode Staff
SeedCode Staff
Posts: 98
Joined: Mon Aug 13, 2012 7:43 am
PostPosted: Fri Jul 15, 2022 9:47 am
Hi Jim,
It looks like the custom action is set to the wrong trigger. Based on your screenshot it is set to "On Sources Fetched" currently. That will need to be changed to "On Statuses Fetched". This is the setting just below "Load Status" in your screenshot. Please let us know if that doesn't resolve your issue.

Hope that helps,
Tanner
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Fri Jul 15, 2022 10:47 am
My bad. That was it. :lol:

One last thing and I'll close this thread: is it possible to hide the color indicator to the left of the Status name?
Attachments
Screen Shot 2022-07-15 at 2.47.16 PM.png
Screen Shot 2022-07-15 at 2.47.16 PM.png (59.92 KiB) Viewed 22374 times
SeedCode Staff
SeedCode Staff
Posts: 98
Joined: Mon Aug 13, 2012 7:43 am
PostPosted: Fri Jul 15, 2022 2:21 pm
Yes, you could accomplish that with some custom CSS...

Code: Select all
.status-list .list-selector .calendarColor {
    display: none;
}


In DayBack custom CSS can be added by navigating to the settings tab in the sidebar, then click "Administrator Settings", then select the "Colors, Fonts & CSS" section to add the CSS. Make sure to click save after you have added the CSS.

That should do the trick.

Hope that helps,
Tanner

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 2 guests

(855) SEEDCODE
[email protected]
Follow us: