[Chameleon] V1.99 image path

Paul Spencer pagameba at magma.ca
Tue May 11 11:36:37 EDT 2004


Guys,

this seems to be a result of limitations that I didn't understand, I 
committed a change to chameleon.php last night that may remove the 
requirement for you to specify gszAppPath and gszAppWebPath in your 
index.phtml files.

Bart, could you try the latest cvs and see if it works if you remove 
those lines pls?

Cheers,

Paul

bartvde at xs4all.nl wrote:

> Hi Markus,
> 
> you need to add the following to the index.phtml file of the application
> that you are running.
> 
> $_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs";
> $_SESSION['gszAppWebPath'] = "http://localhost/geoservices05";
> 
> Ofcourse you need to tweak those values for your situation. You are right
> it all happens in the fileSystemToURL function.
> 
> Best regards,
> Bart
> 
> 
>>Hi all (Bart and Paul?)
>>
>>I had some problems with the config file, but at this error it can't be:
>>
>>The browser can't find the images (example):
>>
>><IMG NAME="cwcimage_7" ID="cwcimage_7"
>>SRC="/var/www/cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1.png"
>>ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" WIDTH="60"
>>HEIGHT="10">
>>
>>It should be:
>>
>><IMG NAME="cwcimage_7" ID="cwcimage_7"
>>SRC="http://cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1.png"
>>ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" WIDTH="60"
>>HEIGHT="10">
>>
>>I suppose the function that converts the image-button to the url path is
>>not
>>always running correctly.
>>
>>I know the source code not very good. I've found only the function
>>fileSystemToURL();
>>What can I change?
>>
>>Markus Schnider
>>_______________________________________________
>>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/|
  -----------------------------------------------------------------



More information about the Chameleon mailing list