<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.3790.2491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi Baroudi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>1 and 2)</FONT></DIV>
<DIV><FONT size=2>The map reference is set in the client.ini : mapId =
your_map_identifiant</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Be sure to have created a folder named "your_map_identifiant"
in server_conf. Then put the mapfile and all the server configuration files
inside.</FONT></DIV>
<DIV><FONT size=2>The name of your mapfile must be "your_map_identifiant.map"
and the main server configuration file "your_map_identifiant.ini"</FONT></DIV>
<DIV><FONT size=2>(use what you want for "your_map_identifiant", this is only an
exemple)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>3)</FONT></DIV>
<DIV><FONT size=2>Concerning french language in the interface, first be sure and
certain that Gettext is installed, this is essential for translation. See the
documentations : <A
href="http://www.cartoweb.org/doc_head/docbook/xhtml/user.i18n.html#user.i18n.translations.config">http://www.cartoweb.org/doc_head/docbook/xhtml/user.i18n.html#user.i18n.translations.config</A> and</FONT></DIV>
<DIV><FONT size=2><A
href="http://www.cartoweb.org/doc_head/docbook/xhtml/user.i18n.html#user.i18n.translations.debug">http://www.cartoweb.org/doc_head/docbook/xhtml/user.i18n.html#user.i18n.translations.debug</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>To enable french, first set the language in the
client.ini</FONT></DIV>
<DIV><FONT size=2>defaultLang = fr<BR>langList = fr, en</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Then in the /po folder, copy the client.po and name it
client.fr.po . Do the same for server."your_map_identifiant".po and
server.po.</FONT></DIV>
<DIV><FONT size=2>Then open the file in any text editor and write all the msgstr
with the french words.</FONT></DIV>
<DIV><FONT size=2>Then launch the command-line installation script, so gettext
convert the .po to .mo (php cw3setup.php --install ... )</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>4)</FONT></DIV>
<DIV><FONT size=2>I am not sure if i understand correctly your
question.</FONT></DIV>
<DIV><FONT size=2>To add a frame (i suppose you refer to what we call folder) in
the template, simply modify the cartoclient.tpl file (in
/project/"your_project"/templates/).</FONT></DIV>
<DIV><FONT size=2>Add a label element and a folder element:</FONT></DIV>
<DIV><FONT size=2>in <ul id="tabnav1">, add </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><li id="labelxxx"><a
href="javascript:ontop(6)">{t}Your new
frame{/t}</a></li></FONT></DIV>
<DIV><FONT size=2>( replace xxx by the next available number, if there
is last label is number 7, use 8 )</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>in <div id="container">, add</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><div id="folderxxx" class="folder"></FONT> </DIV>
<DIV><FONT size=2> Here put all the elements you need</FONT></DIV><FONT
size=2></div></FONT>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>5)</FONT></DIV>
<DIV><FONT size=2>Again I am not sure to understand your question.</FONT></DIV>
<DIV><FONT size=2>If you want to access directly your project without using
client.php, go in /cartoweb3/htdocs/ </FONT></DIV>
<DIV><FONT size=2>copy demoCW3.php and rename it to your project name. Open it
with a text editor and change $_ENV['CW3_PROJECT'] = 'demoCW3'; to
$_ENV['CW3_PROJECT'] = 'your_project_name';</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="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=baroudi.malek@gmail.com href="mailto:baroudi.malek@gmail.com">Baroudi
Malek</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, May 10, 2006 8:37
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] I have some
problem ?</DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT><BR></DIV><FONT
style="FONT-FAMILY: courier new,monospace" size=4>1) I try to use a
simple project founded in Cartoweb Wiki, the installation is made
a success but I don't succeed to show the main card. what is the problem
?<BR><BR>2) How can i set the path of map in order to load it ?<BR><BR
clear=all>3) The simple project does not support the French language,
how to configure my simple project to have a French ?<BR><BR>4) How can
i add a frame which contains (checkbox, lists, button....) in a cartoweb
project ?<BR><BR>5) How can i modify continuous of<SPAN
style="FONT-WEIGHT: bold"> client.php</SPAN> (title of project for
example) ?<BR>-- <BR><BR></FONT><BR><BR><BR><BR><BR><BR><BR>"Qui allume sa
bougie à la mienne reçoit de la lumière sans me plonger dans
l'obscurité…"<BR>
' Thomas Jefferson'
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>