<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>well,</FONT></DIV>
<DIV><FONT size=2>you cant simply copy a whole project folder and rename it,
this will simply not work.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>you have to set the mapid name in the project's
client_conf/client.ini (usualy you project name)</FONT></DIV>
<DIV><FONT size=2>you have to rename the folders and files in the project's
server_conf folder and name them by your project name</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>do the </FONT><FONT size=3>--install command and the --clean
command after that (not at once)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=natashachatterjee02@yahoo.co.in
href="mailto:natashachatterjee02@yahoo.co.in">natasha chatterjee</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 14, 2007 1:24
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: problem with template
changes</DIV>
<DIV><BR></DIV>
<DIV> </DIV>
<DIV> Thanks , I have tried as you said but still faced
problems and changes are </DIV>
<DIV> still not reflecting.following way I proceeded----:</DIV>
<DIV> </DIV>
<DIV> 1) I created a copy of the folder demoCW3 as ProjectExample(for
trial </DIV>
<DIV> purpose)</DIV>
<DIV>
c:\wamp\www\cartoweb3\project\ProjectExample</DIV>
<DIV> </DIV>
<DIV> 2) created a copy of demoCW3.php in htdocs as
ProjectExample.php</DIV>
<DIV> </DIV>
<DIV> changed and edited the project name
inside the above file</DIV>
<DIV> (ProjectExample.php)</DIV>
<DIV> </DIV>
<DIV> 3) then on the commnd window used the command </DIV>
<DIV> </DIV>
<DIV> php cw3setup.php --install --base-url <A
href="http://localhost/cartoweb3/htdocs">http://localhost/cartoweb3/htdocs</A>
--</DIV>
<DIV>
project ProjectExample</DIV>
<DIV> </DIV>
<DIV> now i am able to use my own url </DIV>
<DIV> </DIV>
<DIV>4) then i tried to make few changes on the screen for that i did the
settings</DIV>
<DIV> in client.in file --profile - development</DIV>
<DIV> then again the used the cw3setup command(mentioned above)</DIV>
<DIV> </DIV>
<DIV>5) now made changes in the cartoclient.tpl file inside the
templates folder</DIV>
<DIV> of my project ProjectExample.</DIV>
<DIV> </DIV>
<DIV> now the changes are only being reflected on the following
page </DIV>
<DIV> </DIV>
<DIV> <A
href="http://localhost/cartoweb3/project/ProjectExample/templates/cartoclient.tpl">http://localhost/cartoweb3/project/ProjectExample/templates/cartoclient.tpl</A></DIV>
<DIV> </DIV>
<DIV> but not on the main page..,now tell me how to do it?so that the
changes will </DIV>
<DIV> reflect on the main running front end and will be permanant.</DIV>
<DIV> </DIV>
<DIV> please correct me also if i proceeded in a wrong manner.I need your
guidance.</DIV>
<DIV> </DIV>
<DIV> eagerly looking forward to your response.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>Natasha</DIV>
<DIV> <BR><BR><B><I>Oliver Christen
<oliver.christen@camptocamp.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>first, by default the template caching is activated,
meaning all changes to the templates files are not directly taken into
account. You have to manual clear the cache with the command cw3setup.php
--clean (in command-line, see <A
href="http://www.cartoweb.org/doc/cw3.4/xhtml/user.install.html#user.install.main.setup.example.clean">http://www.cartoweb.org/doc/cw3.4/xhtml/user.install.html#user.install.main.setup.example.clean</A>)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I would suggest deactivating the caching system while you
are developping your project, you can still activate it again when the
project is in production phase later, to do so, simply set
"profile=development" in your project's client_conf/client.ini
file.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>also, you should be very clear about the differentiation
between the "main" cartoweb files and your project files.</FONT></DIV>
<DIV><FONT size=2><A
href="http://www.cartoweb.org/doc/cw3.4/xhtml/user.structure.html#user.structure.project">http://www.cartoweb.org/doc/cw3.4/xhtml/user.structure.html#user.structure.project</A></FONT></DIV>
<DIV><FONT size=2>If you want to personalize some of the "main" templates
files, simply copy them in your project (within the correct folders
hierarchy), modify them and dont forget to run a cw3setup.php
--install command. This is necessary so the modified files are "mirrored" in
the main Cartoweb's htdocs folder, hence viewable.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>This allow to keep a clean "main" Cartoweb and only
touching up files at the project level.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>If you havent already, I would suggest making the tutorial
available there:</FONT></DIV>
<DIV><FONT size=2><A
href="http://www.cartoweb.org/cwiki/HowToCreateANewProject">http://www.cartoweb.org/cwiki/HowToCreateANewProject</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=natashachatterjee02@yahoo.co.in
href="mailto:natashachatterjee02@yahoo.co.in">natasha chatterjee</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 14, 2007
6:50 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> changes in template
file</DIV>
<DIV><BR></DIV>
<DIV>Hello</DIV>
<DIV> I am a naive user of
cartoweb,i have installed cartoweb now want </DIV>
<DIV> to make few changes
at the front end like was trying to relocate the </DIV>
<DIV> keymap and bars but
the changes are not being reflected can you please </DIV>
<DIV> tell me how will
they reflect on the main screen ,where and in which files </DIV>
<DIV> i have to make
changes? i was trying in the template files but the </DIV>
<DIV> changes are not reflecting
.please help me out.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> Regards</DIV>
<DIV> Natasha</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><!--5-->
<HR SIZE=1>
</HR>Now you can chat without downloading messenger. <A
href="http://in.rd.yahoo.com/tagline_webmessenger_5/*http://in.messenger.yahoo.com/webmessengerpromo.php">Click
here</A> to know how.</DIV></BLOCKQUOTE></BLOCKQUOTE><BR>
<P><!--1-->
<HR SIZE=1>
</HR>Download prohibited? No problem. <A
href="http://in.rd.yahoo.com/tagline_webmessenger_1/*http://in.messenger.yahoo.com/webmessengerpromo.php">CHAT</A>
from any browser, without download.</BLOCKQUOTE></BODY></HTML>