Hi Norm<br><br>thanks for sending the tarball<br><br>i did exactly as you told<br>but studio is unable to find chameleon<br><br>i am using the latest windows ms4w release from maptools<br>and chameleon RC1<br><br>i extracted studio in /ms4w/apps
<br>set aliases for studio and studio_admin in httpd_studio.conf<br>and left the path to chameleon as blank in studio.xml but it didnt work<br>also tried setting the path as /ms4w/apps/chameleon-2.6.0rc1/htdocs/<br><br>but its unable to find chameleon
<br>i also tried <a href="http://localhost/studio">http://localhost/studio</a> and studio_admin <br>but i keep getting the "Error Finding Chameleon" page that indicates studio is not properly configured<br><br>need some more help from you
<br><br>waiting for your reply<br><br>Anand Akmanchi<br><br><br><div><span class="gmail_quote">On 11/1/07, <b class="gmail_sendername">Normand Savard</b> <<a href="mailto:nsavard@mapgears.com">nsavard@mapgears.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Normand Savard wrote:<br><br>> SHERIF NAGY wrote:<br>><br>>> Hello Norm,<br>
>> That is will be great ! i really appreciate your<br>>> help and effort. any method to communicate and send<br>>> the files? IRC / MSN / YAHOO / GTALK / ICQ / Gadu Gadu<br>>> :-)?<br>>>
<br>>><br>>><br>> Sherif, Anand,<br>><br>> I'm sending you the tarball (622kb) offline and then after I'll assist<br>> you on how to set up studio through the mailling list. We always have
<br>> to cc the Chameleon mailling list.<br>><br>> Norm<br>><br>Here is what I did to install and configure Studio to make it work with<br>the SECTPopup widget.<br><br>Norm<br><br>A)The simple way on Linux:<br>
1. Extract Studio in the same directory as Chameleon is (e.g. if<br>Chameleon is in /home/username/projects/, extract Studio in<br>/home/username/project).<br><br>2. Edit studio/config/studio.xml and leave blank the Chameleon path :
<br><br><app-context><br> <context-param><br> <param-name>chameleon_path</param-name><br> <param-value></param-value><br> <description>Absolute path to the root of a chameleon
<br>installation. You<br>can leave it blank if chameleon is installed in the same directory as<br>Studio. This value is a DIRECTORY</description><br> </context-param><br><br> ...<br></app-context>
<br><br>3. Go to your Apache document root directory and add a symbolic link<br>that point out to studio/htdocs directory<br><br>ln -s /pathto/studio/htdocs/ studio<br><br>4. Add SECTPopup widget in your application template:
<br><br><br> <tr><br> <!-- SECTPopup --><br> <td><cwc2 type="SECTPopup" styleresource="TextButtons"<br>popupstyleresource="TextButtons" PopupWidth="300" PopupHeight="450"
<br>Toolbar="false" Status="false" Menubar="false" Visible="true"<br>Scrollbars="true" Image="icons/icon_classify.png" Label="Style Layer"<br>ImageTip="Apply styles to layers" >
<br> <image state="normal"/><br> <image state="selected"/><br> <image state="hover"/><br> </cwc2><br> </td><br> </tr><br>
<br><br><br>B)If you extract Studio not in the same directory as Chameleon on Linux.<br>1. Extract Studio in a directory that will be made accessible from the Web.<br><br>2. Edit studio/config/studio.xml and set the Chameleon path :
<br><br><app-context><br> <context-param><br> <param-name>chameleon_path</param-name><br> <param-value>/path/to/chameleon/htdocs/</param-value><br> <description>Absolute path to the root of a chameleon
<br>installation. You<br>can leave it blank if chameleon is installed in the same directory as<br>Studio. This value is a DIRECTORY</description><br> </context-param><br><br> ...<br></app-context>
<br><br>3. Go to your Apache document root directory and add a symbolic link<br>that point out to studio/htdocs directory<br><br>ln -s /pathto/studio/htdocs/ studio<br><br>4. Add SECTPopup widget in your application template with the path and
<br>Web path to Studio:<br><br> <tr><br> <!-- SECTPopup --><br> <td><cwc2 type="SECTPopup" styleresource="TextButtons"<br>popupstyleresource="TextButtons" PopupWidth="300" PopupHeight="450"
<br>Toolbar="false" Status="false" Menubar="false" Visible="true"<br>Scrollbars="true" Image="icons/icon_classify.png" Label="Style Layer"<br>ImageTip="Apply styles to layers" STUDIOPATH="/pathto/studio/"
<br>STUDIOURL="<a href="http://127.0.0.1:port/studio/">http://127.0.0.1:port/studio/</a>"><br> <image state="normal"/><br> <image state="selected"/><br> <image state="hover"/>
<br> </cwc2><br> </td><br> </tr><br><br>C)Alternately instead of doing a symbolic link (step 3) you can create<br>studio.conf file under fgs/www/conf.d if you work with fgs or if not<br>simply add the following lines in your
httpd.conf:<br><br>Alias /studio/ "/pathto/studio/htdocs/"<br><br><Directory "/pathto/studio/htdocs/"><br> AllowOverride None<br> Options Indexes FollowSymLinks Multiviews<br> Order allow,deny
<br> Allow from all<br></Directory><br><br>Alias /studio_admin/ "/pathto/studio/htdocs_admin/"<br><br><Directory "/pathto/studio/htdocs_admin/"><br> AllowOverride None<br> Options Indexes FollowSymLinks Multiviews
<br> Order allow,deny<br> Allow from all<br></Directory><br><br><br>D) You can execute the following steps on Windows with ms4w:<br><br>1. Extract Studio in the same directory as Chameleon is (e.g. in<br>/ms4w/apps/).
<br><br>2. Edit studio/config/studio.xml and leave blank the Chameleon path :<br><br><app-context><br> <context-param><br> <param-name>chameleon_path</param-name><br> <param-value></param-value>
<br> <description>Absolute path to the root of a chameleon<br>installation. You<br>can leave it blank if chameleon is installed in the same directory as<br>Studio. This value is a DIRECTORY</description>
<br> </context-param><br><br> ...<br></app-context><br><br>3. Go to /ms4w/httpd.d/ and create a file httpd_studio.conf with the<br>following lines within it:<br><br>Alias /studio/ "/ms4w/apps/studio/htdocs/"
<br><br><Directory "/ms4w/apps/studio/htdocs/"><br> AllowOverride None<br> Options Indexes FollowSymLinks Multiviews<br> Order allow,deny<br> Allow from all<br></Directory><br><br>Alias /studio_admin/ "/ms4w/apps/studio/htdocs_admin/"
<br><br><Directory "/ms4w/apps/studio/htdocs_admin/"><br> AllowOverride None<br> Options Indexes FollowSymLinks Multiviews<br> Order allow,deny<br> Allow from all<br></Directory><br><br><br>4. Add SECTPopup widget in your application template:
<br><br><br> <tr><br> <!-- SECTPopup --><br> <td><cwc2 type="SECTPopup" styleresource="TextButtons"<br>popupstyleresource="TextButtons" PopupWidth="300" PopupHeight="450"
<br>Toolbar="false" Status="false" Menubar="false" Visible="true"<br>Scrollbars="true" Image="icons/icon_classify.png" Label="Style Layer"<br>ImageTip="Apply styles to layers" >
<br> <image state="normal"/><br> <image state="selected"/><br> <image state="hover"/><br> </cwc2><br> </td><br> </tr><br>
<br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Anand Akmanchi<br>========================================<br>"Man's mind, once stretched by a new idea, never regains its original dimensions." - Oliver Wendell
<br>Holmes<br>========================================