Page 1 of 1

Integrating a Trello Board into NuBuilder form

Posted: Sun May 17, 2020 6:24 am
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

Re: Integrating a Trello Board into NuBuilder form

Posted: Sun May 17, 2020 6:51 am
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.

Re: Integrating a Trello Board into NuBuilder form

Posted: Sun May 17, 2020 7:28 am
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

Re: Integrating a Trello Board into NuBuilder form

Posted: Sun May 17, 2020 2:49 pm
by ernesttan1976
Thank you so much Kevin! :D