Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Tips for making a weekly planner

Questions related to using nuBuilder Forte.
steven
Posts: 380
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 54 times
Been thanked: 52 times

Re: tips for making weekly planner

Unread post by steven »

calida82,

Thanks.

Can you tell me a bit more?

Who is it for exactly?
How many other tables like clients or practitioners need to be used? - Sorry, I only speak English.

What period do you need to see on the screen at a time?
What information needs to be kept for each slot?
I'm guessing they are half-hour slots.

Can you tell us everything you need?

Otherwise, it's hard to know how to help.


Steven
A short post is a good post.
kev1n
nuBuilder Team
Posts: 4428
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 475 times
Contact:

Re: tips for making weekly planner

Unread post by kev1n »

calida82 wrote: Wed Sep 06, 2023 11:59 pm how would you make this with just one form browse? can you explain it better? would each row be a day of the week and the appointments would be horizontal instead of vertical?
Something like this?
ezgif.com-video-to-gif.gif
In my opinion, achieving this won't be a swift endeavor; it will require a substantial proficiency in SQL, PHP, and JavaScript.
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4428
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 475 times
Contact:

Re: tips for making weekly planner

Unread post by kev1n »

I've created a proof of concept. The code is a bit messy and could certainly be optimised, but it's primarily a showcase to demonstrate that it can be done and how.
nubuilder_weekly_calendar.zip
You do not have the required permissions to view the files attached to this post.
steven
Posts: 380
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 54 times
Been thanked: 52 times

Re: tips for making weekly planner

Unread post by steven »

kev1n,

That looks great and would make a good template.


Steven
A short post is a good post.
calida82
Posts: 58
Joined: Mon Sep 09, 2019 8:20 am

Re: tips for making weekly planner

Unread post by calida82 »

Kev1n this is awesome!!maybe you could share a sql backup here so I can download it
kev1n
nuBuilder Team
Posts: 4428
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 475 times
Contact:

Re: tips for making weekly planner

Unread post by kev1n »

Give me some time to make some improvements.
kev1n
nuBuilder Team
Posts: 4428
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 475 times
Contact:

Re: tips for making weekly planner

Unread post by kev1n »

While you wait, please let me know if you are missing any features or would like to see any changes.
calida82
Posts: 58
Joined: Mon Sep 09, 2019 8:20 am

Re: tips for making weekly planner

Unread post by calida82 »

It's all great and the approach to the problem is brilliant, just a small change... to display the date next to the day of the week. Only from the number of the week you always have to do the calculation and have a calendar nearby to understand which date corresponds to the day of the week.... one last thing, perhaps the most important, when you publish the code, I recommend many comments so as to understand how it works!
kev1n
nuBuilder Team
Posts: 4428
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 475 times
Contact:

Re: tips for making weekly planner

Unread post by kev1n »

I've added the day of the week and commented the code. I will still need to tweak a few things.
kev1n
nuBuilder Team
Posts: 4428
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 475 times
Contact:

Re: tips for making weekly planner

Unread post by kev1n »

Question: Where do you specify the duration of an appointment?
Post Reply