-
AuthorPosts
-
October 18, 2019 at 3:56 pm #1149321
Hey, my problem is that i want to make an Avia-Widget which has two modal_groups.
I want to create a modal_group inside a modal_group, like this:function popup_elements() { $this->elements = array( array( "name" => __("edit/create", 'avia_framework' ), "desc" => '', "type" => "modal_group", "id" => "outter_content", "modal_title" => __("Edit title", 'avia_framework' ), "std" => array( array('title'=>__('Titel', 'avia_framework' ), 'icon'=>'43', 'content'=>'Enter content here'), ), 'subelements' => array( array( "name" => __("Title-1", 'avia_framework'), "desc" => __("Add an title here", 'avia_framework'), "id" => "title", "type" => "input", "std" => __("Title1", 'avia_framework')), array( "name" => __("edit/create", 'avia_framework' ), "desc" => '', "type" => "modal_group", "id" => "inner_content", "modal_title" => __("Content", 'avia_framework' ), "std" => array( array('title'=>__('Content', 'avia_framework' ), 'icon'=>'43', 'content'=>'Enter content here'), ), 'subelements' => array( array( "name" => __("Content 1", 'avia_framework'), "desc" => __("Add content", 'avia_framework'), "id" => "content", "type" => "input", "std" => __("Content", 'avia_framework')), ) ), ) ), ); }
My Problem is. that the first modal_group overwrites the content of the second modal_group, so I can open infinit tabs on this widget..
Is there any solution?October 23, 2019 at 9:01 pm #1150653Hey david2709,
Can u explain again please what problem is? I am not sure it is clear enough what you are trying to achieve.
Best regards,
BasilisNovember 13, 2019 at 11:59 am #1156356Hey,
I try to have some specific content in a modal_group.. But inside this modal_group, I want another modal_group.
Everytime I want to do this, the outter modal_group rewrites the content of the inner modal_group.Best regards,
DavidFebruary 2, 2021 at 11:43 am #1277083Same problem here.
If i open a nested modal_group, i get the content of the first modal_group.
Is there a solution for this?
February 5, 2021 at 2:15 pm #1278005Hi Majjo,
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.