[Chameleon] upgrading
Tracy Howlett
thowlett at whistlermuseum.org
Mon May 17 18:08:40 EDT 2004
Hi Paul and Bart,
I've been running Chameleon without any stability issues for about 6 months.
I'm now interested in upgrading to 1.99 in an effort to help out with some
of my final development challenges.
My original installation came from the binary and not from CVS. This method
installed the chameleon files in a folder called 'cwc2' in my apps
directory. Like I said, I've had the application running from there for
quite some time now. Since you don't yet have a binary for 1.99 I've tried
going the CVS route. I noticed that this version gets installed into a
directory called 'chameleon'. For whatever reason, I cannot get the CVS
version running from that directory. I've followed Paul's notes (thanks by
the way) and backtracked on my old problems to try and get the fix but all
I'm seeing is a blank page again.
Here's what I've done:
-Checked out Chameleon
-Checked out php_utils and copied /src/ files into my newly created
chameleon/htdocs/common directory
-Copied my existing cwc2.xml from cwc2/config/ into chameleon/config -
altered references to 'cwc2' to now reference 'chameleon' (your note says
'edit appropriately', I assume this type of edit is what you mean?)
-Added 'chameleon' as a virtual directory using IIS
-Changed my index.phtml to now include(
"/apps/chameleon/htdocs/chameleon.php" ) instead of /apps/cwc2....
I can't think of anywhere else I need to change cwc2 to chameleon and yet I
get a nothing on the screen. I had this same problem a few weeks ago when I
tried a CVS install and then decided to just use the php_utils to update my
own widget scripts but then the application had all kinds of trouble so I
gave up!!!
I did try just changing the newly installed 'chameleon' directory name to
cwc2 but there was some conflict with that also - the screen still ends up
blank. And ideas what step or file I'm missing?
I'd appreciate your thoughts on this.
Tracy
-----Original Message-----
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of bartvde at xs4all.nl
Sent: Tuesday, May 11, 2004 12:29 AM
To: Paul Dymecki
Cc: Paul Dymecki; chameleon at lists.maptools.org; spencer at dmsolutions.ca
Subject: Re: [Chameleon] upgradeing
Hi Paul,
1) get the CVS version of Chameleon
2) get the CVS version of php_utils and copy the src part into common
If you have existing widgets created by yourself, it takes a little bit of
upgrading. If you have existing templates, you will need to do some little
upgrading as well.
I have attached my rough notes of this process.
Best regards,
Bart
> Sorry,
> I seem to have missed the instructions for upgradeing to 1.99, is it
> enough to replace the chameleon directory with the cvs release and
> reconfigure?
> thx,
> Paul
> ----- Original Message -----
> From: "Paul Dymecki" <pdymecki at sympatico.ca>
> To: <spencer at dmsolutions.ca>
> Cc: <chameleon at lists.maptools.org>
> Sent: Monday, May 10, 2004 1:38 PM
> Subject: Re: [Chameleon] zoomin widget
>
>
>> Thanks,
>> Also i wanted to get my navigation buttons(zoomin,zoomout,query) to
>> be
>> displayed with radio buttons, and was wondering what the process for
>> that
>> is?
>> thx again,
>> Paul
>> ----- Original Message -----
>> From: "Paul Spencer" <pagameba at magma.ca>
>> To: "Paul Dymecki" <pdymecki at sympatico.ca>
>> Cc: <chameleon at lists.maptools.org>
>> Sent: Monday, May 10, 2004 10:58 AM
>> Subject: Re: [Chameleon] zoomin widget
>>
>>
>> > Paul,
>> >
>> > it should work in single click mode as is (i.e. if you click and
>> release
>> > it will zoom in by a zoom factor at the clicked location). Zoom
>> factor
>> > is normally defaulted to 2, I think you can provide a different one in
>> > the widget, and you can also use a ZoomFactor widget to allow the user
>> > to specify a zoom factor (affects zoom in and out)
>> >
>> > If you want no fancy dhtml effects on the map at all, then you could
>> use
>> > the MapImageStatic widget
>> >
>> > Cheers,
>> >
>> > Paul
>> >
>> > Paul Dymecki wrote:
>> >
>> > > Hello,
>> > > I was wondering if there is a way to make the zoomin widget, work
>> without
>> > > the bounding box? ie just by clicking on a point..
>> > > thx,
>> > > Paul
>> > > ----- Original Message -----
>> > > From: "Paul Spencer" <pagameba at magma.ca>
>> > > To: <bartvde at xs4all.nl>
>> > > Cc: <chameleon at lists.maptools.org>
>> > > Sent: Monday, May 10, 2004 7:51 AM
>> > > Subject: Re: [Chameleon] waitimage and button width
>> > >
>> > >
>> > >
>> > >>Bart,
>> > >>
>> > >>bartvde at xs4all.nl wrote:
>> > >>
>> > >>
>> > >>>Hi Paul (cc list),
>> > >>>
>> > >>>-- 1 --
>> > >>>I found one difference between Chameleon 1.1 and 1.99 with regard
>> to
>> the
>> > >>>WaitImage.
>> > >>>
>> > >>>This is what I used to use:
>> > >>><waitimage language="nl-NL"
>> waitimage="/chameleon_images/spinner_nl.gif"
>> > >>>waitimagewidth="246" waitimageheight="50"/>
>> > >>>
>> > >>>chameleon_images was an alias to chameleon/htdocs/images
>> > >>>
>> > >>>Now I have to use:
>> > >>><waitimage language="nl-NL" waitimage="images/spinner_nl.gif"
>> > >>>waitimagewidth="246" waitimageheight="50"/>
>> > >>>
>> > >>>Probably the same kind of change as with the popup.css ...
>> > >>
>> > >>yes this is probably the same problem.
>> > >>
>> > >>
>> > >>>-- 2 --
>> > >>>I have one issue with the button width, but this is not specific
>> for
>> > >>>version 1.99 of Chameleon.
>> > >>>
>> > >>>When internationalizing a Chameleon application, some text
> s on the
>> > >
>> > > buttons
>> > >
>> > >>>become significantly larger than in the English version, which
>> means
> I
>> > >>>have to change the source code to provide a different width in the
>> > >>>MakeButton function.
>> > >>>
>> > >>>It would be great if something automagically could be arranged in
> which
>> > >>>buttons would estimate their width needed. But I know this will be
>> > >>>difficult if not impossible to implement because of font
>> differences
>> > >
>> > > etc.
>> > >
>> > >>>and it could mess up HTML layouts etc.
>> > >>>
>> > >>>But maybe something else could be invented so that this would not
>> > >
>> > > involve
>> > >
>> > >>>changing source code. This makes things difficult to maintain.
>> > >>>
>> > >>>Any thoughts?
>> > >>
>> > >>we talked about this already, we were thinking of having a mechanism
> for
>> > >>wildcarding the widget (and posssibly height) to allow the button to
>> > >>stretch. The current thoughts are:
>> > >>
>> > >>width="*" - button is drawn just wide enough to accomodate the icon
> and
>> > >>text and padding
>> > >>
>> > >>width="100*" - the button is drawn at least 100 px wide but will be
>> > >>stretched to allow for longer text if required
>> > >>
>> > >>width="100" - the button is exactly 100 px regardless of text
>> > >>
>> > >>Same logic could probably be used for height
>> > >>
>> > >>I haven't investigated this yet.
>> > >>
>> > >>Cheers,
>> > >>
>> > >>Paul
>> > >>
>> > >>
>> > >>>Best regards,
>> > >>>Bart
>> > >>>_______________________________________________
>> > >>>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
>>
>> _______________________________________________
>> 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
More information about the Chameleon
mailing list