bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

Panel in template issues...

I have added a Panel in my template, because it won't let me add a panel to my page created from a template.

The problem is that I cannot access the "open" or close events of the panel. What am I missing.

Thank you in advance.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Panel in template issues...

Hello,

In this case you can access Open panel or Close panel events from your Templates not from Pages.
Open Template with Panel to edit it, and changes will be reflected on the Page created from this Template.
Image

bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

Panel in template issues...

Yes, I figured that. The problem then is that all the screens that use that template will have the same exact code being executed for the open and close events. Correct?

Is there another way to access the two events?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Panel in template issues...

Hello,

From appery.io builder you can create events for panel only in template that contains the panel.
But you can create your own event for every child pages youself manually:

code$(document).off("panelopen", '[id="pagePanel_panel_2"]').on( "panelopen", function( event, ui ) {console.log("open");} ); /code

Return to “Issues”