[Chameleon] Any interest in a Chameleon showcase?

Matt Frost matt.frost at mma1.com
Fri May 7 13:11:24 EDT 2004


Would anyone be interested in helping me put together a gallery of Chameleon
sites?

If so, submit your URL via off-list email to matt.frost at mma1.com and I'll
compile a list of links on my personal site. Once I've entered a critical
mass of them, I'll post the address back to the listserv so we can see one
another's work and swap ideas.

Thanks!

-Matt Frost
Marshall Miller & Associates
Bluefield, VA USA

----- Original Message ----- 
From: <chameleon-request at lists.maptools.org>
To: <chameleon at lists.maptools.org>
Sent: Friday, May 07, 2004 12:00 PM
Subject: Chameleon Digest, Vol 2, Issue 9


> Send Chameleon mailing list submissions to
> chameleon at lists.maptools.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.maptools.org/mailman/listinfo/chameleon
> or, via email, send a message with subject or body 'help' to
> chameleon-request at lists.maptools.org
>
> You can reach the person managing the list at
> chameleon-owner at lists.maptools.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Chameleon digest..."
>
>
> Today's Topics:
>
>    1. Re: chameleon cvs (Paul Spencer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 07 May 2004 11:43:09 -0400
> From: Paul Spencer <pagameba at magma.ca>
> Subject: Re: [Chameleon] chameleon cvs
> To: bartvde at xs4all.nl
> Cc: "chameleon at lists.maptools.org" <chameleon at lists.maptools.org>,
> spencer at dmsolutions.ca
> Message-ID: <409BAE8D.3060508 at magma.ca>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> Thanks Bart.
>
> I'll try to fix it so that it doesn't mangle URLs that start with / ...
> but the idea was to try to make things really portable without requiring
> changes to templates and code :)
>
> Cheers
>
> Paul
>
> bartvde at xs4all.nl wrote:
>
> > Hi Paul,
> >
> > it works when I use the following ($_SESSION instead of $GLOBALS):
> >
> > $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs";
> > $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05";
> >
> > and:
> > <cwc2 type="SharedResource" name="PopupCSS"
> > value="C:/ms4w/apps/geoservices05/htdocs/popup.css"/>
> >
> > Note that I had to use C: in the beginning of my value as the string
> > compare is case-sensitive in (strncmp) and as the gszAppPath is changed
to
> > a real drive letter.
> >
> > I first tried using:
> > <cwc2 type="SharedResource" name="PopupCSS"
> > value="/ms4w/apps/geoservices05/htdocs/popup.css"/>
> >
> > but this does not work because of the above-mentioned.
> >
> > (Personally I preferred the old way with a relative URL).
> >
> > Best regards,
> > Bart
> >
> >
> >>Bart,
> >>
> >>I see the problem but I am not sure what the correct fix is.  The
> >>PopupCSS is probably being interpreted as a file system path relative to
> >>your application directory and then being converted into a URL.  This
> >>requires a couple of things to be set up correctly and this may be what
> >>is causing the problem.
> >>
> >>First, you will need to set the PopupCSS to a file system path,
> >>optionally relative to your application directory (i.e. the location of
> >>index.phtml)
> >>
> >>You may need to explicitly set the following variables:
> >>
> >>$GLOBALS['gszAppPath'] = "c:/<path-to-app";
> >>$GLOBALS['gszAppWebPath'] = "http://<url-to-app>";
> >>
> >>What chameleon is trying to do is calculate a full path to popup.css and
> >>comparing it to gszAppPath and if it finds a match then it converts it
> >>to a url by removing the gszAppPath and adding the gszAppWebPath.
> >>
> >>The logic may not yet be perfect, and chameleon may not be calculating
> >>the location of gszAppPath and gszAppWebPath correctly.  If you make the
> >>above change and it works then I will focus on the auto-configuration of
> >>gszAppPath and gszAppWebPath.  Otherwise I will look at the path
> >>conversion logic
> >>
> >>You may be able to provide a fully qualified url to the css file and it
> >>should work (http://), but there may be problems with that too, not sure
> >>yet.
> >>
> >>Cheers,
> >>
> >>Paul
> >>
> >>bartvde at xs4all.nl wrote:
> >>
> >>
> >>>Hi Paul,
> >>>
> >>>I guess I am the first one to try :-)
> >>>
> >>>One problem I face is that there must have been some kind of change in
> >>>the
> >>>PopupCSS sharedresource.
> >>>
> >>>I used to have a relative URL in it, like:
> >>><cwc2 type="SharedResource" name="PopupCSS"
> >>>value="/geoservices05/popup.css"/>
> >>>
> >>>Now it seems to want a file system path instead, but I can't get it to
> >>>work.
> >>>
> >>>Hopefully you can explain how to use this now Paul.
> >>>
> >>>Best regards,
> >>>Bart
> >>>
> >>>
> >>>
> >>>>All,
> >>>>
> >>>>Chameleon in cvs is now fixed up and reasonably stable.  This means
that
> >>>>we are now on a short path to the first beta release for Chameleon
1.99.
> >>>>
> >>>>There are a few known issues with some of the widgets, I will be
> >>>>starting to document them in bugzilla shortly.  If you find any issues
> >>>>with the cvs version, please report them on this list or directly to
> >>>>bugzilla.
> >>>>
> >>>>Once the beta is released, we will take some time to look through the
> >>>>issues in bugzilla and resolve as many as practical/necessary to get a
> >>>>new beta or release candidate out the door,
> >>>>
> >>>>Thanks for your patience,
> >>>>
> >>>>Paul
> >>>>--
> >>>> -----------------------------------------------------------------
> >>>>|Paul Spencer                           pspencer at dmsolutions.ca   |
> >>>>|-----------------------------------------------------------------|
> >>>>|Applications & Software Development                              |
> >>>>|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
> >>>> -----------------------------------------------------------------
> >>>>
> >>>>_______________________________________________
> >>>>Chameleon mailing list
> >>>>Chameleon at lists.maptools.org
> >>>>http://lists.maptools.org/mailman/listinfo/chameleon
> >>>>
> >>>
> >>>
> >>>_______________________________________________
> >>>Chameleon mailing list
> >>>Chameleon at lists.maptools.org
> >>>http://lists.maptools.org/mailman/listinfo/chameleon
> >>>
> >>
> >>--
> >>  -----------------------------------------------------------------
> >>|Paul Spencer                           pspencer at dmsolutions.ca   |
> >>|-----------------------------------------------------------------|
> >>|Applications & Software Development                              |
> >>|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
> >>  -----------------------------------------------------------------
> >>
> >>_______________________________________________
> >>Chameleon mailing list
> >>Chameleon at lists.maptools.org
> >>http://lists.maptools.org/mailman/listinfo/chameleon
> >>
> >
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
>
> -- 
>   -----------------------------------------------------------------
> |Paul Spencer                           pspencer at dmsolutions.ca   |
> |-----------------------------------------------------------------|
> |Applications & Software Development                              |
> |DM Solutions Group Inc                 http://www.dmsolutions.ca/|
>   -----------------------------------------------------------------
>
>
>
> ------------------------------
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
>
> End of Chameleon Digest, Vol 2, Issue 9
> ***************************************
>



More information about the Chameleon mailing list