Re: [Flash Operator Panel] how to configure multiple tabs
- From: Nicolas <nicolas@xxxxxxxxxxxx>
- Date: Thu, 28 Aug 2008 18:30:51 -0300
- Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm
Hi Erik,
The panel itself does not provide any tabs... only lets you change
"contexts" or "views" using that parameter. You can write a framed or
scripted web page with tabs, and load the proper the .swf movie with the
correct parameter passed when you click on the tab that *you* will have
to code in html.
The panel does not create any tabs in the movie by itself..
Best regards,
Erik de Wild: Tripple-o wrote:
I gave it my best shut but, after adding Panel_Context= line to any
button in op_button.cfg, adding contexts "extension" and "monitor" to
op_style.cfg and changing index.html I still don't have working tabs.
I have the second panel below the first one and not as tabs. The
buttons don't work anymore. I'm affraid I'm still missing something
but I don't no what.
Below is my index.html. Is something really wrong and what should it
look like? Thanks for the help, I have the idea that I need some final
suggestion/pointer.
*Erik
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Asterisk Flash Operator Panel</title>
<style>
<!--
html,body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
-->
</style>
</head>
<body bgcolor="#ffffff">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="100%" height="100%" id="operator_panel" align="left">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="operator_panel.swf?context=extensies" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="scale" value="exactfit" />
<embed src="operator_panel.swf?context=extensies" quality="high"
scale="exactfit" bgcolor="#ffffff" width="100%" height="100%"
name="operator_panel" align="left"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<body bgcolor="#ffffff">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="100%" height="100%" id="operator_panel2" align="left">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="operator_panel.swf?context=monitor" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="scale" value="exactfit" />
<embed src="operator_panel.swf?context=monitor" quality="high"
scale="exactfit" bgcolor="#ffffff" width="100%" height="100%"
name="operator_panel2" align="left"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
On 28 aug 2008, at 04:15, Nicolás Gudiño wrote:
The index.html file loads the swf movie, there are two places where
"operator_panel.swf" is mentioned in the web page, you have to add
"?context=thuis" en each one... so where it reads
"operator_panel.swf" should say "operator_panel.swf?context=thuis".
You can use php to read the context from a get variable, or your web
application...
On Aug 26, 2008, at 7:34 PM, Erik de Wild: Tripple-o wrote:
Thanks for the reaction but I hope you can give me some more
direction. What do I have to change, how and where. I'm kind of
novice if it comes to webpages but some pointers to examples wil
probably turn on the light on this tabs topic. Thanks in advance.
*Erik
On 26 aug 2008, at 22:54, Nicolas wrote:
You are almost there, just append "?context=thuis" after every
operator_panel.swf appearance in the web page... It will load the
context you specify via a get parameter. Best regards,
Erik de Wild: Tripple-o wrote:
I have been working with Asterisk for years and finaly I have
started to get familiar with FOP. I have used the front end before
because it is integrated in ScopServ a gui for Asterisk but I have
never edited the .cfg files.
I would like to have multiple tabs available like it is possible
when I configure FOP with ScopServ. I have checked op_buttons.cfg,
op_server.cfg and op_style.cfg and tried to copy the method used
but it doesn work. In Scopserv there are several contexts in
op_style.cfg and in op_buttons.cfg each entry/context has a
veriable Panel_Context= that gets a value of one of the names of
the contexts in op_style.cfg.
example
[SIP/502]
Position=1
Label="woonkamer"
Extension=502
Context=inbound
Panel_Context=thuis
Icon=1
After restarting fop an empty screen appears. My questions is:
What is the right way to go to get multiple tabs in Flash
Operating Panel and is what I tried in the good direction?
FOP is a great tool and it was surprisingly easy to set it up. I
hope someone can help me to get tabs available. Thanks in advance.
*Erik
Flash Operator Panel Mailing List
To unsubscribe send an empty message to:
<operator_panel-unsubscribe@xxxxxxxxxxxxxxxxxx>
To get help send an empty message to:
<operator_panel-help@xxxxxxxxxxxxxxxxxx>
The archives can be found at:
http://www.asternic.org/archives/maillist.html
Flash Operator Panel Mailing List
To unsubscribe send an empty message to:
<operator_panel-unsubscribe@xxxxxxxxxxxxxxxxxx>
To get help send an empty message to:
<operator_panel-help@xxxxxxxxxxxxxxxxxx>
The archives can be found at:
http://www.asternic.org/archives/maillist.html
Flash Operator Panel Mailing List
To unsubscribe send an empty message to:
<operator_panel-unsubscribe@xxxxxxxxxxxxxxxxxx>
To get help send an empty message to:
<operator_panel-help@xxxxxxxxxxxxxxxxxx>
The archives can be found at:
http://www.asternic.org/archives/maillist.html
Flash Operator Panel Mailing List
To unsubscribe send an empty message to:
<operator_panel-unsubscribe@xxxxxxxxxxxxxxxxxx>
To get help send an empty message to:
<operator_panel-help@xxxxxxxxxxxxxxxxxx>
The archives can be found at:
http://www.asternic.org/archives/maillist.html
Flash Operator Panel Mailing List
To unsubscribe send an empty message to:
<operator_panel-unsubscribe@xxxxxxxxxxxxxxxxxx>
To get help send an empty message to:
<operator_panel-help@xxxxxxxxxxxxxxxxxx>
The archives can be found at:
http://www.asternic.org/archives/maillist.html
- References to:
- Erik de Wild: Tripple-o
- Nicolas
- Erik de Wild: Tripple-o
- Nicolás Gudiño
- Erik de Wild: Tripple-o
|