Welcome to the nuBuilder Forums!

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

Integrating a Trello Board into NuBuilder form

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
ernesttan1976
Posts: 51
Joined: Sat May 16, 2020 10:08 am

Integrating a Trello Board into NuBuilder form

Unread post by ernesttan1976 »

Hi, I need to know where to put the php and js and html snippets in order to integrate a Trello-like board into a nuBuilder Edit form.
I have tried putting it all into a HTML object but it doesn't work.

The original source of this snippet.
https://phppot.com/php/trello-like-drag ... -software/

This is my website with just plain php file without integration.
https://lean-app-maker.space/nubuilder4/board.php
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Integrating a Trello Board into NuBuilder form

Unread post by kev1n »

Hi,

jQuery UI would go in the (Setup -> ) Header. jQuery is already included in nuBuilder, no need to include it again.

The PHP would go in separate PHP files (the ones that are called with ajax).

The other PHP code from index.php can't be added to the HTML object, it has to placed in the BE event or maybe in a (nuBuilder) PHP procedure.
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Integrating a Trello Board into NuBuilder form

Unread post by kev1n »

On second thought, it is even easier if an iframe is used.

1. Add this html in a HTML object. (change the path to index.php and the iframe dimensions)

Code: Select all

 <iframe src = "\nu4\libs\trello\index.php" width = "955" height = "800"> </iframe>
2. Change the db config in DBController.php
trello.png
You do not have the required permissions to view the files attached to this post.
ernesttan1976
Posts: 51
Joined: Sat May 16, 2020 10:08 am

Re: Integrating a Trello Board into NuBuilder form

Unread post by ernesttan1976 »

Thank you so much Kevin! :D
Post Reply