Multiple Blocks (Devices) Inside Popup

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
Nefsolive
Posts: 69
Joined: Monday 04 September 2017 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Multiple Blocks (Devices) Inside Popup

Post by Nefsolive »

Hello,

How can I place multiple blocks (devices) within the same popup?
It's possible?

Ty
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Multiple Blocks (Devices) Inside Popup

Post by HansieNL »

You can us the parameter popup in a block

Code: Select all

popup: 'container'
And the following block. For example 'one1' and 'two2' are device blocks.

Code: Select all

blocks['container'] = {
  blocks: [ 'one1', 'two2']
}
Blah blah blah
Nefsolive
Posts: 69
Joined: Monday 04 September 2017 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Multiple Blocks (Devices) Inside Popup

Post by Nefsolive »

HansieNL wrote: Monday 15 February 2021 23:19 You can us the parameter popup in a block

Code: Select all

popup: 'container'
And the following block. For example 'one1' and 'two2' are device blocks.

Code: Select all

blocks['container'] = {
  blocks: [ 'one1', 'two2']
}
Hello HansieNL,
Thank u! That's what I was looking for.

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest