## Integrating a Trello Board into NuBuilder form

Questions related to customising nuBuilder Forte with Javascript or PHP.

### Integrating a Trello Board into NuBuilder form

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-and-drop-cards-for-project-management-software/

This is my website with just plain php file without integration.
https://lean-app-maker.space/nubuilder4/board.php
ernesttan1976

Posts: 4
Joined: Sat May 16, 2020 5:38 pm

### Re: Integrating a Trello Board into NuBuilder form

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

Posts: 728
Joined: Mon Oct 15, 2018 2:13 am

### Re: Integrating a Trello Board into NuBuilder form

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 (9.19 KiB) Viewed 109 times
kev1n

Posts: 728
Joined: Mon Oct 15, 2018 2:13 am

### Re: Integrating a Trello Board into NuBuilder form

Thank you so much Kevin!
ernesttan1976

Posts: 4
Joined: Sat May 16, 2020 5:38 pm