Download "user manual"

Transcript
Create a New Project
C.8. Pdf Printing
As done for the outline plugin, add "exportPdf" to the list of plugins to load on both
client and server-side.
After launching the setup script and refreshing the application (reset_session), you
should be able to test the new functionality as a new folder appeared in the interface.
But a warning printed in the pdf file advices you to edit your exportPdf.ini file.
So move exportPdf.ini from sampleFiles to client_conf. Take care that this is a
client-side configuration file. Try a new print (no need to reset).
For more information on how to edit your exportPdf.ini file, see Chapter 12, PDF
Export.
C.9. Templating and Layout
Create a new templates folder in your project directory and move the
cartoclient.tpl file from sampleFiles to this new folder.
This file is the main template for CartoWeb.
Refresh the application in your browser (refresh button) and enjoy!
To customize your project even more, you may apply styles sheets. To do so, first
create a htdocs folder in your project directory. In this folder, create a new folder
named css. Then move cartoweb.css and folders.css from sampleFiles to this
new folder.
At this step, you need to launch the setup script so that the new ressources you just
created are copied or linked (depending on your OS) in a web reachable folder.
You can now refresh the browser and see the new colors and styles.
241