[Mapguide_users] RE: [mapguide-users] RE: Passing variables into MGOS [No Viruses detected]

Tom Chadwin tom.chadwin at nnpa.org.uk
Thu Jan 11 04:18:01 EST 2007


Hi Kencana

Apologies for not replying earlier, but it's been a bit hectic. I
followed your advice, and it works perfectly. Try this link:

http://maps.nnpa.org.uk/?nnpaRef=05/NP/70

This takes you to our MGOS installation, activates a layer not normally
initially displayed, selects the feature passed in via the querystring,
and zooms to the object.

Many, many thanks for the help. Oh, and happy new year to everyone!

Regards

Tom
 



Tom Chadwin
ICT & Web Development Officer
Telephone: 01434 611530 
Mobile: 
Fax: 01434 611677
Email: tom.chadwin at nnpa.org.uk
Web : www.Northumberland-national-park.org.uk <http://www.Northumberland-national-park.org.uk>
____________________________________________________________________________
IMPORTANT NOTICE - Disclaimer - January 11, 2007 - REF Email-200701-00062314.

If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to the statement below or contact the sender. 
This communication is from Northumberland National Park Authority (NNPA).The Authority's head office and principal place of business is Eastburn, South Park, Hexham, Northumberland, NE46 1BS, United Kingdom.This communication and any attachments contain information which is confidential and may also be privileged. It is for the exclusive use of Mapguide_users at lists.osgeo.org. If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to "it.security at nnpa.org.uk" then delete the email and destroy any copies of it. 
E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept liability for any such matters or their consequences. Anyone who communicates with us by e-mail is taken to accept the risks in doing so. 
Any views or opinions presented are solely those of the author and do not necessarily represent those of NNPA.Contractors or potential contractors are reminded that a formal Order or Contract is needed for NNPA to be bound by any offer or acceptance of terms for the supply of goods or services Although this email and any attachments are believed to be free of any virus or other defects which might affect any computer or IT system into which they are received, no responsibility is accepted by the NNPA for any loss or damage arising in any way from the receipt or use thereof. Computer systems of this Authority may be monitored and communications carried out on them recorded, to secure the effective operation of the system and for other lawful purposes.
-----Original Message-----
From: kencana kesuma [mailto:bluesky_dyx at hotmail.com] 
Sent: 11 December 2006 02:05
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] RE: Passing variables into MGOS [No
Viruses detected]

Hi Tom,

I have solve the parameter passing by modifiying the
mainframe.php,taskframe.php, and taskpane.templ.
I have attached the files i modified.
hope it can helps you as well.

Regards,
Kencana


>From: "Tom Chadwin" <tom.chadwin at nnpa.org.uk>
>Reply-To: users at mapguide.osgeo.org
>To: users at mapguide.osgeo.org
>Subject: RE: [mapguide-users] RE: Passing variables into MGOS [No 
>Viruses detected]
>Date: Fri, 8 Dec 2006 14:06:38 -0000
>
>Hi Kencana
>
>I've not tried this myself, yet. However, I seem perhaps to remember 
>that the task frame is another frameset which encloses the task pane.
>You'd therefore have to pass the variables down another level by adding

>similar code in taskframe.php. If you get the chance to try this, do 
>tell me how you get on.
>
>Cheers
>
>Tom
>
>
>
>
>Tom Chadwin
>ICT & Web Development Officer
>Telephone: 01434 611530
>Mobile:
>Fax: 01434 611677
>Email: tom.chadwin at nnpa.org.uk
>Web : www.Northumberland-national-park.org.uk
><http://www.Northumberland-national-park.org.uk>
>
><http://www.northumberland-national-park.org.uk/>
>
>_______________________________________________________________________
>_____ IMPORTANT NOTICE - Disclaimer - December 8, 2006 - REF 
>Email-200612-00054229.
>
>If you have received this e-mail in error or wish to read our e-mail 
>disclaimer statement and monitoring policy, please refer to the 
>statement below or contact the sender.
>This communication is from Northumberland National Park Authority 
>(NNPA).The Authority's head office and principal place of business is 
>Eastburn, South Park, Hexham, Northumberland, NE46 1BS, United 
>Kingdom.This communication and any attachments contain information 
>which is confidential and may also be privileged. It is for the 
>exclusive use of users at mapguide.osgeo.org. If you are not the intended 
>recipient(s) please note that any form of disclosure, distribution, 
>copying or use of this communication or the information in it or in any

>attachments is strictly prohibited and may be unlawful. If you have 
>received this communication in error, please return it with the title 
>"received in error" to "it.security at nnpa.org.uk" then delete the email 
>and destroy any copies of it.
>E-mail communications cannot be guaranteed to be secure or error free, 
>as information could be intercepted, corrupted, amended, lost, 
>destroyed, arrive late or incomplete, or contain viruses. We do not 
>accept liability for any such matters or their consequences. Anyone who

>communicates with us by e-mail is taken to accept the risks in doing
so.
>Any views or opinions presented are solely those of the author and do 
>not necessarily represent those of NNPA.Contractors or potential 
>contractors are reminded that a formal Order or Contract is needed for 
>NNPA to be bound by any offer or acceptance of terms for the supply of 
>goods or services Although this email and any attachments are believed 
>to be free of any virus or other defects which might affect any 
>computer or IT system into which they are received, no responsibility 
>is accepted by the NNPA for any loss or damage arising in any way from 
>the receipt or use thereof. Computer systems of this Authority may be 
>monitored and communications carried out on them recorded, to secure 
>the effective operation of the system and for other lawful purposes.
>-----Original Message-----
>From: Kencana [mailto:bluesky_dyx at hotmail.com]
>Sent: 08 December 2006 12:32
>To: users at mapguide.osgeo.org
>Subject: [mapguide-users] RE: Passing variables into MGOS [No Viruses 
>detected]
>
>
>Hi Tom,
>
>Have try by adding the other querystring into the mapframe.php...
>however it gave me no luck...
>i don't understand why the value is not pass to the task pane.
>have you try it successfully?
>
>Regards,
>Kencana
>
>
>Tom Chadwin wrote:
> >
> > Looking at the line in mainframe.php which says:
> >
> > $srcTaskFrame = $showTaskPane? ('src="' . $vpath .
>'taskframe.php?TASK='
> >  $taskPaneUrl . '&WEBLAYOUT=' . urlencode($webLayoutDefinition) .
> > '&DWF=' . ($forDwf? "1": "0") . '&SESSION=' . ($orgSessionId != ""?
> > $orgSessionId: "") . '&LOCALE=' . $locale . '"') : '';
> >
> > It looks like we could pass further querystring variables down here.
> > We'd then have to do the same in taskframe.php. Does that sound 
> > about right?
> >
> > Thanks
> >
> > Tom
> > -----Original Message-----
> > From: Tom Chadwin [mailto:tom.chadwin at nnpa.org.uk]
> > Sent: 07 December 2006 11:48
> > To: users at mapguide.osgeo.org
> > Subject: RE: [mapguide-users] Passing variables into MGOS [No 
> > Viruses detected]
> >
> > No, nothing yet. Can anyone help us with this?
> >
> > Thanks
> >
> > Tom
> >
> > PS  Apologies for my huge long email signatures. They are added 
> > server-side, and I forgot to trim them in my replies. Trimmed now...
> > -----Original Message-----
> > From: Willem Schwarte [mailto:willem at giskit.nl]
> > Sent: 07 December 2006 11:40
> > To: users at mapguide.osgeo.org
> > Subject: RE: [mapguide-users] Passing variables into MGOS [No 
> > Viruses detected]
> >
> > Ok thanks!
> >
> >
> > Did you solve your problem with the initial mapview (zoom) already? 
> > I need to have this also.. see previous post...
> >
> >
> > -----Original Message-----
> > From: Tom Chadwin [mailto:tom.chadwin at nnpa.org.uk]
> > Sent: 05 December 2006 15:49
> > To: users at mapguide.osgeo.org
> > Subject: [mapguide-users] Passing variables into MGOS [No Viruses 
> > detected]
> >
> > Hello all
> >
> > I have an application running at http://maps.nnpa.org.uk, and it 
> > seems
>
> > to be working pretty well. However, as well as this generic 
> > interface to our GIS, I also need to be able to link to the site 
> > with a specific
>
> > layer displayed, and with the map zoomed to a specific feature on 
> > that
>
> > layer.
> >
> > Obviously, I can tack some extra variables onto the end of the URL 
> > of the link to this MGOS application, but I am not clear what the 
> > best strategy is to cascade these variables down to, say, the task 
> > pane, so
>
> > I can then select and zoom to the feature.
> >
> > I hope this explanation is clear...
> >
> > Thanks in advance for any help.
> >
> > Regards
> >
> > Tom
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
>For additional commands, e-mail: users-help at mapguide.osgeo.org
>

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




More information about the mapguide-users mailing list