Custom-HTML-Page for Dashboard

Martin68

Well-known member
Hello everybody,

I tried to generate a Dashboard which helps my colleagues to remember the work to be done .... The documentation isn't very specific how to add the iframe-tag into such a dashboard so I hope for your help.

I added a custom page from type html, entered a Headlinetext and the iframe-tag and that's what I get:
Bildschirmfoto 2022-02-01 um 07.33.34.png

Think its a little Problem, caused by my minimal knowledge, could anyone give me a hint how to solve my failure?

Kind regards

Martin


-----------------------------------------

Your current DaDaBIK version​

You are using DaDaBIK version 11.3-Elba enterprise, installed on 21-01-2022 (installation code: 0), the latest version of DaDaBIK is 11.3-Elba released on 17-01-2022
You are runnning the latest release of DaDaBIK

System info​

PHP Version: 7.4.3
mysql version: 5.5.5-10.3.32-MariaDB-0ubuntu0.20.04.1
Web server: Apache/2.4.41 (Ubuntu)
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15
URL installation: http://xx.martin-fischer.com/rpa/ (deprecated, don't know how to change :( )
 

eugenio

Administrator
Staff member
Hello,
after having copied the "embed code":
- admin -> pages -> custom pages
- add page
- click on show/hide html content
- past the code here
- enable the page, save and assign permissions to the page

This should work, is this the process you followed?

Best,
 

Martin68

Well-known member
Hello Eugenio,

thanks for your reply. I have done it the way you described...

Entering the Page-edit-view I got the table I want to show :

1643709645072.png


but on the Dadabik-Site I see the source-code as in my first post.

Kind regards

Martin
 

Martin68

Well-known member
Seems I have found the problem:

- I am Working in the same local network as the Dadabik-Server. Cause of rebound-protection of my router I normally work with a lokal-ip address.
- The iframe-code was automatically generated with the actual used path, that means with my local ip
- this conflict leads to the described effects.

I will try to get this dashboard working ... Sorry for my fault.

Kind regards.

Martin
 

eugenio

Administrator
Staff member
Mmh, I am not sure this is the reason. The iframe is generated using relative addresses so it shouldn't be a problem and anyway a wrong iframe source shouldn't show the HTML code anyway. If the issue is now fixed, I think the reason is another one.
 

Martin68

Well-known member
I think I have found the problem, there are two failures:

1. My home-working situation calling the DaDaBIK-site by local IP leads to the hard coded Link in the iframe-tag

2. From outside, over the internet DaDaBIK presumes a http-link in the iframe - my Dadabik-Database is just accessible via https.

Seems to work when manually changing http to https...

Hohe that helps if anyone else has this problems ...

Kind regards

Martin



Good to know before using iframes:

- You can't use Link to record-feature in iframes
- you can't access attached doc-files from iframes

I will build separate views and just count rows for the dashboard...
 
Last edited:
Top