The easiest would be to have the main page still as PHP and not static HTML. Then just remove all elements that you do not want. I'm not sure any more if the toc/legend can be dropped as well, just try it and report errors. If the main page has to be static HTML then you could try to embed the p.mapper part as an IFRAME. I've never tried this but it was once mentioned on this list that it should work.
Since the work on v3.2 will just provide bug fixes I'd recommend to try everything with v4 (there is a simple map.phtml file included). armin On Tue, Apr 28, 2009 at 8:43 AM, Andrea Zagli <aza...@libero.it> wrote: > Il giorno lun 27 apr 2009 18:19:56 CEST, Armin Burger ha scritto: >> On 27/04/2009 12:36, Andrea Zagli wrote: >>> is there a way to embed pmapper into a normal html page, as openlayer? >>> >> >> p.mapper needs PHP, that's somewhat obvious when reading just the title >> of the home page ("A MapServer PHP/MapScript Framework") > > yes i know it > > for "normal html page" i meant a php generated page that includes > other informations, not a page with only pmapper > > for example: http://www.comune.scandicci.fi.it; i want to display a > map in the middle of the page, only the map with pan and zoom buttons > (as openlayers) but without other pmapper "frames" (legend, footer, etc) > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users