<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ark.lparchaeology.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andydufton</id>
		<title>ARK - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://ark.lparchaeology.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andydufton"/>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php/Special:Contributions/Andydufton"/>
		<updated>2026-05-18T06:47:16Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Sf_txt&amp;diff=3007</id>
		<title>Sf txt</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Sf_txt&amp;diff=3007"/>
				<updated>2012-01-17T11:11:19Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
The sf_txt is for handling basic text fields.  All text fields will need to be setup in [[field_settings.php]] and will need to be entered in cor_lut_txttype.  An alias will also need to be entered in cor_tbl_alias that corresponds to the cor_lut_txttype entry.&lt;br /&gt;
&lt;br /&gt;
===Additional Fields===&lt;br /&gt;
The following is an optional display field to allow the administrator to control the way in which subform headings are displayed within the micro view for sf_txt. The default is to not display subform headings when the fields are not populated.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;op_emptyfielddisp&amp;#039; =&amp;gt; FALSE - Does not display the field (as the Default).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;op_emptyfielddisp&amp;#039; =&amp;gt; TRUE - Displays the heading, but leaves the field blank.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;op_emptyfielddisp&amp;#039; =&amp;gt; &amp;#039;notxt&amp;#039; - nname in cor_tbl_markup which is displays message in the case that the record is unpopulated.&lt;br /&gt;
&lt;br /&gt;
===Example Configuration===&lt;br /&gt;
&lt;br /&gt;
An example of sf_txt configuration using multiple modtypes:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_description =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;desc&amp;#039;, &lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;cxt_su_description&amp;#039;, // Must be unique&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_txt.php&amp;#039;,&lt;br /&gt;
        &amp;#039;op_label&amp;#039; =&amp;gt; &amp;#039;space&amp;#039;,&lt;br /&gt;
        &amp;#039;op_input&amp;#039; =&amp;gt; &amp;#039;save&amp;#039;,&lt;br /&gt;
	&amp;#039;op_modtype&amp;#039; =&amp;gt; TRUE, //for different fields for each modtype (see below)&lt;br /&gt;
        &amp;#039;type1_fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
             $conf_field_shape,&lt;br /&gt;
             $conf_field_corners,&lt;br /&gt;
             $conf_field_dims,&lt;br /&gt;
             $conf_field_bostop,&lt;br /&gt;
             $conf_field_sides,&lt;br /&gt;
             $conf_field_bosbase,&lt;br /&gt;
             $conf_field_base,&lt;br /&gt;
             $conf_field_orient,&lt;br /&gt;
             $conf_field_inclination,&lt;br /&gt;
             $conf_field_truncation,&lt;br /&gt;
             $conf_field_observ&lt;br /&gt;
        ),&lt;br /&gt;
        &amp;#039;type2_fields&amp;#039; =&amp;gt; array(      &lt;br /&gt;
             $conf_field_compac,             &lt;br /&gt;
             $conf_field_colour, &lt;br /&gt;
             $conf_field_compo, &lt;br /&gt;
             $conf_field_inclusions,   &lt;br /&gt;
             $conf_field_dims,         &lt;br /&gt;
             $conf_field_observ,&lt;br /&gt;
             $conf_field_excavtech               &lt;br /&gt;
        ),&lt;br /&gt;
        &amp;#039;type3_fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
             $conf_field_material,             &lt;br /&gt;
             $conf_field_sizemat,              &lt;br /&gt;
             $conf_field_finish,             &lt;br /&gt;
             $conf_field_bond, &lt;br /&gt;
             $conf_field_form,             &lt;br /&gt;
             $conf_field_dirface,              &lt;br /&gt;
             $conf_field_bondmat,             &lt;br /&gt;
             $conf_field_dims, &lt;br /&gt;
             $conf_field_observ &lt;br /&gt;
        ),&lt;br /&gt;
	    &amp;#039;type4_fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
		$conf_field_abody,&lt;br /&gt;
		$conf_field_ahead,&lt;br /&gt;
		$conf_field_ararm,&lt;br /&gt;
		$conf_field_alarm,&lt;br /&gt;
		$conf_field_arleg,&lt;br /&gt;
		$conf_field_alleg,&lt;br /&gt;
		$conf_field_afeet,&lt;br /&gt;
		$conf_field_degen,&lt;br /&gt;
		$conf_field_state,&lt;br /&gt;
		$conf_field_observ&lt;br /&gt;
	    ),&lt;br /&gt;
	    &amp;#039;type5_fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
		$conf_field_orient,&lt;br /&gt;
		$conf_field_dims,&lt;br /&gt;
		$conf_field_observ,&lt;br /&gt;
		$conf_field_excavtech&lt;br /&gt;
	    )&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of sf_txt using a single modtype&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_short_desc =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;shortdesc&amp;#039;, &lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;cxt_short_description&amp;#039;, // Must be unique&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_txt.php&amp;#039;,&lt;br /&gt;
        &amp;#039;op_label&amp;#039; =&amp;gt; &amp;#039;space&amp;#039;,&lt;br /&gt;
        &amp;#039;op_input&amp;#039; =&amp;gt; &amp;#039;save&amp;#039;,&lt;br /&gt;
	&amp;#039;op_modtype&amp;#039; =&amp;gt; FALSE, //if each modtype uses same fields (see below)&lt;br /&gt;
        &amp;#039;fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
             $conf_field_short_desc&lt;br /&gt;
	     )&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=2063</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=2063"/>
				<updated>2011-07-21T18:18:37Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* PEAR LiveUser */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pre-configured ARK setups are available from the ARK team. If you are unfamiliar with the setup and administration of webservers along with the security risks to your system and data this entails, please consider contacting us to acquire a fully running ARK. For those of you who have already got a server and want to go though the installation procedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===How To&amp;#039;s===&lt;br /&gt;
&lt;br /&gt;
Detailed How-To documents have been written to take the new administrator through the installation and setup of MS4W, Mapserver, and ARK.  They can be downloaded [http://ark.lparchaeology.com/news/windows-installation-walkthroughs-now-available here].&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional security to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  ARK makes use of PEAR LiveUser, LiveUser_Admin, MDB2, and MDB2_driver_mysql, DB, and Event_Dispatcher.  All of these packages will need to be installed in order for ARK user authentication to function.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;PLEASE NOTE that ALL the PEAR SQL tables are already included with the basic ARK database, and do not need to be added to the database during PEAR setup.  ALSO the required PEAR depencies are included with the v1.0 directory structure and in the environment settings, so no further installation or set-up of PEAR should be needed.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE and DELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[env_settings.php]] and [[settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Setup Windows server for ARK===&lt;br /&gt;
&lt;br /&gt;
This will take you through setting up a windows server from scratch to work for ARK. &lt;br /&gt;
&lt;br /&gt;
====Download and install====&lt;br /&gt;
*MS4W, newest release: http://www.maptools.org/ms4w/&lt;br /&gt;
** Download with installer&lt;br /&gt;
** Install without ad-on packages&lt;br /&gt;
** Install in C:\&lt;br /&gt;
** Install in port 80 unless it is already in use then use port 8080&lt;br /&gt;
** Go to http://127.0.0.1 or http://localhost to check that it is running. &lt;br /&gt;
** You can also go to Control Panel &amp;gt; Administrative Tools &amp;gt; Services and check that the Apache MS4W Web Server is started.&lt;br /&gt;
&lt;br /&gt;
* MySQL&lt;br /&gt;
** Download MySQL community server: http://dev.mysql.com/downloads/&lt;br /&gt;
** Install a typical installation&lt;br /&gt;
** Configuration:&lt;br /&gt;
*** Server Machine&lt;br /&gt;
*** Transactional Database Only&lt;br /&gt;
*** Installation path C:&lt;br /&gt;
*** Online Transaction Processing&lt;br /&gt;
*** Enable TCP?IP Networking on port nr. 3306&lt;br /&gt;
*** Enable Strict Mode&lt;br /&gt;
*** Best Support for Multilingualism&lt;br /&gt;
*** Install as Windows Service&lt;br /&gt;
*** Include Bin Directory in Windows PATH&lt;br /&gt;
*** Set root password&lt;br /&gt;
** You can also go to Control Panel &amp;gt; Administrative Tools &amp;gt; Services and check that the MySQL is started.&lt;br /&gt;
&lt;br /&gt;
* PEAR&lt;br /&gt;
** Firstly make sure that there is a path to the folder containing php.exe in the environmental variables: Control Panel &amp;gt; System &amp;gt; Advanced &amp;gt; Environmental Variables &amp;gt; System Variables: Click Edit for the &amp;#039;path&amp;#039; variable and add ; and the full path to the folder after the last path (in this case C:\ms4w\Apache\cgi-bin&lt;br /&gt;
** Restart the server after this. &lt;br /&gt;
** Now go to the command line and find the folder containing go-pear.bat (should be C:\ms4w\Apache\php) and type in go-pear.bat&lt;br /&gt;
** This will run the pear installation and if you can get this to work then congratulations. I give up here and move the old pear files over from another project.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
After browsing to the ARK directory you should now be able to see the login pages for the database.  The tutorial database is created with the following admin user account:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username: doe_jd&lt;br /&gt;
password: janedoe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=1116</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=1116"/>
				<updated>2011-07-16T17:21:02Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Browse to ARK directory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pre-configured ARK setups are available from the ARK team. If you are unfamiliar with the setup and administration of webservers along with the security risks to your system and data this entails, please consider contacting us to acquire a fully running ARK. For those of you who have already got a server and want to go though the installation procedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===How To&amp;#039;s===&lt;br /&gt;
&lt;br /&gt;
Detailed How-To documents have been written to take the new administrator through the installation and setup of MS4W, Mapserver, and ARK.  They can be downloaded [http://ark.lparchaeology.com/news/windows-installation-walkthroughs-now-available here].&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional security to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  ARK makes use of PEAR LiveUser, LiveUser_Admin, MDB2, and MDB2_driver_mysql, DB, and Event_Dispatcher.  All of these packages will need to be installed in order for ARK user authentication to function.&lt;br /&gt;
&lt;br /&gt;
For details on how to install and configure live user, and the associated packages required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.   &amp;#039;&amp;#039;&amp;#039;PLEASE NOTE that ALL the PEAR SQL tables are already included with the basic ARK database, and do not need to be added to the database again during PEAR setup.  ALSO the required PEAR depencies are included with the v0.6 files in the &amp;#039;examples&amp;#039; directory.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE and DELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[env_settings.php]] and [[settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Setup Windows server for ARK===&lt;br /&gt;
&lt;br /&gt;
This will take you through setting up a windows server from scratch to work for ARK. &lt;br /&gt;
&lt;br /&gt;
====Download and install====&lt;br /&gt;
*MS4W, newest release: http://www.maptools.org/ms4w/&lt;br /&gt;
** Download with installer&lt;br /&gt;
** Install without ad-on packages&lt;br /&gt;
** Install in C:\&lt;br /&gt;
** Install in port 80 unless it is already in use then use port 8080&lt;br /&gt;
** Go to http://127.0.0.1 or http://localhost to check that it is running. &lt;br /&gt;
** You can also go to Control Panel &amp;gt; Administrative Tools &amp;gt; Services and check that the Apache MS4W Web Server is started.&lt;br /&gt;
&lt;br /&gt;
* MySQL&lt;br /&gt;
** Download MySQL community server: http://dev.mysql.com/downloads/&lt;br /&gt;
** Install a typical installation&lt;br /&gt;
** Configuration:&lt;br /&gt;
*** Server Machine&lt;br /&gt;
*** Transactional Database Only&lt;br /&gt;
*** Installation path C:&lt;br /&gt;
*** Online Transaction Processing&lt;br /&gt;
*** Enable TCP?IP Networking on port nr. 3306&lt;br /&gt;
*** Enable Strict Mode&lt;br /&gt;
*** Best Support for Multilingualism&lt;br /&gt;
*** Install as Windows Service&lt;br /&gt;
*** Include Bin Directory in Windows PATH&lt;br /&gt;
*** Set root password&lt;br /&gt;
** You can also go to Control Panel &amp;gt; Administrative Tools &amp;gt; Services and check that the MySQL is started.&lt;br /&gt;
&lt;br /&gt;
* PEAR&lt;br /&gt;
** Firstly make sure that there is a path to the folder containing php.exe in the environmental variables: Control Panel &amp;gt; System &amp;gt; Advanced &amp;gt; Environmental Variables &amp;gt; System Variables: Click Edit for the &amp;#039;path&amp;#039; variable and add ; and the full path to the folder after the last path (in this case C:\ms4w\Apache\cgi-bin&lt;br /&gt;
** Restart the server after this. &lt;br /&gt;
** Now go to the command line and find the folder containing go-pear.bat (should be C:\ms4w\Apache\php) and type in go-pear.bat&lt;br /&gt;
** This will run the pear installation and if you can get this to work then congratulations. I give up here and move the old pear files over from another project.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
After browsing to the ARK directory you should now be able to see the login pages for the database.  The tutorial database is created with the following admin user account:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username: doe_jd&lt;br /&gt;
password: janedoe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Sf_txt&amp;diff=2148</id>
		<title>Sf txt</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Sf_txt&amp;diff=2148"/>
				<updated>2011-07-16T14:17:27Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Additional Fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
The sf_txt is for handling basic text fields.  All text fields will need to be setup in [[field_settings.php]] and will need to be entered in cor_lut_txttype.  An alias will also need to be entered in cor_tbl_alias that corresponds to the cor_lut_txttype entry.&lt;br /&gt;
&lt;br /&gt;
===Additional Fields===&lt;br /&gt;
The following is an optional display field to allow the administrator to control the way in which subform headings are displayed within the micro view for sf_txt. The default is to not display subform headings when the fields are not populated.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;op_emptyfielddisp&amp;#039; =&amp;gt; &amp;#039;FALSE&amp;#039; - Does not display the field (as the Default).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;op_emptyfielddisp&amp;#039; =&amp;gt; &amp;#039;TRUE&amp;#039; - Displays the heading, but leaves the field blank.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;op_emptyfielddisp&amp;#039; =&amp;gt; &amp;#039;notxt&amp;#039; - nname in cor_tbl_markup which is displays message in the case that the record is unpopulated.&lt;br /&gt;
&lt;br /&gt;
===Example Configuration===&lt;br /&gt;
&lt;br /&gt;
An example of sf_txt configuration using multiple modtypes:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_description =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;desc&amp;#039;, &lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;cxt_su_description&amp;#039;, // Must be unique&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_txt.php&amp;#039;,&lt;br /&gt;
        &amp;#039;op_label&amp;#039; =&amp;gt; &amp;#039;space&amp;#039;,&lt;br /&gt;
        &amp;#039;op_input&amp;#039; =&amp;gt; &amp;#039;save&amp;#039;,&lt;br /&gt;
	&amp;#039;op_modtype&amp;#039; =&amp;gt; TRUE, //for different fields for each modtype (see below)&lt;br /&gt;
        &amp;#039;type1_fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
             $conf_field_shape,&lt;br /&gt;
             $conf_field_corners,&lt;br /&gt;
             $conf_field_dims,&lt;br /&gt;
             $conf_field_bostop,&lt;br /&gt;
             $conf_field_sides,&lt;br /&gt;
             $conf_field_bosbase,&lt;br /&gt;
             $conf_field_base,&lt;br /&gt;
             $conf_field_orient,&lt;br /&gt;
             $conf_field_inclination,&lt;br /&gt;
             $conf_field_truncation,&lt;br /&gt;
             $conf_field_observ&lt;br /&gt;
        ),&lt;br /&gt;
        &amp;#039;type2_fields&amp;#039; =&amp;gt; array(      &lt;br /&gt;
             $conf_field_compac,             &lt;br /&gt;
             $conf_field_colour, &lt;br /&gt;
             $conf_field_compo, &lt;br /&gt;
             $conf_field_inclusions,   &lt;br /&gt;
             $conf_field_dims,         &lt;br /&gt;
             $conf_field_observ,&lt;br /&gt;
             $conf_field_excavtech               &lt;br /&gt;
        ),&lt;br /&gt;
        &amp;#039;type3_fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
             $conf_field_material,             &lt;br /&gt;
             $conf_field_sizemat,              &lt;br /&gt;
             $conf_field_finish,             &lt;br /&gt;
             $conf_field_bond, &lt;br /&gt;
             $conf_field_form,             &lt;br /&gt;
             $conf_field_dirface,              &lt;br /&gt;
             $conf_field_bondmat,             &lt;br /&gt;
             $conf_field_dims, &lt;br /&gt;
             $conf_field_observ &lt;br /&gt;
        ),&lt;br /&gt;
	    &amp;#039;type4_fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
		$conf_field_abody,&lt;br /&gt;
		$conf_field_ahead,&lt;br /&gt;
		$conf_field_ararm,&lt;br /&gt;
		$conf_field_alarm,&lt;br /&gt;
		$conf_field_arleg,&lt;br /&gt;
		$conf_field_alleg,&lt;br /&gt;
		$conf_field_afeet,&lt;br /&gt;
		$conf_field_degen,&lt;br /&gt;
		$conf_field_state,&lt;br /&gt;
		$conf_field_observ&lt;br /&gt;
	    ),&lt;br /&gt;
	    &amp;#039;type5_fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
		$conf_field_orient,&lt;br /&gt;
		$conf_field_dims,&lt;br /&gt;
		$conf_field_observ,&lt;br /&gt;
		$conf_field_excavtech&lt;br /&gt;
	    )&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of sf_txt using a single modtype&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_short_desc =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;shortdesc&amp;#039;, &lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;cxt_short_description&amp;#039;, // Must be unique&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_txt.php&amp;#039;,&lt;br /&gt;
        &amp;#039;op_label&amp;#039; =&amp;gt; &amp;#039;space&amp;#039;,&lt;br /&gt;
        &amp;#039;op_input&amp;#039; =&amp;gt; &amp;#039;save&amp;#039;,&lt;br /&gt;
	&amp;#039;op_modtype&amp;#039; =&amp;gt; FALSE, //if each modtype uses same fields (see below)&lt;br /&gt;
        &amp;#039;fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
             $conf_field_short_desc&lt;br /&gt;
	     )&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=User_Manual&amp;diff=844</id>
		<title>User Manual</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=User_Manual&amp;diff=844"/>
				<updated>2011-02-21T15:56:35Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This user documentation is intended for basic use of the ARK system, including basic data entry and search functions.&lt;br /&gt;
&lt;br /&gt;
For a basic overview of the key ARK concepts take a look at the [[http://ark.lparchaeology.com/about/overview about]] section of the ARK website.&lt;br /&gt;
&lt;br /&gt;
===Key Concepts===&lt;br /&gt;
&lt;br /&gt;
====[[Navigation]]====&lt;br /&gt;
&lt;br /&gt;
Information about the navigation tools used within ARK.&lt;br /&gt;
&lt;br /&gt;
=====[[Navigation#Basic Navigation|Basic Navigation]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Navigation#Subform Navigation|Subform Navigation]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Views]]====&lt;br /&gt;
&lt;br /&gt;
The different &amp;#039;Views&amp;#039; of the ARK system.&lt;br /&gt;
&lt;br /&gt;
===Basic Functions===&lt;br /&gt;
&lt;br /&gt;
====[[User Administration]]====&lt;br /&gt;
&lt;br /&gt;
How to add and edit users of the ARK system.&lt;br /&gt;
&lt;br /&gt;
=====[[User Administration#Adding Users|Adding Users]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[User Administration#Editing Users|Editing Users]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Data Entry]]====&lt;br /&gt;
&lt;br /&gt;
An explanation of the Data Entry pages.&lt;br /&gt;
&lt;br /&gt;
=====[[Data Entry#Data Entry Register|Data Entry Register]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Data Entry#Data Entry Sheet|Data Entry Sheet]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Data Entry#Files|Files]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Data Entry#Additional Sheets|Additional Sheets]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Data View]]====&lt;br /&gt;
&lt;br /&gt;
An explanation of the Data View pages and search functions.&lt;br /&gt;
&lt;br /&gt;
=====[[Data View#Main Panel|Main Panel]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Data View#Search Filters|Search Filters]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Data View#View Options|View Options]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Data View#Export Data|Export Data]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Micro View]]====&lt;br /&gt;
&lt;br /&gt;
A brief description of the micro view pages of ARK.&lt;br /&gt;
&lt;br /&gt;
====[[Map View]]====&lt;br /&gt;
&lt;br /&gt;
Viewing spatial data in ARK.&lt;br /&gt;
&lt;br /&gt;
====[[Exporting Data]]====&lt;br /&gt;
&lt;br /&gt;
Basic export of data from ARK.&lt;br /&gt;
&lt;br /&gt;
[[category: Usermanual]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=1122</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=1122"/>
				<updated>2011-02-21T15:19:11Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki is the documentation project for ARK the archaeological recording kit. The documentation falls into 3 categories:&lt;br /&gt;
&lt;br /&gt;
#[[User Manual]] - Notes for end users of the system&lt;br /&gt;
#[[Administrator Manual]] - Notes for setup and administration of ARK&lt;br /&gt;
#[[Developer Manual]] - Documentation of the ARK engine&lt;br /&gt;
&lt;br /&gt;
For a quickstart installation after downloading the demo ARK, go straight to [[Basic Installation]].&lt;br /&gt;
&lt;br /&gt;
To learn how to upgrade from v0.6 to v0.7 please go straight to [[Upgrading ARK]].&lt;br /&gt;
&lt;br /&gt;
Users of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkusers arkusers]&amp;#039;&amp;#039;&amp;#039; Group.  &lt;br /&gt;
&lt;br /&gt;
Developers of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkdev arkdev]&amp;#039;&amp;#039;&amp;#039; Group.&lt;br /&gt;
&lt;br /&gt;
We also have an [[:Category:glossary|ARK Glossary]] to try to explain some key terms and the way they are used in ARK.&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=842</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=842"/>
				<updated>2011-02-21T15:18:26Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki is the documentation project for ARK the archaeological recording kit. The documentation falls into 3 categories:&lt;br /&gt;
&lt;br /&gt;
#[[User Manual]] - Notes for end users of the system [[:Category:usermanual| User Manual Index]]&lt;br /&gt;
#[[Administrator Manual]] - Notes for setup and administration of ARK [[:Category:administrator| Administrator Index]]&lt;br /&gt;
#[[Developer Manual]] - Documentation of the ARK engine [[:Category:developer| Developer Index]]&lt;br /&gt;
&lt;br /&gt;
For a quickstart installation after downloading the demo ARK, go straight to [[Basic Installation]].&lt;br /&gt;
&lt;br /&gt;
To learn how to upgrade from v0.6 to v0.7 please go straight to [[Upgrading ARK]].&lt;br /&gt;
&lt;br /&gt;
Users of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkusers arkusers]&amp;#039;&amp;#039;&amp;#039; Group.  &lt;br /&gt;
&lt;br /&gt;
Developers of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkdev arkdev]&amp;#039;&amp;#039;&amp;#039; Group.&lt;br /&gt;
&lt;br /&gt;
We also have an [[:Category:glossary|ARK Glossary]] to try to explain some key terms and the way they are used in ARK.&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=841</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=841"/>
				<updated>2011-02-21T15:15:51Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: Reverted edit of Andydufton, changed back to last version by Emma25&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki is the documentation project for ARK the archaeological recording kit. The documentation falls into 3 categories:&lt;br /&gt;
&lt;br /&gt;
It can help you with your [http://www.research-service.com/custom-research-paper.html research papers]&lt;br /&gt;
#[[User Manual]] - Notes for end users of the system [[:Category:usermanual| User Manual Index]]&lt;br /&gt;
#[[Administrator Manual]] - Notes for setup and administration of ARK [[:Category:administrator| Administrator Index]]&lt;br /&gt;
#[[Developer Manual]] - Documentation of the ARK engine [[:Category:developer| Developer Index]]&lt;br /&gt;
&lt;br /&gt;
For a quickstart installation after downloading the demo ARK, go straight to [[Basic Installation]]. [http://www.interpretazione-sogni.org/eclissi significato sogni eclissi]&lt;br /&gt;
&lt;br /&gt;
To learn how to upgrade from v0.6 to v0.7 please go straight to [[Upgrading ARK]] or modifying [http://www.popularreview.com reviews]. &lt;br /&gt;
&lt;br /&gt;
Users of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkusers arkusers]&amp;#039;&amp;#039;&amp;#039; Group.  &lt;br /&gt;
&lt;br /&gt;
Developers of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkdev arkdev]&amp;#039;&amp;#039;&amp;#039; Group.&lt;br /&gt;
&lt;br /&gt;
We also have an [[:Category:glossary|ARK Glossary]] to try to explain some key terms and the way they are used in ARK.&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=840</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=840"/>
				<updated>2011-02-21T15:05:08Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: Reverted edit of Emma25, changed back to last version by Frankhill&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki is the documentation project for ARK the archaeological recording kit. The documentation falls into 3 categories:&lt;br /&gt;
&lt;br /&gt;
It can help you with your [http://www.research-service.com/custom-research-paper.html research papers]&lt;br /&gt;
#[[User Manual]] - Notes for end users of the system [[:Category:usermanual| User Manual Index]]&lt;br /&gt;
#[[Administrator Manual]] - Notes for setup and administration of ARK [[:Category:administrator| Administrator Index]]&lt;br /&gt;
#[[Developer Manual]] - Documentation of the ARK engine [[:Category:developer| Developer Index]]&lt;br /&gt;
&lt;br /&gt;
For a quickstart installation after downloading the demo ARK, go straight to [[Basic Installation]].&lt;br /&gt;
&lt;br /&gt;
To learn how to upgrade from v0.6 to v0.7 please go straight to [[Upgrading ARK]] or modifying [http://www.popularreview.com reviews]. &lt;br /&gt;
&lt;br /&gt;
Users of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkusers arkusers]&amp;#039;&amp;#039;&amp;#039; Group.  &lt;br /&gt;
&lt;br /&gt;
Developers of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkdev arkdev]&amp;#039;&amp;#039;&amp;#039; Group.&lt;br /&gt;
&lt;br /&gt;
We also have an [[:Category:glossary|ARK Glossary]] to try to explain some key terms and the way they are used in ARK.&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=2180</id>
		<title>Upgrading ARK</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=2180"/>
				<updated>2010-04-05T09:48:41Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Download the latest ark release: v0.7===&lt;br /&gt;
The ARK code is available for download from [http://sourceforge.net/projects/arkdb/ Sourceforge]. &amp;#039;&amp;#039;&amp;#039;It is highly recommended that you take a backup of the entire ARK directory before attempting to upgrade your system.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
When the files have been downloaded, unzip the file and move all of the contents to your ARK directory.  The location of directory will change depending on your setup, but for a standard ms4w is located at C:/ms4w/Apache/htdocs/ark.  When copying replace all existing v0.6 files &amp;#039;&amp;#039;&amp;#039;EXCEPT for the &amp;#039;config&amp;#039; and &amp;#039;data&amp;#039; folders!  IF YOU HAVE MADE CHANGES TO THE STYLESHEET FOR YOUR ARK PROJECT, YOU WILL ALSO NOT COPY THE &amp;#039;SKINS&amp;#039; DIRECTORY&amp;#039;&amp;#039;&amp;#039;.  &lt;br /&gt;
&lt;br /&gt;
If successful, you should be able to log in to your ARK as before.  There are a couple of minor changes that will need to be made to your settings and configuration files, we will take you through these now on a case by case basis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Follow the detailed walkthrough===&lt;br /&gt;
&lt;br /&gt;
We will be updating these wiki pages shortly.  In the meantime please download our [http://ark.lparchaeology.com/file_download/8 upgrade document] to walk you through the process of installing the new version of ARK.&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=795</id>
		<title>Upgrading ARK</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=795"/>
				<updated>2010-04-05T07:35:10Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Download the latest ark release: v0.7===&lt;br /&gt;
The ARK code is available for download from [http://sourceforge.net/projects/arkdb/ Sourceforge]. &amp;#039;&amp;#039;&amp;#039;It is highly recommended that you take a backup of the entire ARK directory before attempting to upgrade your system.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
When the files have been downloaded, unzip the file and move all of the contents to your ARK directory.  The location of directory will change depending on your setup, but for a standard ms4w is located at C:/ms4w/Apache/htdocs/ark.  When copying replace all existing v0.6 files &amp;#039;&amp;#039;&amp;#039;EXCEPT for the &amp;#039;config&amp;#039; and &amp;#039;data&amp;#039; folders!  IF YOU HAVE MADE CHANGES TO THE STYLESHEET FOR YOUR ARK PROJECT, YOU WILL ALSO NOT COPY THE &amp;#039;SKINS&amp;#039; DIRECTORY&amp;#039;&amp;#039;&amp;#039;.  &lt;br /&gt;
&lt;br /&gt;
If successful, you should be able to log in to your ARK as before.  There are a couple of minor changes that will need to be made to your settings and configuration files, we will take you through these now on a case by case basis.&lt;br /&gt;
&lt;br /&gt;
===Change your settings.php file===&lt;br /&gt;
 2.1.Several additions which were made to the settings.php file in v0.7 need to be manually entered into the previous settings file remaining from v0.6 (C:/ms4w/Apache/htdocs/ark/config/settings.php).&lt;br /&gt;
 2.1.1.Free Text Search Mode: Allows for either complex search options such as +, -, &amp;quot;&amp;quot;, as well as plain free text searches.&lt;br /&gt;
 2.1.2.Filter Permissions: Gives members of defined groups permissions to make search filters public/private.&lt;br /&gt;
 2.1.3.Control List Permissions: Gives groups permissions to add items to controlled lists.&lt;br /&gt;
 2.2.Copy-paste the new code into the settings.php file at the stated line location, in order to keep the various version configurations similar.&lt;br /&gt;
 2.3. Screen shot of new code? / something that keeps the formatting&lt;br /&gt;
===Changes your module specific settings===&lt;br /&gt;
 4.1. Several module settings may also need to be adjusted within sub-forms and detailed forms which use specific functions which are deprecated and no longer in use in v0.7.&lt;br /&gt;
 4.2. All file sub-forms using &amp;#039;sf_file_imageflow&amp;#039; (which is no longer in use) should instead use: &amp;#039;sf_file&amp;#039;, which handles the uploading and registering of files . Further details are here: http://ark.lparchaeology.com/wiki/index.php/Sf_file.&lt;br /&gt;
 4.3.Detailed form settings using &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, need to change the col_type to &amp;#039;primary_col&amp;#039;. &lt;br /&gt;
 4.4.Search controls for xmi links are now contained within the xmi sub-forms themselves, rather than in the settings.php file. An example configuration contained within … can be seen here: http://ark.lparchaeology.com/wiki/index.php/Sf_xmi . All xmi sub-forms should be edited accordingly.&lt;br /&gt;
===Add new markup===&lt;br /&gt;
 3.1.Download the new markup.sql (location?).&lt;br /&gt;
 3.2.Open the file in a text editor and copy the text. Open and sign into phpMyAdmin, selecting the appropriate ARK database. Select the SQL tab and paste the SQL query from the text file into the window and select Go. This should successfully update the database with the new markup. &lt;br /&gt;
===Make optional changes to cor_tbl_wwwpages===&lt;br /&gt;
 5.1.??&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=794</id>
		<title>Upgrading ARK</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=794"/>
				<updated>2010-04-05T07:34:40Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Download the latest ark release: v0.7===&lt;br /&gt;
The ARK code is available for download from [http://sourceforge.net/projects/arkdb/ Sourceforge]. &amp;#039;&amp;#039;&amp;#039;It is highly recommended that you take a backup of the entire ARK directory before attempting to upgrade your system.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
When the files have been downloaded, unzip the file and move all of the contents to your ARK directory.  The location of directory will change depending on your setup, but for a standard ms4w is located at C:/ms4w/Apache/htdocs/ark.  When copying replace all existing v0.6 files &amp;#039;&amp;#039;&amp;#039;EXCEPT for the &amp;#039;config&amp;#039; and &amp;#039;data&amp;#039; folders!  IF YOU HAVE MADE CHANGES TO THE STYLESHEET FOR YOUR ARK PROJECT, YOU WILL ALSO NOT COPY THE &amp;#039;SKINS&amp;#039; DIRECTORY&amp;#039;&amp;#039;&amp;#039;.  &lt;br /&gt;
&lt;br /&gt;
If successful, you should be able to log in to your ARK as before.  There are a couple of minor changes that will need to be made to your settings and configuration files, we will take you through these now on a case by case basis.&lt;br /&gt;
&lt;br /&gt;
===Settings file changes===&lt;br /&gt;
 2.1.Several additions which were made to the settings.php file in v0.7 need to be manually entered into the previous settings file remaining from v0.6 (C:/ms4w/Apache/htdocs/ark/config/settings.php).&lt;br /&gt;
 2.1.1.Free Text Search Mode: Allows for either complex search options such as +, -, &amp;quot;&amp;quot;, as well as plain free text searches.&lt;br /&gt;
 2.1.2.Filter Permissions: Gives members of defined groups permissions to make search filters public/private.&lt;br /&gt;
 2.1.3.Control List Permissions: Gives groups permissions to add items to controlled lists.&lt;br /&gt;
 2.2.Copy-paste the new code into the settings.php file at the stated line location, in order to keep the various version configurations similar.&lt;br /&gt;
 2.3. Screen shot of new code? / something that keeps the formatting&lt;br /&gt;
===Adjust Module  settings===&lt;br /&gt;
 4.1. Several module settings may also need to be adjusted within sub-forms and detailed forms which use specific functions which are deprecated and no longer in use in v0.7.&lt;br /&gt;
 4.2. All file sub-forms using &amp;#039;sf_file_imageflow&amp;#039; (which is no longer in use) should instead use: &amp;#039;sf_file&amp;#039;, which handles the uploading and registering of files . Further details are here: http://ark.lparchaeology.com/wiki/index.php/Sf_file.&lt;br /&gt;
 4.3.Detailed form settings using &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, need to change the col_type to &amp;#039;primary_col&amp;#039;. &lt;br /&gt;
 4.4.Search controls for xmi links are now contained within the xmi sub-forms themselves, rather than in the settings.php file. An example configuration contained within … can be seen here: http://ark.lparchaeology.com/wiki/index.php/Sf_xmi . All xmi sub-forms should be edited accordingly.&lt;br /&gt;
===Add new markup===&lt;br /&gt;
 3.1.Download the new markup.sql (location?).&lt;br /&gt;
 3.2.Open the file in a text editor and copy the text. Open and sign into phpMyAdmin, selecting the appropriate ARK database. Select the SQL tab and paste the SQL query from the text file into the window and select Go. This should successfully update the database with the new markup. &lt;br /&gt;
===Optional changes to cor_tbl_wwwpages===&lt;br /&gt;
 5.1.??&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=793</id>
		<title>Upgrading ARK</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=793"/>
				<updated>2010-04-05T07:33:35Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Download the latest ark release: v0.7===&lt;br /&gt;
The ARK code is available for download from [http://sourceforge.net/projects/arkdb/ Sourceforge]. &amp;#039;&amp;#039;&amp;#039;It is highly recommended that you take a backup of the entire ARK directory before attempting to upgrade your system.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
When the files have been downloaded, unzip the file and move all of the contents to your ARK directory.  The location of directory will change depending on your setup, but for a standard ms4w is located at C:/ms4w/Apache/htdocs/ark.  When copying replace all existing v0.6 files &amp;#039;&amp;#039;&amp;#039;EXCEPT for the &amp;#039;config&amp;#039; and &amp;#039;data&amp;#039; folders!  IF YOU HAVE MADE CHANGES TO THE STYLESHEET FOR YOUR ARK PROJECT, YOU WILL ALSO NOT COPY THE &amp;#039;SKINS&amp;#039; DIRECTORY&amp;#039;&amp;#039;&amp;#039;.  &lt;br /&gt;
&lt;br /&gt;
If successful, you should be able to log in to your ARK as before.  There are a couple of minor changes that will need to be made to your settings and configuration files, we will take you through these now on a case by case basis.&lt;br /&gt;
&lt;br /&gt;
===2. Settings file changes===&lt;br /&gt;
 2.1.Several additions which were made to the settings.php file in v0.7 need to be manually entered into the previous settings file remaining from v0.6 (C:/ms4w/Apache/htdocs/ark/config/settings.php).&lt;br /&gt;
 2.1.1.Free Text Search Mode: Allows for either complex search options such as +, -, &amp;quot;&amp;quot;, as well as plain free text searches.&lt;br /&gt;
 2.1.2.Filter Permissions: Gives members of defined groups permissions to make search filters public/private.&lt;br /&gt;
 2.1.3.Control List Permissions: Gives groups permissions to add items to controlled lists.&lt;br /&gt;
 2.2.Copy-paste the new code into the settings.php file at the stated line location, in order to keep the various version configurations similar.&lt;br /&gt;
 2.3. Screen shot of new code? / something that keeps the formatting&lt;br /&gt;
== 3. Add new markup==&lt;br /&gt;
 3.1.Download the new markup.sql (location?).&lt;br /&gt;
 3.2.Open the file in a text editor and copy the text. Open and sign into phpMyAdmin, selecting the appropriate ARK database. Select the SQL tab and paste the SQL query from the text file into the window and select Go. This should successfully update the database with the new markup. &lt;br /&gt;
== 4. Adjust Module  settings==&lt;br /&gt;
 4.1. Several module settings may also need to be adjusted within sub-forms and detailed forms which use specific functions which are deprecated and no longer in use in v0.7.&lt;br /&gt;
 4.2. All file sub-forms using &amp;#039;sf_file_imageflow&amp;#039; (which is no longer in use) should instead use: &amp;#039;sf_file&amp;#039;, which handles the uploading and registering of files . Further details are here: http://ark.lparchaeology.com/wiki/index.php/Sf_file.&lt;br /&gt;
 4.3.Detailed form settings using &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, need to change the col_type to &amp;#039;primary_col&amp;#039;. &lt;br /&gt;
 4.4.Search controls for xmi links are now contained within the xmi sub-forms themselves, rather than in the settings.php file. An example configuration contained within … can be seen here: http://ark.lparchaeology.com/wiki/index.php/Sf_xmi . All xmi sub-forms should be edited accordingly.&lt;br /&gt;
== 5. optional changes to www page names==&lt;br /&gt;
 5.1.??&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=792</id>
		<title>Upgrading ARK</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=792"/>
				<updated>2010-04-05T07:25:29Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Download the latest ark release: v0.7===&lt;br /&gt;
 1.1.The ARK code is available for download from Sourceforge at http://ark.lparchaeology.com/download&lt;br /&gt;
 1.2.When the files have been downloaded, unzip the file and move all of the contents (*EXCEPT for the &amp;#039;config&amp;#039; folder) to the previous ARK directory (C:/ms4w/Apache/htdocs/ark), pasting over v0.6.&lt;br /&gt;
== 2. Settings file changes==&lt;br /&gt;
 2.1.Several additions which were made to the settings.php file in v0.7 need to be manually entered into the previous settings file remaining from v0.6 (C:/ms4w/Apache/htdocs/ark/config/settings.php).&lt;br /&gt;
 2.1.1.Free Text Search Mode: Allows for either complex search options such as +, -, &amp;quot;&amp;quot;, as well as plain free text searches.&lt;br /&gt;
 2.1.2.Filter Permissions: Gives members of defined groups permissions to make search filters public/private.&lt;br /&gt;
 2.1.3.Control List Permissions: Gives groups permissions to add items to controlled lists.&lt;br /&gt;
 2.2.Copy-paste the new code into the settings.php file at the stated line location, in order to keep the various version configurations similar.&lt;br /&gt;
 2.3. Screen shot of new code? / something that keeps the formatting&lt;br /&gt;
== 3. Add new markup==&lt;br /&gt;
 3.1.Download the new markup.sql (location?).&lt;br /&gt;
 3.2.Open the file in a text editor and copy the text. Open and sign into phpMyAdmin, selecting the appropriate ARK database. Select the SQL tab and paste the SQL query from the text file into the window and select Go. This should successfully update the database with the new markup. &lt;br /&gt;
== 4. Adjust Module  settings==&lt;br /&gt;
 4.1. Several module settings may also need to be adjusted within sub-forms and detailed forms which use specific functions which are deprecated and no longer in use in v0.7.&lt;br /&gt;
 4.2. All file sub-forms using &amp;#039;sf_file_imageflow&amp;#039; (which is no longer in use) should instead use: &amp;#039;sf_file&amp;#039;, which handles the uploading and registering of files . Further details are here: http://ark.lparchaeology.com/wiki/index.php/Sf_file.&lt;br /&gt;
 4.3.Detailed form settings using &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, need to change the col_type to &amp;#039;primary_col&amp;#039;. &lt;br /&gt;
 4.4.Search controls for xmi links are now contained within the xmi sub-forms themselves, rather than in the settings.php file. An example configuration contained within … can be seen here: http://ark.lparchaeology.com/wiki/index.php/Sf_xmi . All xmi sub-forms should be edited accordingly.&lt;br /&gt;
== 5. optional changes to www page names==&lt;br /&gt;
 5.1.??&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=791</id>
		<title>Upgrading ARK</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Upgrading_ARK&amp;diff=791"/>
				<updated>2010-04-05T07:25:21Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Download the latest ark release: v0.7==&lt;br /&gt;
 1.1.The ARK code is available for download from Sourceforge at http://ark.lparchaeology.com/download&lt;br /&gt;
 1.2.When the files have been downloaded, unzip the file and move all of the contents (*EXCEPT for the &amp;#039;config&amp;#039; folder) to the previous ARK directory (C:/ms4w/Apache/htdocs/ark), pasting over v0.6.&lt;br /&gt;
== 2. Settings file changes==&lt;br /&gt;
 2.1.Several additions which were made to the settings.php file in v0.7 need to be manually entered into the previous settings file remaining from v0.6 (C:/ms4w/Apache/htdocs/ark/config/settings.php).&lt;br /&gt;
 2.1.1.Free Text Search Mode: Allows for either complex search options such as +, -, &amp;quot;&amp;quot;, as well as plain free text searches.&lt;br /&gt;
 2.1.2.Filter Permissions: Gives members of defined groups permissions to make search filters public/private.&lt;br /&gt;
 2.1.3.Control List Permissions: Gives groups permissions to add items to controlled lists.&lt;br /&gt;
 2.2.Copy-paste the new code into the settings.php file at the stated line location, in order to keep the various version configurations similar.&lt;br /&gt;
 2.3. Screen shot of new code? / something that keeps the formatting&lt;br /&gt;
== 3. Add new markup==&lt;br /&gt;
 3.1.Download the new markup.sql (location?).&lt;br /&gt;
 3.2.Open the file in a text editor and copy the text. Open and sign into phpMyAdmin, selecting the appropriate ARK database. Select the SQL tab and paste the SQL query from the text file into the window and select Go. This should successfully update the database with the new markup. &lt;br /&gt;
== 4. Adjust Module  settings==&lt;br /&gt;
 4.1. Several module settings may also need to be adjusted within sub-forms and detailed forms which use specific functions which are deprecated and no longer in use in v0.7.&lt;br /&gt;
 4.2. All file sub-forms using &amp;#039;sf_file_imageflow&amp;#039; (which is no longer in use) should instead use: &amp;#039;sf_file&amp;#039;, which handles the uploading and registering of files . Further details are here: http://ark.lparchaeology.com/wiki/index.php/Sf_file.&lt;br /&gt;
 4.3.Detailed form settings using &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, need to change the col_type to &amp;#039;primary_col&amp;#039;. &lt;br /&gt;
 4.4.Search controls for xmi links are now contained within the xmi sub-forms themselves, rather than in the settings.php file. An example configuration contained within … can be seen here: http://ark.lparchaeology.com/wiki/index.php/Sf_xmi . All xmi sub-forms should be edited accordingly.&lt;br /&gt;
== 5. optional changes to www page names==&lt;br /&gt;
 5.1.??&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=818</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=818"/>
				<updated>2010-04-05T07:15:21Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki is the documentation project for ARK the archaeological recording kit. The documentation falls into 3 categories:&lt;br /&gt;
&lt;br /&gt;
It can help you with your [http://www.research-service.com/custom-research-paper.html research papers]&lt;br /&gt;
#[[User Manual]] - Notes for end users of the system [[:Category:usermanual| User Manual Index]]&lt;br /&gt;
#[[Administrator Manual]] - Notes for setup and administration of ARK [[:Category:administrator| Administrator Index]]&lt;br /&gt;
#[[Developer Manual]] - Documentation of the ARK engine [[:Category:developer| Developer Index]]&lt;br /&gt;
&lt;br /&gt;
For a quickstart installation after downloading the demo ARK, go straight to [[Basic Installation]].&lt;br /&gt;
&lt;br /&gt;
To learn how to upgrade from v0.6 to v0.7 please go straight to [[Upgrading ARK]].&lt;br /&gt;
&lt;br /&gt;
Users of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkusers arkusers]&amp;#039;&amp;#039;&amp;#039; Group.  &lt;br /&gt;
&lt;br /&gt;
Developers of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkdev arkdev]&amp;#039;&amp;#039;&amp;#039; Group.&lt;br /&gt;
&lt;br /&gt;
We also have an [[:Category:glossary|ARK Glossary]] to try to explain some key terms and the way they are used in ARK.&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=1029</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=1029"/>
				<updated>2009-09-22T06:29:02Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pre-configured ARK setups are available from the ARK team. If you are unfamiliar with the setup and administration of webservers along with the security risks to your system and data this entails, please consider contacting us to acquire a fully running ARK. For those of you who have already got a server and want to go though the installation procedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===How To&amp;#039;s===&lt;br /&gt;
&lt;br /&gt;
Detailed How-To documents have been written to take the new administrator through the installation and setup of MS4W, Mapserver, and ARK.  They can be downloaded [http://ark.lparchaeology.com/news/windows-installation-walkthroughs-now-available here].&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional security to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  ARK makes use of PEAR LiveUser, LiveUser_Admin, MDB2, and MDB2_driver_mysql, DB, and Event_Dispatcher.  All of these packages will need to be installed in order for ARK user authentication to function.&lt;br /&gt;
&lt;br /&gt;
For details on how to install and configure live user, and the associated packages required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.   &amp;#039;&amp;#039;&amp;#039;PLEASE NOTE that ALL the PEAR SQL tables are already included with the basic ARK database, and do not need to be added to the database again during PEAR setup.  ALSO the required PEAR depencies are included with the v0.6 files in the &amp;#039;examples&amp;#039; directory.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE and DELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[settings.php#Server Specific Information|settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Windows server for ARK===&lt;br /&gt;
&lt;br /&gt;
This will take you through setting up a windows server from scratch to work for ARK. &lt;br /&gt;
&lt;br /&gt;
====Download and install====&lt;br /&gt;
*MS4W, newest release: http://www.maptools.org/ms4w/&lt;br /&gt;
** Download with installer&lt;br /&gt;
** Install without ad-on packages&lt;br /&gt;
** Install in C:\&lt;br /&gt;
** Install in port 80 unless it is already in use then use port 8080&lt;br /&gt;
** Go to http://127.0.0.1 or http://localhost to check that it is running. &lt;br /&gt;
** You can also go to Control Panel &amp;gt; Administrative Tools &amp;gt; Services and check that the Apache MS4W Web Server is started.&lt;br /&gt;
&lt;br /&gt;
* MySQL&lt;br /&gt;
** Download MySQL community server: http://dev.mysql.com/downloads/&lt;br /&gt;
** Install a typical installation&lt;br /&gt;
** Configuration:&lt;br /&gt;
*** Server Machine&lt;br /&gt;
*** Transactional Database Only&lt;br /&gt;
*** Installation path C:&lt;br /&gt;
*** Online Transaction Processing&lt;br /&gt;
*** Enable TCP?IP Networking on port nr. 3306&lt;br /&gt;
*** Enable Strict Mode&lt;br /&gt;
*** Best Support for Multilingualism&lt;br /&gt;
*** Install as Windows Service&lt;br /&gt;
*** Include Bin Directory in Windows PATH&lt;br /&gt;
*** Set root password&lt;br /&gt;
** You can also go to Control Panel &amp;gt; Administrative Tools &amp;gt; Services and check that the MySQL is started.&lt;br /&gt;
&lt;br /&gt;
* PEAR&lt;br /&gt;
** Firstly make sure that there is a path to the folder containing php.exe in the environmental variables: Control Panel &amp;gt; System &amp;gt; Advanced &amp;gt; Environmental Variables &amp;gt; System Variables: Click Edit for the &amp;#039;path&amp;#039; variable and add ; and the full path to the folder after the last path (in this case C:\ms4w\Apache\cgi-bin&lt;br /&gt;
** Restart the server after this. &lt;br /&gt;
** Now go to the command line and find the folder containing go-pear.bat (should be C:\ms4w\Apache\php) and type in go-pear.bat&lt;br /&gt;
** This will run the pear installation and if you can get this to work then congratulations. I give up here and move the old pear files over from another project.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
After browsing to the ARK directory you should now be able to see the login pages for the database.  The tutorial database is created with the following two user accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username: janedoe&lt;br /&gt;
password: janedoe&lt;br /&gt;
&lt;br /&gt;
username: johnsmith&lt;br /&gt;
password: johnsmith&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=803</id>
		<title>Settings.php</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=803"/>
				<updated>2009-09-21T15:43:52Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the main settings file for each instance of ARK. The file is divide into sections as set out below&lt;br /&gt;
&lt;br /&gt;
===Server Setup===&lt;br /&gt;
The server setup being used.  Currently ARK is configured for Mapserver 4 Windows (ms4w), Mac, and Linux servers.  Set the server type and include the [[env_settings.php]] file using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$server=&amp;quot;ms4w&amp;quot;;&lt;br /&gt;
// Include settings related to your server environment (this also uses the server specified above)&lt;br /&gt;
include(&amp;#039;env_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Server Specific Information====&lt;br /&gt;
You will need to edit the following depending on your specific server information.  Edit the information under the type of server you are using.  &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;YOU MUST UPDATE THE SERVER SPECIFIC INFORMATION BEFORE YOUR ARK INSTALLATION WILL FUNCTION.  AS A FIRST STEP UPDATE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_dir&amp;#039;&amp;#039;&amp;#039; - your ark directory&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_db&amp;#039;&amp;#039;&amp;#039; - your ark database&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_server&amp;#039;&amp;#039;&amp;#039; - the MySQL server&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_user&amp;#039;&amp;#039;&amp;#039; - The MySQL user who will make db calls&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_pwd&amp;#039;&amp;#039;&amp;#039; - The mysql user password&lt;br /&gt;
&lt;br /&gt;
The rest of the basic settings for each server are included below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
switch($server){&lt;br /&gt;
	&lt;br /&gt;
	case ms4w:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;psw&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;C:/&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
	case mac:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;127.0.0.1&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pws&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	break;&lt;br /&gt;
	case linux:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pwd&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===General===&lt;br /&gt;
This contains general configuration for the ARK.&lt;br /&gt;
&lt;br /&gt;
====Minimiser====&lt;br /&gt;
Is the minimiser enabled?&lt;br /&gt;
To use the minimiser on specific data entry pages you need to go to the mod_settings files (ex. mod_cxt_settings.php) and make sure that &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, instead of single_col in the $conf_dat_materi and $conf_dat_detfrm settings. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Set to TRUE if you want to use the minimising right hand navigation bar&lt;br /&gt;
$minimiser = TRUE;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====ARK Name====&lt;br /&gt;
The name of this instance of ARK&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The Ark name&lt;br /&gt;
$ark_name = &amp;#039;Tutorial&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Live Search===&lt;br /&gt;
The controls for the live search function&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls &lt;br /&gt;
/*&lt;br /&gt;
* live = live search &lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NB- Controls for xmi live search should not be included in the global settings, this has been moved to the subform configuration as of v0.7&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strike&amp;gt;Also the controls for live search for XMI &amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls for xmi&lt;br /&gt;
/*&lt;br /&gt;
* live = live search - this should only be set to live if you are using the collapsing data entry&lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$xmi_mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fancy Text Search===&lt;br /&gt;
The controls for fancy text search, using boolean functions such as +, -, &amp;quot;search term&amp;quot;, etc (like Google).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Free text search mode&lt;br /&gt;
/*&lt;br /&gt;
* fancy - this allows complex search options such as +, -, &amp;quot;&amp;quot; (like Google!)&lt;br /&gt;
* plain = plain free text search, no fancy options&lt;br /&gt;
*/&lt;br /&gt;
$ftx_mode = &amp;quot;fancy&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modules===&lt;br /&gt;
Configure the modules to be used in this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// List the modules that need to be loaded in this ARK project&lt;br /&gt;
$loaded_modules = &lt;br /&gt;
    array(&lt;br /&gt;
	&amp;#039;abk&amp;#039;, // address book&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // contexts&lt;br /&gt;
        &amp;#039;pln&amp;#039;, // plans&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
        &amp;#039;spf&amp;#039;, // Special finds&lt;br /&gt;
        &amp;#039;sph&amp;#039;, // Site photos&lt;br /&gt;
        &lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the modules to load mapping data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Lists the modules to load maps for&lt;br /&gt;
$loaded_map_mods = &lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // context&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default item key for this ARK setup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default item key for this instance of Ark - format: mod_cd&lt;br /&gt;
$default_itemkey = &amp;#039;cxt_cd&amp;#039;; // context&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the DSN for this ARK (this should generally NOT need adjusting)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// DSN (this shouldn&amp;#039;t need adjusting)&lt;br /&gt;
$dsn = &amp;#039;mysql://&amp;#039;.$sql_user.&amp;#039;:&amp;#039;.$sql_pwd.&amp;#039;@&amp;#039;.$sql_server.&amp;#039;/&amp;#039;.$ark_db;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Security===&lt;br /&gt;
The security for ARK is handled by LiveUser.  The liveuser configuration is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Liveuser: &lt;br /&gt;
// These are the names of the liveuser objects. They should be unique per ARK &lt;br /&gt;
// (to prevent cross ark hacking). They need to be called in the code as&lt;br /&gt;
// $$liveuser and $$liveuser_admin&lt;br /&gt;
$liveuser = $ark_name . &amp;#039;usr&amp;#039;;&lt;br /&gt;
$liveuser_admin = $ark_name . &amp;#039;usr&amp;#039; . &amp;#039;_admin&amp;#039;;&lt;br /&gt;
// The path to the login script (relative to the document root)&lt;br /&gt;
$loginScript = &amp;#039;index.php&amp;#039;;&lt;br /&gt;
// Anonymous Logins&lt;br /&gt;
// If these variables are set then you are allowing anonymous logins&lt;br /&gt;
// This is a security risk! Its best to leave these statements commented out.&lt;br /&gt;
// Bear in mind that this does not need to be a real user.&lt;br /&gt;
$anonymous_login[&amp;#039;username&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
$anonymous_login[&amp;#039;password&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
// Method used in forms:&lt;br /&gt;
// get = form messages sent via get method - vissible in browser bar.&lt;br /&gt;
// post = form message sent via post method - invisible to the user.&lt;br /&gt;
$form_method = &amp;#039;get&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Filters===&lt;br /&gt;
&lt;br /&gt;
It is possible to  allow some users to make their personal saved filters public for all to use. This is organised on a security group basis. Fill the ftr_admin_grps array with the numerical id of the security groups (from the cor_lvu_groups table) that you wish to allow access.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Filter permissions &lt;br /&gt;
// Members of the following (sgrp) groups will have permission to make their own filters public &lt;br /&gt;
// and permission to make other users (and their own) filters got private &lt;br /&gt;
$ftr_admin_grps = &lt;br /&gt;
    array( &lt;br /&gt;
        1 &lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Skin===&lt;br /&gt;
Sets the skin name and skin path for this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Skin name&lt;br /&gt;
$skin = &amp;#039;arkologik&amp;#039;;&lt;br /&gt;
// Skin path&lt;br /&gt;
$skin_path = &amp;quot;$ark_dir/skins/$skin&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Thumbnails===&lt;br /&gt;
Sets thumbnail sizes for ARK (this will be used when uploading files)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Optional&lt;br /&gt;
$thumbnail_sizes =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;arkthumb_width&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;arkthumb_height&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;webthumb_width&amp;#039; =&amp;gt; 500,&lt;br /&gt;
        &amp;#039;webthumb_height&amp;#039; =&amp;gt; 500&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Forms===&lt;br /&gt;
Set default year and site code for data entry and viewing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Default year as a setting for form data entry&lt;br /&gt;
$default_year = &amp;#039;2008&amp;#039;;&lt;br /&gt;
//Default site code&lt;br /&gt;
$default_site_cd = &amp;#039;PCO06&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Viewers===&lt;br /&gt;
Configure the viewers to display a set number of rows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Number of rows to display on the data viewer&lt;br /&gt;
$conf_viewer_rows = 25;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the index pages for Micro View, Data View, and Search pages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default Micro viewer page (used by search result handlers)&lt;br /&gt;
$conf_micro_viewer = $ark_dir.&amp;quot;micro_view.php&amp;quot;;&lt;br /&gt;
// Default data viewer page&lt;br /&gt;
$conf_data_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
// Default search page - search funtions will send data thru to this page&lt;br /&gt;
$conf_search_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default for search results display:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default $output_mode for the data viewer&lt;br /&gt;
$default_output_mode = &amp;#039;tbl&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Mapping===&lt;br /&gt;
Set the basic configuration for mapping functions (map directory, temp directory, etc):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Path to temp directory (server)&lt;br /&gt;
$ark_maptemp_dir = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to temp directory (web)&lt;br /&gt;
$ark_web_maptemp_dir = &amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to WMS mapfile (server)&lt;br /&gt;
$ark_wms_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wms.map&amp;#039;;&lt;br /&gt;
// Path to WFS mapfile (server)&lt;br /&gt;
$ark_wfs_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wfs.map&amp;#039;;&lt;br /&gt;
// Map scales&lt;br /&gt;
$map_scales = &amp;#039;[1000,750,500,250,150,100,50,25,10]&amp;#039;;&lt;br /&gt;
// Tilecache_path - only set this if you have a tilecache setup on your server&lt;br /&gt;
//$tilecache_path = &amp;#039;/cgi-bin/tilecache.cgi?&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure the wms query layers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*$wms_qlayers = array (&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;cxt_schm&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pgn&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;sfi_points&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pt&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
);*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up the map projection and extents to suit the location of the ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Map projection (in form: &amp;quot;EPSG:4326&amp;quot;)&lt;br /&gt;
$map_projection = &amp;#039;EPSG:27700&amp;#039;;&lt;br /&gt;
// Map extents (in form: &amp;quot;1075,970,1115,1010&amp;quot;)&lt;br /&gt;
$map_extents = &amp;#039;533866, 180940,533963, 181000&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the layer from WMS to be used in map view&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Maplayers from the WMS layer used in the map view&lt;br /&gt;
$mapview_layers = array (&amp;#039;contexts&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Logging===&lt;br /&gt;
Cofigures logging levels to record logging into database and changes to data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Logging levels&lt;br /&gt;
$conf_log_add = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_edt = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_del = &amp;#039;on&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Search Engine===&lt;br /&gt;
Configures words to cut out of multi-string searches to streamline the search process and maximise results.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// words to cut out of multi string searches&lt;br /&gt;
$conf_non_search_words = array(&amp;#039;and&amp;#039;, &amp;#039;di&amp;#039;, &amp;#039;in&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Languages===&lt;br /&gt;
Configures the default language and other languages in use.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default lang&lt;br /&gt;
$default_lang = &amp;#039;en&amp;#039;;&lt;br /&gt;
// These are the languages in use (in order)&lt;br /&gt;
$conf_langs = array(&amp;#039;en&amp;#039;, &amp;#039;da&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fields===&lt;br /&gt;
Used to include the [[field_settings.php]] file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
include_once(&amp;#039;field_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Document Type===&lt;br /&gt;
Configures the document type to use for web output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$doctype = &amp;quot;html \n&lt;br /&gt;
     PUBLIC \&amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN\&amp;quot;\n&lt;br /&gt;
     \&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\&amp;quot;&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Navigation===&lt;br /&gt;
====Navigation Links====&lt;br /&gt;
Configure to state what links will appear in the end of the navigation bar.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_linklist =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;file&amp;#039; =&amp;gt; &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;vars&amp;#039; =&amp;gt; &amp;#039;logout=true&amp;#039;,&lt;br /&gt;
        &amp;#039;label&amp;#039; =&amp;gt; &amp;#039;logout&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Navigation Pages====&lt;br /&gt;
Unless listed in this array, all pages will appear in the main nav.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_hide_pages =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;record_view.php&amp;#039;,&lt;br /&gt;
        &amp;#039;contact.php&amp;#039;,&lt;br /&gt;
        &amp;#039;about.php&amp;#039;,&lt;br /&gt;
        &amp;#039;search.php&amp;#039;,&lt;br /&gt;
        &amp;#039;folder.php&amp;#039;,&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Left Panel Configuration===&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data Entry====&lt;br /&gt;
Configures the left panel in the data entry pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;view&amp;#039;&amp;#039;&amp;#039; - the view the link should point to (regist, detfrm, files or a custom view)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=abk_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regabk&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=materi&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;matsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=files&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;uplfile&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Micro View====&lt;br /&gt;
Configures the left panel in the micro view pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data View====&lt;br /&gt;
This configures the left panel for the data view pages and needs the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output ({$_SERVER[&amp;#039;PHP_SELF&amp;#039;]} is on same page, $ark_dir/export.php is on export page)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output_mode&amp;#039;&amp;#039;&amp;#039; - output format for internal links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output&amp;#039;&amp;#039;&amp;#039; - is output format for external links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=CSVExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expcsv&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=XMLExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expxml&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=tbl&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwtbl&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=chat&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwchat&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- User Home====&lt;br /&gt;
This configures the left-panel for the user home pages and needs the following fields:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$user_home_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;data_view.php?vtok=1&amp;amp;amp;nname=All_Contexts&amp;amp;amp;ftype=key&amp;amp;amp;key=1&amp;amp;amp;ktype=all&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=774</id>
		<title>Settings.php</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=774"/>
				<updated>2009-09-21T15:41:15Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Live Search */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the main settings file for each instance of ARK. The file is divide into sections as set out below&lt;br /&gt;
&lt;br /&gt;
===Server Setup===&lt;br /&gt;
The server setup being used.  Currently ARK is configured for Mapserver 4 Windows (ms4w), Mac, and Linux servers.  Set the server type and include the [[env_settings.php]] file using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$server=&amp;quot;ms4w&amp;quot;;&lt;br /&gt;
// Include settings related to your server environment (this also uses the server specified above)&lt;br /&gt;
include(&amp;#039;env_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Server Specific Information====&lt;br /&gt;
You will need to edit the following depending on your specific server information.  Edit the information under the type of server you are using.  &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;YOU MUST UPDATE THE SERVER SPECIFIC INFORMATION BEFORE YOUR ARK INSTALLATION WILL FUNCTION.  AS A FIRST STEP UPDATE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_dir&amp;#039;&amp;#039;&amp;#039; - your ark directory&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_db&amp;#039;&amp;#039;&amp;#039; - your ark database&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_server&amp;#039;&amp;#039;&amp;#039; - the MySQL server&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_user&amp;#039;&amp;#039;&amp;#039; - The MySQL user who will make db calls&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_pwd&amp;#039;&amp;#039;&amp;#039; - The mysql user password&lt;br /&gt;
&lt;br /&gt;
The rest of the basic settings for each server are included below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
switch($server){&lt;br /&gt;
	&lt;br /&gt;
	case ms4w:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;psw&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;C:/&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
	case mac:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;127.0.0.1&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pws&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	break;&lt;br /&gt;
	case linux:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pwd&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===General===&lt;br /&gt;
This contains general configuration for the ARK.&lt;br /&gt;
&lt;br /&gt;
====Minimiser====&lt;br /&gt;
Is the minimiser enabled?&lt;br /&gt;
To use the minimiser on specific data entry pages you need to go to the mod_settings files (ex. mod_cxt_settings.php) and make sure that &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, instead of single_col in the $conf_dat_materi and $conf_dat_detfrm settings. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Set to TRUE if you want to use the minimising right hand navigation bar&lt;br /&gt;
$minimiser = TRUE;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====ARK Name====&lt;br /&gt;
The name of this instance of ARK&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The Ark name&lt;br /&gt;
$ark_name = &amp;#039;Tutorial&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Live Search===&lt;br /&gt;
The controls for the live search function&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls &lt;br /&gt;
/*&lt;br /&gt;
* live = live search &lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NB- Controls for xmi live search should not be included in the global settings, this has been moved to the subform configuration as of v0.7&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strike&amp;gt;Also the controls for live search for XMI &amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls for xmi&lt;br /&gt;
/*&lt;br /&gt;
* live = live search - this should only be set to live if you are using the collapsing data entry&lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$xmi_mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modules===&lt;br /&gt;
Configure the modules to be used in this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// List the modules that need to be loaded in this ARK project&lt;br /&gt;
$loaded_modules = &lt;br /&gt;
    array(&lt;br /&gt;
	&amp;#039;abk&amp;#039;, // address book&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // contexts&lt;br /&gt;
        &amp;#039;pln&amp;#039;, // plans&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
        &amp;#039;spf&amp;#039;, // Special finds&lt;br /&gt;
        &amp;#039;sph&amp;#039;, // Site photos&lt;br /&gt;
        &lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the modules to load mapping data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Lists the modules to load maps for&lt;br /&gt;
$loaded_map_mods = &lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // context&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default item key for this ARK setup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default item key for this instance of Ark - format: mod_cd&lt;br /&gt;
$default_itemkey = &amp;#039;cxt_cd&amp;#039;; // context&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the DSN for this ARK (this should generally NOT need adjusting)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// DSN (this shouldn&amp;#039;t need adjusting)&lt;br /&gt;
$dsn = &amp;#039;mysql://&amp;#039;.$sql_user.&amp;#039;:&amp;#039;.$sql_pwd.&amp;#039;@&amp;#039;.$sql_server.&amp;#039;/&amp;#039;.$ark_db;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Security===&lt;br /&gt;
The security for ARK is handled by LiveUser.  The liveuser configuration is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Liveuser: &lt;br /&gt;
// These are the names of the liveuser objects. They should be unique per ARK &lt;br /&gt;
// (to prevent cross ark hacking). They need to be called in the code as&lt;br /&gt;
// $$liveuser and $$liveuser_admin&lt;br /&gt;
$liveuser = $ark_name . &amp;#039;usr&amp;#039;;&lt;br /&gt;
$liveuser_admin = $ark_name . &amp;#039;usr&amp;#039; . &amp;#039;_admin&amp;#039;;&lt;br /&gt;
// The path to the login script (relative to the document root)&lt;br /&gt;
$loginScript = &amp;#039;index.php&amp;#039;;&lt;br /&gt;
// Anonymous Logins&lt;br /&gt;
// If these variables are set then you are allowing anonymous logins&lt;br /&gt;
// This is a security risk! Its best to leave these statements commented out.&lt;br /&gt;
// Bear in mind that this does not need to be a real user.&lt;br /&gt;
$anonymous_login[&amp;#039;username&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
$anonymous_login[&amp;#039;password&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
// Method used in forms:&lt;br /&gt;
// get = form messages sent via get method - vissible in browser bar.&lt;br /&gt;
// post = form message sent via post method - invisible to the user.&lt;br /&gt;
$form_method = &amp;#039;get&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Filters===&lt;br /&gt;
&lt;br /&gt;
It is possible to  allow some users to make their personal saved filters public for all to use. This is organised on a security group basis. Fill the ftr_admin_grps array with the numerical id of the security groups (from the cor_lvu_groups table) that you wish to allow access.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Filter permissions &lt;br /&gt;
// Members of the following (sgrp) groups will have permission to make their own filters public &lt;br /&gt;
// and permission to make other users (and their own) filters got private &lt;br /&gt;
$ftr_admin_grps = &lt;br /&gt;
    array( &lt;br /&gt;
        1 &lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Skin===&lt;br /&gt;
Sets the skin name and skin path for this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Skin name&lt;br /&gt;
$skin = &amp;#039;arkologik&amp;#039;;&lt;br /&gt;
// Skin path&lt;br /&gt;
$skin_path = &amp;quot;$ark_dir/skins/$skin&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Thumbnails===&lt;br /&gt;
Sets thumbnail sizes for ARK (this will be used when uploading files)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Optional&lt;br /&gt;
$thumbnail_sizes =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;arkthumb_width&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;arkthumb_height&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;webthumb_width&amp;#039; =&amp;gt; 500,&lt;br /&gt;
        &amp;#039;webthumb_height&amp;#039; =&amp;gt; 500&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Forms===&lt;br /&gt;
Set default year and site code for data entry and viewing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Default year as a setting for form data entry&lt;br /&gt;
$default_year = &amp;#039;2008&amp;#039;;&lt;br /&gt;
//Default site code&lt;br /&gt;
$default_site_cd = &amp;#039;PCO06&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Viewers===&lt;br /&gt;
Configure the viewers to display a set number of rows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Number of rows to display on the data viewer&lt;br /&gt;
$conf_viewer_rows = 25;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the index pages for Micro View, Data View, and Search pages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default Micro viewer page (used by search result handlers)&lt;br /&gt;
$conf_micro_viewer = $ark_dir.&amp;quot;micro_view.php&amp;quot;;&lt;br /&gt;
// Default data viewer page&lt;br /&gt;
$conf_data_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
// Default search page - search funtions will send data thru to this page&lt;br /&gt;
$conf_search_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default for search results display:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default $output_mode for the data viewer&lt;br /&gt;
$default_output_mode = &amp;#039;tbl&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Mapping===&lt;br /&gt;
Set the basic configuration for mapping functions (map directory, temp directory, etc):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Path to temp directory (server)&lt;br /&gt;
$ark_maptemp_dir = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to temp directory (web)&lt;br /&gt;
$ark_web_maptemp_dir = &amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to WMS mapfile (server)&lt;br /&gt;
$ark_wms_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wms.map&amp;#039;;&lt;br /&gt;
// Path to WFS mapfile (server)&lt;br /&gt;
$ark_wfs_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wfs.map&amp;#039;;&lt;br /&gt;
// Map scales&lt;br /&gt;
$map_scales = &amp;#039;[1000,750,500,250,150,100,50,25,10]&amp;#039;;&lt;br /&gt;
// Tilecache_path - only set this if you have a tilecache setup on your server&lt;br /&gt;
//$tilecache_path = &amp;#039;/cgi-bin/tilecache.cgi?&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure the wms query layers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*$wms_qlayers = array (&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;cxt_schm&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pgn&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;sfi_points&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pt&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
);*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up the map projection and extents to suit the location of the ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Map projection (in form: &amp;quot;EPSG:4326&amp;quot;)&lt;br /&gt;
$map_projection = &amp;#039;EPSG:27700&amp;#039;;&lt;br /&gt;
// Map extents (in form: &amp;quot;1075,970,1115,1010&amp;quot;)&lt;br /&gt;
$map_extents = &amp;#039;533866, 180940,533963, 181000&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the layer from WMS to be used in map view&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Maplayers from the WMS layer used in the map view&lt;br /&gt;
$mapview_layers = array (&amp;#039;contexts&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Logging===&lt;br /&gt;
Cofigures logging levels to record logging into database and changes to data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Logging levels&lt;br /&gt;
$conf_log_add = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_edt = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_del = &amp;#039;on&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Search Engine===&lt;br /&gt;
Configures words to cut out of multi-string searches to streamline the search process and maximise results.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// words to cut out of multi string searches&lt;br /&gt;
$conf_non_search_words = array(&amp;#039;and&amp;#039;, &amp;#039;di&amp;#039;, &amp;#039;in&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Languages===&lt;br /&gt;
Configures the default language and other languages in use.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default lang&lt;br /&gt;
$default_lang = &amp;#039;en&amp;#039;;&lt;br /&gt;
// These are the languages in use (in order)&lt;br /&gt;
$conf_langs = array(&amp;#039;en&amp;#039;, &amp;#039;da&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fields===&lt;br /&gt;
Used to include the [[field_settings.php]] file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
include_once(&amp;#039;field_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Document Type===&lt;br /&gt;
Configures the document type to use for web output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$doctype = &amp;quot;html \n&lt;br /&gt;
     PUBLIC \&amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN\&amp;quot;\n&lt;br /&gt;
     \&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\&amp;quot;&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Navigation===&lt;br /&gt;
====Navigation Links====&lt;br /&gt;
Configure to state what links will appear in the end of the navigation bar.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_linklist =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;file&amp;#039; =&amp;gt; &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;vars&amp;#039; =&amp;gt; &amp;#039;logout=true&amp;#039;,&lt;br /&gt;
        &amp;#039;label&amp;#039; =&amp;gt; &amp;#039;logout&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Navigation Pages====&lt;br /&gt;
Unless listed in this array, all pages will appear in the main nav.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_hide_pages =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;record_view.php&amp;#039;,&lt;br /&gt;
        &amp;#039;contact.php&amp;#039;,&lt;br /&gt;
        &amp;#039;about.php&amp;#039;,&lt;br /&gt;
        &amp;#039;search.php&amp;#039;,&lt;br /&gt;
        &amp;#039;folder.php&amp;#039;,&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Left Panel Configuration===&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data Entry====&lt;br /&gt;
Configures the left panel in the data entry pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;view&amp;#039;&amp;#039;&amp;#039; - the view the link should point to (regist, detfrm, files or a custom view)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=abk_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regabk&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=materi&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;matsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=files&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;uplfile&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Micro View====&lt;br /&gt;
Configures the left panel in the micro view pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data View====&lt;br /&gt;
This configures the left panel for the data view pages and needs the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output ({$_SERVER[&amp;#039;PHP_SELF&amp;#039;]} is on same page, $ark_dir/export.php is on export page)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output_mode&amp;#039;&amp;#039;&amp;#039; - output format for internal links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output&amp;#039;&amp;#039;&amp;#039; - is output format for external links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=CSVExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expcsv&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=XMLExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expxml&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=tbl&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwtbl&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=chat&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwchat&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- User Home====&lt;br /&gt;
This configures the left-panel for the user home pages and needs the following fields:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$user_home_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;data_view.php?vtok=1&amp;amp;amp;nname=All_Contexts&amp;amp;amp;ftype=key&amp;amp;amp;key=1&amp;amp;amp;ktype=all&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=773</id>
		<title>Settings.php</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=773"/>
				<updated>2009-09-21T15:40:55Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Live Search */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the main settings file for each instance of ARK. The file is divide into sections as set out below&lt;br /&gt;
&lt;br /&gt;
===Server Setup===&lt;br /&gt;
The server setup being used.  Currently ARK is configured for Mapserver 4 Windows (ms4w), Mac, and Linux servers.  Set the server type and include the [[env_settings.php]] file using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$server=&amp;quot;ms4w&amp;quot;;&lt;br /&gt;
// Include settings related to your server environment (this also uses the server specified above)&lt;br /&gt;
include(&amp;#039;env_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Server Specific Information====&lt;br /&gt;
You will need to edit the following depending on your specific server information.  Edit the information under the type of server you are using.  &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;YOU MUST UPDATE THE SERVER SPECIFIC INFORMATION BEFORE YOUR ARK INSTALLATION WILL FUNCTION.  AS A FIRST STEP UPDATE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_dir&amp;#039;&amp;#039;&amp;#039; - your ark directory&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_db&amp;#039;&amp;#039;&amp;#039; - your ark database&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_server&amp;#039;&amp;#039;&amp;#039; - the MySQL server&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_user&amp;#039;&amp;#039;&amp;#039; - The MySQL user who will make db calls&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_pwd&amp;#039;&amp;#039;&amp;#039; - The mysql user password&lt;br /&gt;
&lt;br /&gt;
The rest of the basic settings for each server are included below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
switch($server){&lt;br /&gt;
	&lt;br /&gt;
	case ms4w:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;psw&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;C:/&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
	case mac:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;127.0.0.1&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pws&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	break;&lt;br /&gt;
	case linux:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pwd&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===General===&lt;br /&gt;
This contains general configuration for the ARK.&lt;br /&gt;
&lt;br /&gt;
====Minimiser====&lt;br /&gt;
Is the minimiser enabled?&lt;br /&gt;
To use the minimiser on specific data entry pages you need to go to the mod_settings files (ex. mod_cxt_settings.php) and make sure that &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, instead of single_col in the $conf_dat_materi and $conf_dat_detfrm settings. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Set to TRUE if you want to use the minimising right hand navigation bar&lt;br /&gt;
$minimiser = TRUE;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====ARK Name====&lt;br /&gt;
The name of this instance of ARK&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The Ark name&lt;br /&gt;
$ark_name = &amp;#039;Tutorial&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Live Search===&lt;br /&gt;
The controls for the live search function&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls &lt;br /&gt;
/*&lt;br /&gt;
* live = live search &lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NB- Controls for xmi live search should not be included in the global settings, this has been moved to the subform configuration as of v0.7&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Also the controls for live search for XMI&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls for xmi&lt;br /&gt;
/*&lt;br /&gt;
* live = live search - this should only be set to live if you are using the collapsing data entry&lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$xmi_mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modules===&lt;br /&gt;
Configure the modules to be used in this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// List the modules that need to be loaded in this ARK project&lt;br /&gt;
$loaded_modules = &lt;br /&gt;
    array(&lt;br /&gt;
	&amp;#039;abk&amp;#039;, // address book&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // contexts&lt;br /&gt;
        &amp;#039;pln&amp;#039;, // plans&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
        &amp;#039;spf&amp;#039;, // Special finds&lt;br /&gt;
        &amp;#039;sph&amp;#039;, // Site photos&lt;br /&gt;
        &lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the modules to load mapping data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Lists the modules to load maps for&lt;br /&gt;
$loaded_map_mods = &lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // context&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default item key for this ARK setup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default item key for this instance of Ark - format: mod_cd&lt;br /&gt;
$default_itemkey = &amp;#039;cxt_cd&amp;#039;; // context&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the DSN for this ARK (this should generally NOT need adjusting)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// DSN (this shouldn&amp;#039;t need adjusting)&lt;br /&gt;
$dsn = &amp;#039;mysql://&amp;#039;.$sql_user.&amp;#039;:&amp;#039;.$sql_pwd.&amp;#039;@&amp;#039;.$sql_server.&amp;#039;/&amp;#039;.$ark_db;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Security===&lt;br /&gt;
The security for ARK is handled by LiveUser.  The liveuser configuration is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Liveuser: &lt;br /&gt;
// These are the names of the liveuser objects. They should be unique per ARK &lt;br /&gt;
// (to prevent cross ark hacking). They need to be called in the code as&lt;br /&gt;
// $$liveuser and $$liveuser_admin&lt;br /&gt;
$liveuser = $ark_name . &amp;#039;usr&amp;#039;;&lt;br /&gt;
$liveuser_admin = $ark_name . &amp;#039;usr&amp;#039; . &amp;#039;_admin&amp;#039;;&lt;br /&gt;
// The path to the login script (relative to the document root)&lt;br /&gt;
$loginScript = &amp;#039;index.php&amp;#039;;&lt;br /&gt;
// Anonymous Logins&lt;br /&gt;
// If these variables are set then you are allowing anonymous logins&lt;br /&gt;
// This is a security risk! Its best to leave these statements commented out.&lt;br /&gt;
// Bear in mind that this does not need to be a real user.&lt;br /&gt;
$anonymous_login[&amp;#039;username&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
$anonymous_login[&amp;#039;password&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
// Method used in forms:&lt;br /&gt;
// get = form messages sent via get method - vissible in browser bar.&lt;br /&gt;
// post = form message sent via post method - invisible to the user.&lt;br /&gt;
$form_method = &amp;#039;get&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Filters===&lt;br /&gt;
&lt;br /&gt;
It is possible to  allow some users to make their personal saved filters public for all to use. This is organised on a security group basis. Fill the ftr_admin_grps array with the numerical id of the security groups (from the cor_lvu_groups table) that you wish to allow access.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Filter permissions &lt;br /&gt;
// Members of the following (sgrp) groups will have permission to make their own filters public &lt;br /&gt;
// and permission to make other users (and their own) filters got private &lt;br /&gt;
$ftr_admin_grps = &lt;br /&gt;
    array( &lt;br /&gt;
        1 &lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Skin===&lt;br /&gt;
Sets the skin name and skin path for this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Skin name&lt;br /&gt;
$skin = &amp;#039;arkologik&amp;#039;;&lt;br /&gt;
// Skin path&lt;br /&gt;
$skin_path = &amp;quot;$ark_dir/skins/$skin&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Thumbnails===&lt;br /&gt;
Sets thumbnail sizes for ARK (this will be used when uploading files)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Optional&lt;br /&gt;
$thumbnail_sizes =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;arkthumb_width&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;arkthumb_height&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;webthumb_width&amp;#039; =&amp;gt; 500,&lt;br /&gt;
        &amp;#039;webthumb_height&amp;#039; =&amp;gt; 500&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Forms===&lt;br /&gt;
Set default year and site code for data entry and viewing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Default year as a setting for form data entry&lt;br /&gt;
$default_year = &amp;#039;2008&amp;#039;;&lt;br /&gt;
//Default site code&lt;br /&gt;
$default_site_cd = &amp;#039;PCO06&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Viewers===&lt;br /&gt;
Configure the viewers to display a set number of rows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Number of rows to display on the data viewer&lt;br /&gt;
$conf_viewer_rows = 25;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the index pages for Micro View, Data View, and Search pages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default Micro viewer page (used by search result handlers)&lt;br /&gt;
$conf_micro_viewer = $ark_dir.&amp;quot;micro_view.php&amp;quot;;&lt;br /&gt;
// Default data viewer page&lt;br /&gt;
$conf_data_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
// Default search page - search funtions will send data thru to this page&lt;br /&gt;
$conf_search_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default for search results display:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default $output_mode for the data viewer&lt;br /&gt;
$default_output_mode = &amp;#039;tbl&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Mapping===&lt;br /&gt;
Set the basic configuration for mapping functions (map directory, temp directory, etc):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Path to temp directory (server)&lt;br /&gt;
$ark_maptemp_dir = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to temp directory (web)&lt;br /&gt;
$ark_web_maptemp_dir = &amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to WMS mapfile (server)&lt;br /&gt;
$ark_wms_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wms.map&amp;#039;;&lt;br /&gt;
// Path to WFS mapfile (server)&lt;br /&gt;
$ark_wfs_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wfs.map&amp;#039;;&lt;br /&gt;
// Map scales&lt;br /&gt;
$map_scales = &amp;#039;[1000,750,500,250,150,100,50,25,10]&amp;#039;;&lt;br /&gt;
// Tilecache_path - only set this if you have a tilecache setup on your server&lt;br /&gt;
//$tilecache_path = &amp;#039;/cgi-bin/tilecache.cgi?&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure the wms query layers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*$wms_qlayers = array (&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;cxt_schm&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pgn&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;sfi_points&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pt&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
);*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up the map projection and extents to suit the location of the ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Map projection (in form: &amp;quot;EPSG:4326&amp;quot;)&lt;br /&gt;
$map_projection = &amp;#039;EPSG:27700&amp;#039;;&lt;br /&gt;
// Map extents (in form: &amp;quot;1075,970,1115,1010&amp;quot;)&lt;br /&gt;
$map_extents = &amp;#039;533866, 180940,533963, 181000&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the layer from WMS to be used in map view&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Maplayers from the WMS layer used in the map view&lt;br /&gt;
$mapview_layers = array (&amp;#039;contexts&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Logging===&lt;br /&gt;
Cofigures logging levels to record logging into database and changes to data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Logging levels&lt;br /&gt;
$conf_log_add = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_edt = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_del = &amp;#039;on&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Search Engine===&lt;br /&gt;
Configures words to cut out of multi-string searches to streamline the search process and maximise results.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// words to cut out of multi string searches&lt;br /&gt;
$conf_non_search_words = array(&amp;#039;and&amp;#039;, &amp;#039;di&amp;#039;, &amp;#039;in&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Languages===&lt;br /&gt;
Configures the default language and other languages in use.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default lang&lt;br /&gt;
$default_lang = &amp;#039;en&amp;#039;;&lt;br /&gt;
// These are the languages in use (in order)&lt;br /&gt;
$conf_langs = array(&amp;#039;en&amp;#039;, &amp;#039;da&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fields===&lt;br /&gt;
Used to include the [[field_settings.php]] file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
include_once(&amp;#039;field_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Document Type===&lt;br /&gt;
Configures the document type to use for web output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$doctype = &amp;quot;html \n&lt;br /&gt;
     PUBLIC \&amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN\&amp;quot;\n&lt;br /&gt;
     \&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\&amp;quot;&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Navigation===&lt;br /&gt;
====Navigation Links====&lt;br /&gt;
Configure to state what links will appear in the end of the navigation bar.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_linklist =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;file&amp;#039; =&amp;gt; &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;vars&amp;#039; =&amp;gt; &amp;#039;logout=true&amp;#039;,&lt;br /&gt;
        &amp;#039;label&amp;#039; =&amp;gt; &amp;#039;logout&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Navigation Pages====&lt;br /&gt;
Unless listed in this array, all pages will appear in the main nav.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_hide_pages =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;record_view.php&amp;#039;,&lt;br /&gt;
        &amp;#039;contact.php&amp;#039;,&lt;br /&gt;
        &amp;#039;about.php&amp;#039;,&lt;br /&gt;
        &amp;#039;search.php&amp;#039;,&lt;br /&gt;
        &amp;#039;folder.php&amp;#039;,&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Left Panel Configuration===&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data Entry====&lt;br /&gt;
Configures the left panel in the data entry pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;view&amp;#039;&amp;#039;&amp;#039; - the view the link should point to (regist, detfrm, files or a custom view)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=abk_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regabk&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=materi&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;matsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=files&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;uplfile&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Micro View====&lt;br /&gt;
Configures the left panel in the micro view pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data View====&lt;br /&gt;
This configures the left panel for the data view pages and needs the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output ({$_SERVER[&amp;#039;PHP_SELF&amp;#039;]} is on same page, $ark_dir/export.php is on export page)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output_mode&amp;#039;&amp;#039;&amp;#039; - output format for internal links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output&amp;#039;&amp;#039;&amp;#039; - is output format for external links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=CSVExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expcsv&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=XMLExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expxml&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=tbl&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwtbl&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=chat&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwchat&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- User Home====&lt;br /&gt;
This configures the left-panel for the user home pages and needs the following fields:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$user_home_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;data_view.php?vtok=1&amp;amp;amp;nname=All_Contexts&amp;amp;amp;ftype=key&amp;amp;amp;key=1&amp;amp;amp;ktype=all&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=2149</id>
		<title>Sf xmi</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=2149"/>
				<updated>2009-09-21T15:03:54Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Additional Fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
The sf_xmi is required to handle XMI linked data from other modules.&lt;br /&gt;
&lt;br /&gt;
===Additional Fields===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;xmi_mod&amp;#039;&amp;#039;&amp;#039; - the xmi viewer needs this to know which module to display&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;xmi_mode&amp;#039;&amp;#039;&amp;#039; - not to be confused with xmi_mod, this variable controls how items will be added to the xmi list.  The options are: dd, ddfancy, text, live, and search.  These options will be discussed below.&lt;br /&gt;
**&amp;#039;&amp;#039;&amp;#039;dd&amp;#039;&amp;#039;&amp;#039; - A dropdown menu of ALL items in the XMI mod&lt;br /&gt;
**&amp;#039;&amp;#039;&amp;#039;ddfancy&amp;#039;&amp;#039;&amp;#039; - A dropdown menu of ALL items in the XMI mod using ddComplex.  ddfancy requires 2 additional options to be set in the sf_conf: op_dd_dataclass and op_dd_classtype&lt;br /&gt;
**&amp;#039;&amp;#039;&amp;#039;text&amp;#039;&amp;#039;&amp;#039; - A normal text input field for the itemkey&lt;br /&gt;
**&amp;#039;&amp;#039;&amp;#039;live&amp;#039;&amp;#039;&amp;#039; - A  live input field for the itemkey&lt;br /&gt;
**&amp;#039;&amp;#039;&amp;#039;search&amp;#039;&amp;#039;&amp;#039; - A search and review dialogue&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sorting&amp;#039;&amp;#039;&amp;#039; - this is a switch to allow sorting of XMIed items by some field connected to the item. The default is to sort by the itemval.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sort_field&amp;#039;&amp;#039;&amp;#039; - this option requires &amp;#039;op_xmi_sorting&amp;#039; to be set TRUE. This should be populated with the full field array that is desired.&lt;br /&gt;
&lt;br /&gt;
===Example Configuration===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_sphxmi =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;, //not yet setup in sf&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;site_photo&amp;#039;, //appears in the titlebar of the subform (mk nname)&lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;cxt_sph_display&amp;#039;, //the form id tag (must be unique)&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_xmi.php&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;xmi_mod&amp;#039; =&amp;gt; &amp;#039;sph&amp;#039;,&lt;br /&gt;
        &amp;#039;xmi_mode&amp;#039; =&amp;gt; &amp;#039;live&amp;#039;,&lt;br /&gt;
        &amp;#039;op_lightbox&amp;#039; =&amp;gt; TRUE&lt;br /&gt;
        &amp;#039;fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
            $conf_field_xmifield&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=771</id>
		<title>Sf xmi</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=771"/>
				<updated>2009-09-21T15:02:10Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Additional Fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
The sf_xmi is required to handle XMI linked data from other modules.&lt;br /&gt;
&lt;br /&gt;
===Additional Fields===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;xmi_mod&amp;#039;&amp;#039;&amp;#039; - the xmi viewer needs this to know which module to display&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;xmi_mode&amp;#039;&amp;#039;&amp;#039; - not to be confused with xmi_mod, this variable controls how items will be added to the xmi list.  The options are: dd, ddfancy, text, live, and search.  These options will be discussed below.&lt;br /&gt;
**&amp;#039;&amp;#039;&amp;#039;dd&amp;#039;&amp;#039;&amp;#039; - A dropdown menu of ALL items in the XMI mod&lt;br /&gt;
**&amp;#039;&amp;#039;&amp;#039;ddfancy&amp;#039;&amp;#039;&amp;#039; - BLAH&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sorting&amp;#039;&amp;#039;&amp;#039; - this is a switch to allow sorting of XMIed items by some field connected to the item. The default is to sort by the itemval.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sort_field&amp;#039;&amp;#039;&amp;#039; - this option requires &amp;#039;op_xmi_sorting&amp;#039; to be set TRUE. This should be populated with the full field array that is desired.&lt;br /&gt;
&lt;br /&gt;
===Example Configuration===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_sphxmi =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;, //not yet setup in sf&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;site_photo&amp;#039;, //appears in the titlebar of the subform (mk nname)&lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;cxt_sph_display&amp;#039;, //the form id tag (must be unique)&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_xmi.php&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;xmi_mod&amp;#039; =&amp;gt; &amp;#039;sph&amp;#039;,&lt;br /&gt;
        &amp;#039;xmi_mode&amp;#039; =&amp;gt; &amp;#039;live&amp;#039;,&lt;br /&gt;
        &amp;#039;op_lightbox&amp;#039; =&amp;gt; TRUE&lt;br /&gt;
        &amp;#039;fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
            $conf_field_xmifield&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=770</id>
		<title>Sf xmi</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=770"/>
				<updated>2009-09-21T14:59:37Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Example Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
The sf_xmi is required to handle XMI linked data from other modules.&lt;br /&gt;
&lt;br /&gt;
===Additional Fields===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;xmi_mod&amp;#039;&amp;#039;&amp;#039; - the xmi viewer needs this to know which module to display&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;xmi_mode&amp;#039;&amp;#039;&amp;#039; - not to be confused with xmi_mod, this variable controls how items will be added to the xmi list.  The options are: dd, ddfancy, text, live, and search.  These options will be discussed below.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sorting&amp;#039;&amp;#039;&amp;#039; - this is a switch to allow sorting of XMIed items by some field connected to the item. The default is to sort by the itemval.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sort_field&amp;#039;&amp;#039;&amp;#039; - this option requires &amp;#039;op_xmi_sorting&amp;#039; to be set TRUE. This should be populated with the full field array that is desired.&lt;br /&gt;
&lt;br /&gt;
===Example Configuration===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_sphxmi =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;, //not yet setup in sf&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;site_photo&amp;#039;, //appears in the titlebar of the subform (mk nname)&lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;cxt_sph_display&amp;#039;, //the form id tag (must be unique)&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_xmi.php&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;xmi_mod&amp;#039; =&amp;gt; &amp;#039;sph&amp;#039;,&lt;br /&gt;
        &amp;#039;xmi_mode&amp;#039; =&amp;gt; &amp;#039;live&amp;#039;,&lt;br /&gt;
        &amp;#039;op_lightbox&amp;#039; =&amp;gt; TRUE&lt;br /&gt;
        &amp;#039;fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
            $conf_field_xmifield&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=769</id>
		<title>Sf xmi</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=769"/>
				<updated>2009-09-21T14:59:18Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Additional Fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
The sf_xmi is required to handle XMI linked data from other modules.&lt;br /&gt;
&lt;br /&gt;
===Additional Fields===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;xmi_mod&amp;#039;&amp;#039;&amp;#039; - the xmi viewer needs this to know which module to display&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;xmi_mode&amp;#039;&amp;#039;&amp;#039; - not to be confused with xmi_mod, this variable controls how items will be added to the xmi list.  The options are: dd, ddfancy, text, live, and search.  These options will be discussed below.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sorting&amp;#039;&amp;#039;&amp;#039; - this is a switch to allow sorting of XMIed items by some field connected to the item. The default is to sort by the itemval.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sort_field&amp;#039;&amp;#039;&amp;#039; - this option requires &amp;#039;op_xmi_sorting&amp;#039; to be set TRUE. This should be populated with the full field array that is desired.&lt;br /&gt;
&lt;br /&gt;
===Example Configuration===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_sphxmi =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;, //not yet setup in sf&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;site_photo&amp;#039;, //appears in the titlebar of the subform (mk nname)&lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;cxt_sph_display&amp;#039;, //the form id tag (must be unique)&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_xmi.php&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;xmi_mod&amp;#039; =&amp;gt; &amp;#039;sph&amp;#039;,&lt;br /&gt;
        &amp;#039;op_lightbox&amp;#039; =&amp;gt; TRUE&lt;br /&gt;
        &amp;#039;fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
            $conf_field_xmifield&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=732</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=732"/>
				<updated>2009-04-27T10:10:45Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* PEAR LiveUser */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Preconfigured ARK setups are available from the ARK team. If you are unfamiliar with the setup and adminisration of webservers along with the security risks to your system and data this entails, please consider contacting us to aquire a fully running ARK. For those of you who have already got a server and want to go though the installation proceedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional securuty to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  ARK makes use of PEAR LiveUser, LiveUser_Admin, MDB2, and MDB2_driver_mysql, DB, and Event_Dispatcher.  All of these packages will need to be installed in order for ARK user authentication to function.&lt;br /&gt;
&lt;br /&gt;
For details on how to install and configure live user, and the associated packages required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.   &amp;#039;&amp;#039;&amp;#039;PLEASE NOTE that ALL the PEAR SQL tables are already included with the basic ARK database, and do not need to be added to the database again during PEAR setup.  ALSO the required PEAR depencies are included with the v0.6 files in the &amp;#039;examples&amp;#039; directory.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE andDELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[settings.php#Server Specific Information|settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
In browsing to the ARK directory you should now be able to see the login pages for the database.  The tutorial database is created with the following two user accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username: janedoe&lt;br /&gt;
password: janedoe&lt;br /&gt;
&lt;br /&gt;
username: johnsmith&lt;br /&gt;
password: johnsmith&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=716</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=716"/>
				<updated>2009-04-27T10:10:38Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* PEAR LiveUser */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Preconfigured ARK setups are available from the ARK team. If you are unfamiliar with the setup and adminisration of webservers along with the security risks to your system and data this entails, please consider contacting us to aquire a fully running ARK. For those of you who have already got a server and want to go though the installation proceedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional securuty to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  ARK makes use of PEAR LiveUser, LiveUser_Admin, MDB2, and MDB2_driver_mysql, DB, and Event_Dispatcher.  All of these packages will need to be installed in order for ARK user authentication to function.&lt;br /&gt;
&lt;br /&gt;
For details on how to install and configure live user, and the associated packages required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.   &amp;#039;&amp;#039;&amp;#039;PLEASE NOTE that ALL the PEAR SQL tables are already included with the basic ARK database, and do not need to be added to the database again during PEAR setup.  ALSO the required PEAR depencies are included with the v0.6 files in the &amp;#039;examples&amp;#039; directory&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE andDELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[settings.php#Server Specific Information|settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
In browsing to the ARK directory you should now be able to see the login pages for the database.  The tutorial database is created with the following two user accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username: janedoe&lt;br /&gt;
password: janedoe&lt;br /&gt;
&lt;br /&gt;
username: johnsmith&lt;br /&gt;
password: johnsmith&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=1031</id>
		<title>Conditional Subforms</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=1031"/>
				<updated>2009-04-18T14:44:21Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We are currently implementing conditional subforms, to be implemented with the next release of ARK.  This will mean all previous modtype specific subforms will now be handled using the op_condition settings.  It will also allow more specific conditions to be placed on subforms to control if/when they are to be displayed (by attribute, by user permissions, etc).&lt;br /&gt;
&lt;br /&gt;
This will involve the addition of a new op_condition to any subforms that will be using the new conditional options for subforms.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        &amp;#039;op_condition&amp;#039; =&amp;gt; array(&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkFragPresence&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;attr, classtype, id/nname&amp;#039;//the id/nname is option in args&lt;br /&gt;
		), //This array restricts the view depending on the presence of an attribute&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkModTypeCond&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;1&amp;#039;&lt;br /&gt;
		), //This array restricts the view depending on the modtype number (taken from mod_lut_modtype)&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkUserPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				84&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of users based on user id (in this case 84, as taken from cor_tbl_users)&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkGroupPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				1&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of groups based on group id (in this case 1, taken from cor_lvu_groups)&lt;br /&gt;
	),&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Changes to be made to all existing mod_settings:&lt;br /&gt;
&lt;br /&gt;
-detfrm for Data Entry- replace &amp;#039;col_type =&amp;gt; single_col&amp;#039; with &amp;#039;col_type =&amp;gt; primary_col&amp;#039;&lt;br /&gt;
-change all modtype specific subforms to use new conditional subform options&lt;br /&gt;
&lt;br /&gt;
In addition, the validations_fuctions.php and global_functions.php will need to be updated (although we would suggest upgrading all your php when moving to a new instance of ARK anyway rather than attempting a piecemeal patching of this new functionality).&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Sf_frame&amp;diff=2170</id>
		<title>Sf frame</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Sf_frame&amp;diff=2170"/>
				<updated>2009-04-18T14:43:53Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
The sf_frame groups together several subforms for inclusion in a single frame in the data view and micro view pages.  This is primarily an issue of display and user interface rather than a subform that handles db requests.&lt;br /&gt;
&lt;br /&gt;
===Additional Fields===&lt;br /&gt;
Instead of a &amp;#039;field&amp;#039; array, the frame subform requires an &amp;#039;subform&amp;#039; array.&lt;br /&gt;
&lt;br /&gt;
===Example Configuration===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_consframe =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;consattr&amp;#039;, &lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;mus_consframe&amp;#039;, // Must be unique&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_frame.php&amp;#039;,&lt;br /&gt;
        &amp;#039;op_label&amp;#039; =&amp;gt; &amp;#039;space&amp;#039;,&lt;br /&gt;
        &amp;#039;op_input&amp;#039; =&amp;gt; &amp;#039;save&amp;#039;,&lt;br /&gt;
	&amp;#039;op_condition&amp;#039; =&amp;gt; array(&lt;br /&gt;
		 array(&lt;br /&gt;
		 	&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkGroupPerm&amp;#039;,&lt;br /&gt;
		 	&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
		 		2&lt;br /&gt;
		 	)&lt;br /&gt;
		 ),&lt;br /&gt;
	),&lt;br /&gt;
        &amp;#039;subforms&amp;#039; =&amp;gt; array(&lt;br /&gt;
            $conf_mcd_consattr,&lt;br /&gt;
            $conf_mcd_constxt,&lt;br /&gt;
         )&lt;br /&gt;
    );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Subform_Reference&amp;diff=718</id>
		<title>Subform Reference</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Subform_Reference&amp;diff=718"/>
				<updated>2009-04-18T14:34:56Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is a list of all current ARK subforms.  Each subform page includes detailed configuration information and an example subform setup.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NB - AS OF ARK 0.7 THE CONFIGURATION OF SUBFORMS USING MODTYPES WILL CHANGE TO RELY SOLELY ON THE [[Conditional Subforms]] OPTION.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Text Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_txt]]&amp;#039;&amp;#039;&amp;#039; - subform to enter text data&lt;br /&gt;
&lt;br /&gt;
===Number Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_number]]&amp;#039;&amp;#039;&amp;#039; - subform to add number data&lt;br /&gt;
&lt;br /&gt;
===Attribute Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_finds]]&amp;#039;&amp;#039;&amp;#039; - subform to attach attributes of a given type (findtypes) and to set a boolean for each one&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_attr_bytype]]&amp;#039;&amp;#039;&amp;#039; - subform to attach attributes of a given type&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_attr_boolean]]&amp;#039;&amp;#039;&amp;#039; - subform to set boolean attribute&lt;br /&gt;
&lt;br /&gt;
===Spatial Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_spat]]&amp;#039;&amp;#039;&amp;#039; - a subform to display spatial data about an item &amp;#039;&amp;#039;THIS SUBFORM IS DEPRECATED AND SHOULD NOT BE USED FOR ANY NEW ARK SYSTEMS&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_wfs_spat]]&amp;#039;&amp;#039;&amp;#039; - the new subform to display spatial data about an item&lt;br /&gt;
&lt;br /&gt;
===Span Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_span_rel]]&amp;#039;&amp;#039;&amp;#039; - subform to enter span relationships not in matrix form&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_spanmatrix]]&amp;#039;&amp;#039;&amp;#039; - subform to enter span relationships in matrix form&lt;br /&gt;
&lt;br /&gt;
===File Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_file]]&amp;#039;&amp;#039;&amp;#039; - subform to handle files&lt;br /&gt;
&lt;br /&gt;
===XMI Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_xmi]]&amp;#039;&amp;#039;&amp;#039; - subform to enter XMI links between records&lt;br /&gt;
&lt;br /&gt;
===Complex Subforms===&lt;br /&gt;
Complex subforms combine different data classes.&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_modtype]]&amp;#039;&amp;#039;&amp;#039; - subform to handle modules with different item types&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_interp]]&amp;#039;&amp;#039;&amp;#039; - subform to handle interpretive text fragments with actor/date pairings&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_assemblage]]&amp;#039;&amp;#039;&amp;#039; - a subform to handle bulk assemblages&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_event]]&amp;#039;&amp;#039;&amp;#039; - subform to handle actor/date pairs&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_frame]]&amp;#039;&amp;#039;&amp;#039; - subform to display many subforms within a single subform&lt;br /&gt;
&lt;br /&gt;
[[category:administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=714</id>
		<title>Conditional Subforms</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=714"/>
				<updated>2009-04-18T13:06:33Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We are currently implementing conditional subforms, to be implemented with the next release of ARK.  This will mean all previous modtype specific subforms will now be handled using the op_condition settings.  It will also allow more specific conditions to be placed on subforms to control if/when they are to be displayed (by attribute, by user permissions, etc).&lt;br /&gt;
&lt;br /&gt;
This will involve the addition of a new op_condition to any subforms that will be using the new conditional options for subforms.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        &amp;#039;op_condition&amp;#039; =&amp;gt; array(&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkFragPresence&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;attr, classtype, id/nname&amp;#039;//the id/nname is option in args&lt;br /&gt;
		), //This array restricts the view depending on the presence of an attribute&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkModTypeCond&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;1&amp;#039;&lt;br /&gt;
		), //This array restricts the view depending on the modtype number (taken from mod_lut_modtype)&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkUserPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				84&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of users based on user id (in this case 84, as taken from cor_tbl_users)&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkGroupPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				1&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of groups based on group id (in this case 1, taken from cor_lvu_groups)&lt;br /&gt;
	),&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Changes to be made to all existing mod_settings:&lt;br /&gt;
&lt;br /&gt;
-detfrm for Data Entry- replace &amp;#039;col_type =&amp;gt; single_col&amp;#039; with &amp;#039;col_type =&amp;gt; primary_col&amp;#039;&lt;br /&gt;
-change all modtype specific subforms to use new conditional subform options&lt;br /&gt;
&lt;br /&gt;
In addition, the validations_fuctions.php and global_functions.php will need to be updated (although we would suggest upgrading all your php when moving to a new instance of ARK anyway rather than attempting a piecemeal patching of this new functionality).&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=712</id>
		<title>Conditional Subforms</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=712"/>
				<updated>2009-04-18T12:50:07Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We are currently implementing conditional subforms, to be implemented with the next release of ARK.  This will mean all previous modtype specific subforms will now be handled using the op_condition settings.  It will also allow more specific conditions to be placed on subforms to control if/when they are to be displayed (by attribute, by user permissions, etc).&lt;br /&gt;
&lt;br /&gt;
This will involve the addition of a new op_condition to any subforms that will be using the new conditional options for subforms.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        &amp;#039;op_condition&amp;#039; =&amp;gt; array(&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkFragPresence&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;attr, classtype, id/nname&amp;#039;&lt;br /&gt;
		), //This array restricts the view depending on the presence of an attribute&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkModTypeCond&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;1&amp;#039;&lt;br /&gt;
		), //This array restricts the view depending on the modtype number (taken from mod_lut_modtype)&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkUserPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				84&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of users based on user id (in this case 84, as taken from cor_tbl_users)&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkGroupPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				1&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of groups based on group id (in this case 1, taken from cor_lvu_groups)&lt;br /&gt;
	),&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Changes to be made to all existing mod_settings:&lt;br /&gt;
&lt;br /&gt;
-detfrm for Data Entry- replace &amp;#039;col_type =&amp;gt; single_col&amp;#039; with &amp;#039;col_type =&amp;gt; primary_col&amp;#039;&lt;br /&gt;
-change all modtype specific subforms to use new conditional subform options&lt;br /&gt;
&lt;br /&gt;
In addition, the validations_fuctions.php and global_functions.php will need to be updated (although we would suggest upgrading all your php when moving to a new instance of ARK anyway rather than attempting a piecemeal patching of this new functionality).&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=711</id>
		<title>Conditional Subforms</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=711"/>
				<updated>2009-04-18T12:44:02Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We are currently implementing conditional subforms, to be implemented with the next release of ARK.  This will mean all previous modtype specific subforms will now be handled using the op_condition settings.  It will also allow more specific conditions to be placed on subforms to control if/when they are to be displayed (by attribute, by user permissions, etc).&lt;br /&gt;
&lt;br /&gt;
This will involve the addition of a new op_condition to any subforms that will be using the new conditional options for subforms.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        &amp;#039;op_condition&amp;#039; =&amp;gt; array(&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkFragPresence&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;attr, classtype, id/nname&amp;#039;&lt;br /&gt;
		), //This array restricts the view depending on the presence of an attribute&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkModTypeCond&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;1&amp;#039;&lt;br /&gt;
		), //This array restricts the view depending on the modtype number&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkUserPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				84&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of users based on user id&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkGroupPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				1&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of groups based on group id&lt;br /&gt;
	),&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Changes to be made to all existing mod_settings:&lt;br /&gt;
&lt;br /&gt;
-detfrm for Data Entry- replace &amp;#039;col_type =&amp;gt; single_col&amp;#039; with &amp;#039;col_type =&amp;gt; primary_col&amp;#039;&lt;br /&gt;
-change all modtype specific subforms to use new conditional subform options&lt;br /&gt;
&lt;br /&gt;
In addition, the validations_fuctions.php and global_functions.php will need to be updated (although we would suggest upgrading all your php when moving to a new instance of ARK anyway rather than attempting a piecemeal patching of this new functionality).&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=710</id>
		<title>Conditional Subforms</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Conditional_Subforms&amp;diff=710"/>
				<updated>2009-04-18T12:43:42Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We are currently implementing conditional subforms, to be implemented with the next release of ARK.  This will mean all previous modtype specific subforms will now be handled using the op_condition settings.  It will also allow more specific conditions to be placed on subforms to control if/when they are to be displayed (by attribute, by user permissions, etc).&lt;br /&gt;
&lt;br /&gt;
This will involve the addition of a new op_condition to any subforms that will be using the &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        &amp;#039;op_condition&amp;#039; =&amp;gt; array(&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkFragPresence&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;attr, classtype, id/nname&amp;#039;&lt;br /&gt;
		), //This array restricts the view depending on the presence of an attribute&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkModTypeCond&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; &amp;#039;1&amp;#039;&lt;br /&gt;
		), //This array restricts the view depending on the modtype number&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkUserPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				84&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of users based on user id&lt;br /&gt;
		array(&lt;br /&gt;
			&amp;#039;func&amp;#039;=&amp;gt; &amp;#039;chkGroupPerm&amp;#039;,&lt;br /&gt;
			&amp;#039;args&amp;#039;=&amp;gt; array(&lt;br /&gt;
				1&lt;br /&gt;
			)&lt;br /&gt;
		), //This array restricts the view to an array of groups based on group id&lt;br /&gt;
	),&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Changes to be made to all existing mod_settings:&lt;br /&gt;
&lt;br /&gt;
-detfrm for Data Entry- replace &amp;#039;col_type =&amp;gt; single_col&amp;#039; with &amp;#039;col_type =&amp;gt; primary_col&amp;#039;&lt;br /&gt;
-change all modtype specific subforms to use new conditional subform options&lt;br /&gt;
&lt;br /&gt;
In addition, the validations_fuctions.php and global_functions.php will need to be updated (although we would suggest upgrading all your php when moving to a new instance of ARK anyway rather than attempting a piecemeal patching of this new functionality).&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Subform_Reference&amp;diff=713</id>
		<title>Subform Reference</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Subform_Reference&amp;diff=713"/>
				<updated>2009-04-18T12:14:54Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is a list of all current ARK subforms.  Each subform page includes detailed configuration information and an example subform setup.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NB - AS OF ARK 0.7 THE CONFIGURATION OF SUBFORMS USING MODTYPES WILL CHANGE TO RELY SOLELY ON THE [[Conditional Subforms]] OPTION.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Text Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_txt]]&amp;#039;&amp;#039;&amp;#039; - subform to enter text data&lt;br /&gt;
&lt;br /&gt;
===Number Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_number]]&amp;#039;&amp;#039;&amp;#039; - subform to add number data&lt;br /&gt;
&lt;br /&gt;
===Attribute Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_finds]]&amp;#039;&amp;#039;&amp;#039; - subform to attach attributes of a given type (findtypes) and to set a boolean for each one&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_attr_bytype]]&amp;#039;&amp;#039;&amp;#039; - subform to attach attributes of a given type&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_attr_boolean]]&amp;#039;&amp;#039;&amp;#039; - subform to set boolean attribute&lt;br /&gt;
&lt;br /&gt;
===Spatial Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_spat]]&amp;#039;&amp;#039;&amp;#039; - a subform to display spatial data about an item &amp;#039;&amp;#039;THIS SUBFORM IS DEPRECATED AND SHOULD NOT BE USED FOR ANY NEW ARK SYSTEMS&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_wfs_spat]]&amp;#039;&amp;#039;&amp;#039; - the new subform to display spatial data about an item&lt;br /&gt;
&lt;br /&gt;
===Span Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_span_rel]]&amp;#039;&amp;#039;&amp;#039; - subform to enter span relationships not in matrix form&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_spanmatrix]]&amp;#039;&amp;#039;&amp;#039; - subform to enter span relationships in matrix form&lt;br /&gt;
&lt;br /&gt;
===File Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_file]]&amp;#039;&amp;#039;&amp;#039; - subform to handle files&lt;br /&gt;
&lt;br /&gt;
===XMI Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_xmi]]&amp;#039;&amp;#039;&amp;#039; - subform to enter XMI links between records&lt;br /&gt;
&lt;br /&gt;
===Complex Subforms===&lt;br /&gt;
Complex subforms combine different data classes.&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_modtype]]&amp;#039;&amp;#039;&amp;#039; - subform to handle modules with different item types&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_interp]]&amp;#039;&amp;#039;&amp;#039; - subform to handle interpretive text fragments with actor/date pairings&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_assemblage]]&amp;#039;&amp;#039;&amp;#039; - a subform to handle bulk assemblages&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_event]]&amp;#039;&amp;#039;&amp;#039; - subform to handle actor/date pairs&lt;br /&gt;
&lt;br /&gt;
[[category:administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Subform_Reference&amp;diff=709</id>
		<title>Subform Reference</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Subform_Reference&amp;diff=709"/>
				<updated>2009-04-18T12:14:35Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is a list of all current ARK subforms.  Each subform page includes detailed configuration information and an example subform setup.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NB - AS OF ARK 0.7 THE CONFIGURATION OF SUBFORMS USING MODTYPES WILL CHANGE TO RELY SOLELY ON THE [[Conditional Subform]] OPTION.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Text Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_txt]]&amp;#039;&amp;#039;&amp;#039; - subform to enter text data&lt;br /&gt;
&lt;br /&gt;
===Number Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_number]]&amp;#039;&amp;#039;&amp;#039; - subform to add number data&lt;br /&gt;
&lt;br /&gt;
===Attribute Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_finds]]&amp;#039;&amp;#039;&amp;#039; - subform to attach attributes of a given type (findtypes) and to set a boolean for each one&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_attr_bytype]]&amp;#039;&amp;#039;&amp;#039; - subform to attach attributes of a given type&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_attr_boolean]]&amp;#039;&amp;#039;&amp;#039; - subform to set boolean attribute&lt;br /&gt;
&lt;br /&gt;
===Spatial Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_spat]]&amp;#039;&amp;#039;&amp;#039; - a subform to display spatial data about an item &amp;#039;&amp;#039;THIS SUBFORM IS DEPRECATED AND SHOULD NOT BE USED FOR ANY NEW ARK SYSTEMS&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_wfs_spat]]&amp;#039;&amp;#039;&amp;#039; - the new subform to display spatial data about an item&lt;br /&gt;
&lt;br /&gt;
===Span Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_span_rel]]&amp;#039;&amp;#039;&amp;#039; - subform to enter span relationships not in matrix form&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_spanmatrix]]&amp;#039;&amp;#039;&amp;#039; - subform to enter span relationships in matrix form&lt;br /&gt;
&lt;br /&gt;
===File Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_file]]&amp;#039;&amp;#039;&amp;#039; - subform to handle files&lt;br /&gt;
&lt;br /&gt;
===XMI Subforms===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_xmi]]&amp;#039;&amp;#039;&amp;#039; - subform to enter XMI links between records&lt;br /&gt;
&lt;br /&gt;
===Complex Subforms===&lt;br /&gt;
Complex subforms combine different data classes.&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_modtype]]&amp;#039;&amp;#039;&amp;#039; - subform to handle modules with different item types&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_interp]]&amp;#039;&amp;#039;&amp;#039; - subform to handle interpretive text fragments with actor/date pairings&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_assemblage]]&amp;#039;&amp;#039;&amp;#039; - a subform to handle bulk assemblages&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;[[sf_event]]&amp;#039;&amp;#039;&amp;#039; - subform to handle actor/date pairs&lt;br /&gt;
&lt;br /&gt;
[[category:administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Administrator_Manual&amp;diff=717</id>
		<title>Administrator Manual</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Administrator_Manual&amp;diff=717"/>
				<updated>2009-04-18T12:12:09Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Subforms */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
The administrator manual is aimed at people who are downloading and installing ARK. If you are struggling with installation or administration, you should consider contacting the ARK team to buy a preconfigured ARK. This would help support the project and make a contribution towards the ongoing development of the project.&lt;br /&gt;
&lt;br /&gt;
===Key Concepts===&lt;br /&gt;
&lt;br /&gt;
====[[Navigation]]====&lt;br /&gt;
&lt;br /&gt;
Information about the navigation tools used within ARK.&lt;br /&gt;
&lt;br /&gt;
=====[[Navigation#Basic Navigation|Basic Navigation]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Navigation#Subform Navigation|Subform Navigation]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Views]]====&lt;br /&gt;
&lt;br /&gt;
The different &amp;#039;Views&amp;#039; of ARK.&lt;br /&gt;
&lt;br /&gt;
====[[Key Administration Concepts]]====&lt;br /&gt;
&lt;br /&gt;
An overview of the key administration concepts.&lt;br /&gt;
&lt;br /&gt;
=====[[Key Administration Concepts#Settings Files|Settings Files]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Key Administration Concepts#Forms Overview|Forms Overview]]=====&lt;br /&gt;
&lt;br /&gt;
===Installation and Setup===&lt;br /&gt;
&lt;br /&gt;
====[[Basic Installation]]====&lt;br /&gt;
&lt;br /&gt;
A description of the ARK installation process.&lt;br /&gt;
&lt;br /&gt;
=====[[Basic Installation#Dependencies|Dependencies]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Basic Installation#Installing ARK|Installing ARK]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Basic Installation#Browse to ARK directory|Browse to ARK]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Initial setup]]====&lt;br /&gt;
&lt;br /&gt;
Some things to consider when completing the initial setup of your ARK.&lt;br /&gt;
&lt;br /&gt;
=====[[Initial setup#A Name|ARK Name]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Initial setup#What do you want to record?|What to record?]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Initial setup#What subforms do you want?|What Subforms?]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Database Tables]]====&lt;br /&gt;
&lt;br /&gt;
A list of the standard ARK tables, with a basic explanation for each.&lt;br /&gt;
&lt;br /&gt;
===ARK Customisation===&lt;br /&gt;
&lt;br /&gt;
This chapter will help the new ARK administrator who is comfortable with editing PHP configuration files through the setup of an ARK project. For a general overview of settings please see [[Key Administration Concepts#Settings Files|Settings Files]].&lt;br /&gt;
&lt;br /&gt;
====[[env_settings.php]]====&lt;br /&gt;
&lt;br /&gt;
A description of the env_settings.php file for three different operating systems.&lt;br /&gt;
&lt;br /&gt;
=====[[env_settings.php#ms4w|Mapserver for Windows]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[env_settings.php#mac|Mac]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[env_settings.php#linux|Linux]]=====&lt;br /&gt;
&lt;br /&gt;
====[[field_settings.php]]====&lt;br /&gt;
&lt;br /&gt;
Instructions on how to configure the field_settings.php file.&lt;br /&gt;
&lt;br /&gt;
=====[[field_settings.php#Common/Obligatory Attributes|Obligatory Attributes]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[field_settings.php#Class Specific Settings|Class Specific Settings]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[field_settings.php#Event Fields|Event Fields]]=====&lt;br /&gt;
&lt;br /&gt;
====[[mod_settings.php]]====&lt;br /&gt;
&lt;br /&gt;
Instructions on how to configure module specific settings files.&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Display Options|Display Options]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Custom Fields|Custom Fields]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Subforms|Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Spatial Data|Spatial Data]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Data Entry Forms|Data Entry Forms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Micro View|Micro View]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Data View|Data View]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#XMI View|XMI View]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Export|Export]]=====&lt;br /&gt;
&lt;br /&gt;
====[[settings.php]]====&lt;br /&gt;
&lt;br /&gt;
The general settings for ARK.&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Server Setup|Server Setup]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#General|General]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Live Search|Live Search]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Modules|Modules]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Security|Security]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Skin|Skin]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Thumbnails|Thumbnails]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Forms|Forms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Viewers|Viewers]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Mapping|Mapping]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Logging|Logging]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Search Engine|Search Engine]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Languages|Languages]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Fields|Fields]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Document Type|Document Type]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Navigation|Navigation]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Left Panel Configuration|Left Panel Configuration]]=====&lt;br /&gt;
&lt;br /&gt;
====[[vd_settings.php]]====&lt;br /&gt;
&lt;br /&gt;
A description of information found within the vd_settings.php file.&lt;br /&gt;
&lt;br /&gt;
===Subforms===&lt;br /&gt;
&lt;br /&gt;
====[[Subforms Overview]]====&lt;br /&gt;
&lt;br /&gt;
A general overview of ARK Subforms and their configuration.&lt;br /&gt;
&lt;br /&gt;
====[[Subform Requirements]]====&lt;br /&gt;
&lt;br /&gt;
The required fields for configuration of subforms.&lt;br /&gt;
&lt;br /&gt;
====[[Subform Options]]====&lt;br /&gt;
&lt;br /&gt;
Some optional subform fields generic to all modules and subform types.&lt;br /&gt;
&lt;br /&gt;
====[[Conditional Subforms]]====&lt;br /&gt;
&lt;br /&gt;
Conditional subforms is a more complex subform option that allows specific subforms to only be displayed if a set of pre-configured conditions are met&lt;br /&gt;
&lt;br /&gt;
====[[Subform Reference]]====&lt;br /&gt;
&lt;br /&gt;
A list of all the current subforms with example configurations.&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Text Subforms|Text Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Number Subforms|Number Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Attribute Subforms|Attribute Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Spatial Subforms|Spatial Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Span Subforms|Span Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#File Subforms|File Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#XMI Subforms|XMI Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Complex Subforms|Complex Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
===Mapping===&lt;br /&gt;
&lt;br /&gt;
====[[Mapping Overview]]====&lt;br /&gt;
Some general information about mapping in ARK.&lt;br /&gt;
&lt;br /&gt;
====[[Configuring the Mapfile]]====&lt;br /&gt;
Instructions on how to configure the mapfile.&lt;br /&gt;
&lt;br /&gt;
===Administration===&lt;br /&gt;
&lt;br /&gt;
====[[User Administration]]====&lt;br /&gt;
&lt;br /&gt;
Some tools for administering user accounts.&lt;br /&gt;
&lt;br /&gt;
====[[Address Book Administration]]====&lt;br /&gt;
&lt;br /&gt;
How to update the Address Book module.&lt;br /&gt;
&lt;br /&gt;
====[[Alias Administration]]====&lt;br /&gt;
&lt;br /&gt;
How to add aliases to the database.&lt;br /&gt;
&lt;br /&gt;
====[[Markup Administration]]====&lt;br /&gt;
&lt;br /&gt;
How to add markup to the database.&lt;br /&gt;
&lt;br /&gt;
====[[Exporting Data]]====&lt;br /&gt;
&lt;br /&gt;
Some basic tips for exporting data.&lt;br /&gt;
&lt;br /&gt;
====[[Importing Data]]====&lt;br /&gt;
&lt;br /&gt;
Information about the ongoing development of import tools.&lt;br /&gt;
&lt;br /&gt;
===Custom Configuration===&lt;br /&gt;
&lt;br /&gt;
The following are examples of custom configurations and may be specific to previous installations of ARK.  Only use these for reference if you are upgrading from development code prior to the v0.6 release.  Please contact the [http://ark.lparchaeology.com/contact ARK Development Team] for more information on any of the following. &lt;br /&gt;
&lt;br /&gt;
====[[Transcluding]]====&lt;br /&gt;
&lt;br /&gt;
====[[Configuring file registration]]====&lt;br /&gt;
&lt;br /&gt;
====[[Configuring the Mapping]]====&lt;br /&gt;
&lt;br /&gt;
[[category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Field_settings.php&amp;diff=740</id>
		<title>Field settings.php</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Field_settings.php&amp;diff=740"/>
				<updated>2009-04-17T13:04:01Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the documentation for the field settings file. It contains a technical description of the elements that must be and may optionally be present in fields.&lt;br /&gt;
&lt;br /&gt;
===Common/Obligatory Attributes===&lt;br /&gt;
&lt;br /&gt;
====Basics====&lt;br /&gt;
&lt;br /&gt;
The two top settings are essential for the good working of the field:&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;dataclass&amp;#039;&amp;#039;&amp;#039; = This tells the system what [[Data Class]] the field is.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;classtype&amp;#039;&amp;#039;&amp;#039; = This tells the system what [[Classtype]] the field is.&lt;br /&gt;
&lt;br /&gt;
There is not currently an ARK function to create new classtypes.  In order to add a new classtype, please access the database using PHPMyAdmin and add the classtype directly in the cor_lut_classtype table (eg. cor_lut_actiontype, cor_lut_datetype, etc...).&lt;br /&gt;
&lt;br /&gt;
====Alias Settings====&lt;br /&gt;
&lt;br /&gt;
The alias for the field requires the following 3 attributes:&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;alias_tbl&amp;#039;&amp;#039;&amp;#039; = the table for the getAlias call&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;alias_col&amp;#039;&amp;#039;&amp;#039; = the col for the getAlias call&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;alias_src_key&amp;#039;&amp;#039;&amp;#039; = the alias_src_key for the getAlias call&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;alias_type&amp;#039;&amp;#039;&amp;#039; = the alias_type for the getAlias call&lt;br /&gt;
&lt;br /&gt;
It is important to add all alias values to cor_tbl_alias when configuring fields.  This can be completed using the [[Alias Administration]] tools.&lt;br /&gt;
&lt;br /&gt;
====Other Obligatory Settings====&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;editable&amp;#039;&amp;#039;&amp;#039; = set TRUE to process this field in forms set FALSE for display only&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;hidden&amp;#039;&amp;#039;&amp;#039; = set true to make the field &amp;lt;input type=&amp;quot;hidden&amp;quot; /&amp;gt;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;add_validation&amp;#039;&amp;#039;&amp;#039; = validation rules for this field when on an add routine&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;edt_validation&amp;#039;&amp;#039;&amp;#039; = validation rules for this field when on an edt routine&lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
&lt;br /&gt;
An example of a standard text field:&lt;br /&gt;
&amp;lt;pre&amp;gt;$conf_field_desc =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;dataclass&amp;#039; =&amp;gt; &amp;#039;txt&amp;#039;,&lt;br /&gt;
        &amp;#039;classtype&amp;#039; =&amp;gt; &amp;#039;desc&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_tbl&amp;#039; =&amp;gt; &amp;#039;cor_lut_txttype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_col&amp;#039; =&amp;gt; &amp;#039;txttype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_src_key&amp;#039; =&amp;gt; &amp;#039;desc&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_type&amp;#039; =&amp;gt; &amp;#039;1&amp;#039;,&lt;br /&gt;
        &amp;#039;editable&amp;#039; =&amp;gt; TRUE,&lt;br /&gt;
        &amp;#039;hidden&amp;#039; =&amp;gt; FALSE,&lt;br /&gt;
        &amp;#039;add_validation&amp;#039; =&amp;gt; $txt_add_validation,&lt;br /&gt;
        &amp;#039;edt_validation&amp;#039; =&amp;gt; $txt_edt_validation&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of a standard attribute field:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_field_samplecondition =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;dataclass&amp;#039; =&amp;gt; &amp;#039;attr&amp;#039;,&lt;br /&gt;
        &amp;#039;classtype&amp;#039; =&amp;gt; &amp;#039;samplecondition&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_tbl&amp;#039; =&amp;gt; &amp;#039;cor_lut_attributetype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_col&amp;#039; =&amp;gt; &amp;#039;attributetype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_src_key&amp;#039; =&amp;gt; &amp;#039;sampleconditions&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_type&amp;#039; =&amp;gt; &amp;#039;1&amp;#039;,&lt;br /&gt;
        //&amp;#039;alias_classtype&amp;#039; =&amp;gt; &amp;#039;Condition&amp;#039;,&lt;br /&gt;
        &amp;#039;editable&amp;#039; =&amp;gt; TRUE,&lt;br /&gt;
        &amp;#039;hidden&amp;#039; =&amp;gt; FALSE,&lt;br /&gt;
        &amp;#039;add_validation&amp;#039; =&amp;gt; $attr_add_validation,&lt;br /&gt;
        &amp;#039;edt_validation&amp;#039; =&amp;gt; $attr_edt_validation&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of a standard number field:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_field_total =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;dataclass&amp;#039; =&amp;gt; &amp;#039;number&amp;#039;,&lt;br /&gt;
        &amp;#039;classtype&amp;#039; =&amp;gt; &amp;#039;total&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_tbl&amp;#039; =&amp;gt; &amp;#039;cor_lut_numbertype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_col&amp;#039; =&amp;gt; &amp;#039;numbertype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_src_key&amp;#039; =&amp;gt; &amp;#039;total&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_type&amp;#039; =&amp;gt; &amp;#039;1&amp;#039;,&lt;br /&gt;
        &amp;#039;editable&amp;#039; =&amp;gt; TRUE,&lt;br /&gt;
        &amp;#039;hidden&amp;#039; =&amp;gt; FALSE,&lt;br /&gt;
        &amp;#039;add_validation&amp;#039; =&amp;gt; $number_add_validation,&lt;br /&gt;
        &amp;#039;edt_validation&amp;#039; =&amp;gt; $number_edt_validation&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of a standard date field:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_field_issuedon =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;dataclass&amp;#039; =&amp;gt; &amp;#039;date&amp;#039;,&lt;br /&gt;
        &amp;#039;datestyle&amp;#039; =&amp;gt; &amp;#039;dd,mm,yr&amp;#039;,&lt;br /&gt;
        &amp;#039;classtype&amp;#039; =&amp;gt; &amp;#039;issuedon&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_tbl&amp;#039; =&amp;gt; &amp;#039;cor_lut_datetype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_col&amp;#039; =&amp;gt; &amp;#039;datetype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_src_key&amp;#039; =&amp;gt; &amp;#039;issuedon&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_type&amp;#039; =&amp;gt; &amp;#039;1&amp;#039;,&lt;br /&gt;
        &amp;#039;editable&amp;#039; =&amp;gt; TRUE,&lt;br /&gt;
        &amp;#039;hidden&amp;#039; =&amp;gt; FALSE,&lt;br /&gt;
        &amp;#039;add_validation&amp;#039; =&amp;gt; $date_add_validation,&lt;br /&gt;
        &amp;#039;edt_validation&amp;#039; =&amp;gt; $date_edt_validation&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of a standard span field:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_field_sameas =&lt;br /&gt;
   array(&lt;br /&gt;
       &amp;#039;dataclass&amp;#039; =&amp;gt; &amp;#039;span&amp;#039;,&lt;br /&gt;
       &amp;#039;classtype&amp;#039; =&amp;gt; &amp;#039;sameas&amp;#039;,&lt;br /&gt;
       &amp;#039;alias_tbl&amp;#039; =&amp;gt; &amp;#039;cor_lut_spantype&amp;#039;,&lt;br /&gt;
       &amp;#039;alias_col&amp;#039; =&amp;gt; &amp;#039;spantype&amp;#039;,&lt;br /&gt;
       &amp;#039;alias_src_key&amp;#039; =&amp;gt; &amp;#039;sameas&amp;#039;,&lt;br /&gt;
       &amp;#039;alias_type&amp;#039; =&amp;gt; &amp;#039;1&amp;#039;,&lt;br /&gt;
       &amp;#039;editable&amp;#039; =&amp;gt; TRUE,&lt;br /&gt;
       &amp;#039;hidden&amp;#039; =&amp;gt; FALSE,&lt;br /&gt;
       &amp;#039;add_validation&amp;#039; =&amp;gt; $span_add_validation,&lt;br /&gt;
       &amp;#039;edt_validation&amp;#039; =&amp;gt; $span_edt_validation&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of a standard xmi field:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_field_romxmi = &lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;dataclass&amp;#039; =&amp;gt; &amp;#039;xmi&amp;#039;,&lt;br /&gt;
        &amp;#039;classtype&amp;#039; =&amp;gt; &amp;#039;xmi_list&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_tbl&amp;#039; =&amp;gt; &amp;#039;cor_tbl_module&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_col&amp;#039; =&amp;gt; &amp;#039;itemkey&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_src_key&amp;#039; =&amp;gt; &amp;#039;rom_cd&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_type&amp;#039; =&amp;gt; &amp;#039;1&amp;#039;,&lt;br /&gt;
        &amp;#039;module&amp;#039; =&amp;gt; &amp;#039;mus&amp;#039;,&lt;br /&gt;
        &amp;#039;xmi_mod&amp;#039; =&amp;gt; &amp;#039;rom&amp;#039;,  &lt;br /&gt;
        &amp;#039;op_xmi_itemkey&amp;#039; =&amp;gt; &amp;#039;rom_cd&amp;#039;,&lt;br /&gt;
        &amp;#039;editable&amp;#039; =&amp;gt; TRUE,&lt;br /&gt;
        &amp;#039;hidden&amp;#039; =&amp;gt; FALSE,&lt;br /&gt;
        &amp;#039;add_validation&amp;#039; =&amp;gt; $xmi_add_validation,&lt;br /&gt;
        &amp;#039;edt_validation&amp;#039; =&amp;gt; $xmi_edt_validation&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally, an example of a standard file field:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_field_file =&lt;br /&gt;
  array(&lt;br /&gt;
      &amp;#039;dataclass&amp;#039; =&amp;gt; &amp;#039;file&amp;#039;,&lt;br /&gt;
      &amp;#039;classtype&amp;#039; =&amp;gt; &amp;#039;file&amp;#039;,&lt;br /&gt;
      &amp;#039;alias_tbl&amp;#039; =&amp;gt; &amp;#039;cor_tbl_col&amp;#039;,&lt;br /&gt;
      &amp;#039;alias_col&amp;#039; =&amp;gt; &amp;#039;id&amp;#039;,&lt;br /&gt;
      &amp;#039;alias_src_key&amp;#039; =&amp;gt; &amp;#039;6&amp;#039;,&lt;br /&gt;
      &amp;#039;alias_type&amp;#039; =&amp;gt; &amp;#039;1&amp;#039;,&lt;br /&gt;
      &amp;#039;editable&amp;#039; =&amp;gt; TRUE,&lt;br /&gt;
      &amp;#039;hidden&amp;#039; =&amp;gt; FALSE,&lt;br /&gt;
      &amp;#039;add_validation&amp;#039; =&amp;gt; $file_add_validation,&lt;br /&gt;
      &amp;#039;edt_validation&amp;#039; =&amp;gt; $file_edt_validation&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Class specific settings===&lt;br /&gt;
&lt;br /&gt;
Each class has some specific settings some of which may be optional or required.&lt;br /&gt;
&lt;br /&gt;
====Class: action====&lt;br /&gt;
&lt;br /&gt;
An example of an action class field.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$conf_field_issuedto = &lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;dataclass&amp;#039; =&amp;gt; &amp;#039;action&amp;#039;,&lt;br /&gt;
        &amp;#039;classtype&amp;#039; =&amp;gt; &amp;#039;issuedto&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_tbl&amp;#039; =&amp;gt; &amp;#039;cor_lut_actiontype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_col&amp;#039; =&amp;gt; &amp;#039;actiontype&amp;#039;,&lt;br /&gt;
        &amp;#039;alias_src_key&amp;#039; =&amp;gt; &amp;#039;issuedto&amp;#039;,&lt;br /&gt;
        &amp;#039;actors_mod&amp;#039; =&amp;gt; &amp;#039;abk&amp;#039;,&lt;br /&gt;
        &amp;#039;actors_type&amp;#039; =&amp;gt; &amp;#039;people&amp;#039;,&lt;br /&gt;
        &amp;#039;actors_element&amp;#039; =&amp;gt; &amp;#039;name&amp;#039;,&lt;br /&gt;
        &amp;#039;actors_style&amp;#039; =&amp;gt; &amp;#039;single&amp;#039;,&lt;br /&gt;
        &amp;#039;actors_elementclass&amp;#039; =&amp;gt; &amp;#039;txt&amp;#039;,&lt;br /&gt;
        &amp;#039;actors_grp&amp;#039; =&amp;gt; FALSE,&lt;br /&gt;
        &amp;#039;alias_type&amp;#039; =&amp;gt; &amp;#039;1&amp;#039;,&lt;br /&gt;
        &amp;#039;editable&amp;#039; =&amp;gt; TRUE,&lt;br /&gt;
        &amp;#039;hidden&amp;#039; =&amp;gt; FALSE,&lt;br /&gt;
        &amp;#039;add_validation&amp;#039; =&amp;gt; $action_add_validation,&lt;br /&gt;
        &amp;#039;edt_validation&amp;#039; =&amp;gt; $action_edt_validation&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;actors_mod&amp;#039;&amp;#039;&amp;#039; = The module holding the actors (normally abk)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;actors_type&amp;#039;&amp;#039;&amp;#039; = The mod type as listed in mod_lut_modtype&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;actors_element&amp;#039;&amp;#039;&amp;#039; = The text type to display within the dropdown&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;actors_style&amp;#039;&amp;#039;&amp;#039; = whether actor information is displayed in a list style (&amp;#039;list&amp;#039;) or as a single actor/date pairing (&amp;#039;single&amp;#039;)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;actors_elementclass&amp;#039;&amp;#039;&amp;#039; = Class of data to be displayed for a given actor (ie. txt, number, etc)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;actors_grp&amp;#039;&amp;#039;&amp;#039; = Group functionality will allow the selection of a group of actors (in development)&lt;br /&gt;
&lt;br /&gt;
===Event Fields===&lt;br /&gt;
&lt;br /&gt;
Event fields are effectively wrappers for action/date fields.  All fields&lt;br /&gt;
must be set up above.  One can also use actions and dates without having the event wrapper, but this allows one to group multiple events into a single subform.&lt;br /&gt;
&lt;br /&gt;
See below for an example of a configured event field:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_event_compiled = &lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;type&amp;#039; =&amp;gt; &amp;#039;compiled&amp;#039;,&lt;br /&gt;
        &amp;#039;date&amp;#039; =&amp;gt; $conf_field_compiledon,&lt;br /&gt;
        &amp;#039;action&amp;#039; =&amp;gt; $conf_field_compiledby&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=768</id>
		<title>Sf xmi</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Sf_xmi&amp;diff=768"/>
				<updated>2009-04-17T13:02:44Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Description===&lt;br /&gt;
The sf_xmi is required to handle XMI linked data from other modules.&lt;br /&gt;
&lt;br /&gt;
===Additional Fields===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;xmi_mod&amp;#039;&amp;#039;&amp;#039; - the xmi viewer needs this to know which module to display&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sorting&amp;#039;&amp;#039;&amp;#039; - this is a switch to allow sorting of XMIed items by some field connected to the item. The default is to sort by the itemval.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;op_xmi_sort_field&amp;#039;&amp;#039;&amp;#039; - this option requires &amp;#039;op_xmi_sorting&amp;#039; to be set TRUE. This should be populated with the full field array that is desired.&lt;br /&gt;
&lt;br /&gt;
===Example Configuration===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_mcd_sphxmi =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;view_state&amp;#039; =&amp;gt; &amp;#039;max&amp;#039;,&lt;br /&gt;
        &amp;#039;edit_state&amp;#039; =&amp;gt; &amp;#039;view&amp;#039;, //not yet setup in sf&lt;br /&gt;
        &amp;#039;sf_title&amp;#039; =&amp;gt; &amp;#039;site_photo&amp;#039;, //appears in the titlebar of the subform (mk nname)&lt;br /&gt;
        &amp;#039;sf_html_id&amp;#039; =&amp;gt; &amp;#039;cxt_sph_display&amp;#039;, //the form id tag (must be unique)&lt;br /&gt;
        &amp;#039;script&amp;#039; =&amp;gt; &amp;#039;php/subforms/sf_xmi.php&amp;#039;,&lt;br /&gt;
        &amp;#039;sf_nav_type&amp;#039; =&amp;gt; &amp;#039;full&amp;#039;,&lt;br /&gt;
        &amp;#039;xmi_mod&amp;#039; =&amp;gt; &amp;#039;sph&amp;#039;,&lt;br /&gt;
        &amp;#039;op_lightbox&amp;#039; =&amp;gt; TRUE&lt;br /&gt;
        &amp;#039;fields&amp;#039; =&amp;gt; array(&lt;br /&gt;
            $conf_field_xmifield&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=715</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=715"/>
				<updated>2009-03-31T12:23:13Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* PEAR LiveUser */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Preconfigured ARK setups are available from the ARK team. If you are unfamiliar with the setup and adminisration of webservers along with the security risks to your system and data this entails, please consider contacting us to aquire a fully running ARK. For those of you who have already got a server and want to go though the installation proceedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional securuty to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  ARK makes use of PEAR LiveUser, LiveUser_Admin, MDB2, and MDB2_driver_mysql, DB, and Event_Dispatcher.  All of these packages will need to be installed in order for ARK user authentication to function.&lt;br /&gt;
&lt;br /&gt;
For details on how to install and configure live user, and the associated packages required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.   &amp;#039;&amp;#039;&amp;#039;PLEASE NOTE that ALL the PEAR SQL tables are already included with the basic ARK database, and do not need to be added to the database again during PEAR setup.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE andDELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[settings.php#Server Specific Information|settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
In browsing to the ARK directory you should now be able to see the login pages for the database.  The tutorial database is created with the following two user accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username: janedoe&lt;br /&gt;
password: janedoe&lt;br /&gt;
&lt;br /&gt;
username: johnsmith&lt;br /&gt;
password: johnsmith&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=704</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=704"/>
				<updated>2009-03-31T12:11:10Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* PEAR LiveUser */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Preconfigured ARK setups are available from the ARK team. If you are unfamiliar with the setup and adminisration of webservers along with the security risks to your system and data this entails, please consider contacting us to aquire a fully running ARK. For those of you who have already got a server and want to go though the installation proceedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional securuty to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  ARK makes use of PEAR LiveUser, LiveUser_Admin, MDB2, and MDB2_driver_mysql.  All of these packages will need to be installed in order for ARK user authentication to function.&lt;br /&gt;
&lt;br /&gt;
For details on how to install and configure live user, and the associated packages required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.   &amp;#039;&amp;#039;&amp;#039;PLEASE NOTE that ALL the PEAR SQL tables are already included with the basic ARK database, and do not need to be added to the database again during PEAR setup.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE andDELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[settings.php#Server Specific Information|settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
In browsing to the ARK directory you should now be able to see the login pages for the database.  The tutorial database is created with the following two user accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username: janedoe&lt;br /&gt;
password: janedoe&lt;br /&gt;
&lt;br /&gt;
username: johnsmith&lt;br /&gt;
password: johnsmith&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=789</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Main_Page&amp;diff=789"/>
				<updated>2008-12-10T09:26:58Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki is the documentation project for ARK the archaeological recording kit. The documentation falls into 3 categories:&lt;br /&gt;
&lt;br /&gt;
#[[User Manual]] - Notes for end users of the system [[:Category:usermanual| User Manual Index]]&lt;br /&gt;
#[[Administrator Manual]] - Notes for setup and administration of ARK [[:Category:administrator| Administrator Index]]&lt;br /&gt;
#[[Developer Manual]] - Documentation of the ARK engine [[:Category:developer| Developer Index]]&lt;br /&gt;
&lt;br /&gt;
For a quickstart installation after downloading the demo ARK, go straight to [[Basic Installation]].&lt;br /&gt;
&lt;br /&gt;
Users of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkusers arkusers]&amp;#039;&amp;#039;&amp;#039; Group.  &lt;br /&gt;
&lt;br /&gt;
Developers of the system are encouraged to join the &amp;#039;&amp;#039;&amp;#039;[http://groups.google.com/group/arkdev arkdev]&amp;#039;&amp;#039;&amp;#039; Group.&lt;br /&gt;
&lt;br /&gt;
We also have an [[:Category:glossary|ARK Glossary]] to try to explain some key terms and the way they are used in ARK.&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=703</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=703"/>
				<updated>2008-11-19T08:40:50Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Browse to ARK directory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Preconfigured ARK setups are available from the ARK team. If you are unfamiliar with the setup and adminisration of webservers along with the security risks to your system and data this entails, please consider contacting us to aquire a fully running ARK. For those of you who have already got a server and want to go though the installation proceedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional securuty to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  For details on how to install and configure live user, and the associated database tables required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.   &amp;#039;&amp;#039;&amp;#039;PLEASE NOTE that ALL the PEAR SQL tables are already included with the basic ARK database, and do not need to be added to the database again during PEAR setup.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE andDELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[settings.php#Server Specific Information|settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
In browsing to the ARK directory you should now be able to see the login pages for the database.  The tutorial database is created with the following two user accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username: janedoe&lt;br /&gt;
password: janedoe&lt;br /&gt;
&lt;br /&gt;
username: johnsmith&lt;br /&gt;
password: johnsmith&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=667</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=667"/>
				<updated>2008-11-19T08:39:32Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* PEAR LiveUser */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Preconfigured ARK setups are available from the ARK team. If you are unfamiliar with the setup and adminisration of webservers along with the security risks to your system and data this entails, please consider contacting us to aquire a fully running ARK. For those of you who have already got a server and want to go though the installation proceedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional securuty to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  For details on how to install and configure live user, and the associated database tables required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.   &amp;#039;&amp;#039;&amp;#039;PLEASE NOTE that ALL the PEAR SQL tables are already included with the basic ARK database, and do not need to be added to the database again during PEAR setup.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE andDELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[settings.php#Server Specific Information|settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
In browsing to the ARK directory you should now be able to see the login pages for the database.  If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=666</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=666"/>
				<updated>2008-11-14T16:08:18Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Update the DB Settings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Preconfigured ARK setups are available from the ARK team. If you are unfamiliar with the setup and adminisration of webservers along with the security risks to your system and data this entails, please consider contacting us to aquire a fully running ARK. For those of you who have already got a server and want to go though the installation proceedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional securuty to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  For details on how to install and configure live user, and the associated database tables required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE andDELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[settings.php#Server Specific Information|settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
In browsing to the ARK directory you should now be able to see the login pages for the database.  If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=654</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=654"/>
				<updated>2008-11-14T16:07:57Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Update the DB Settings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Preconfigured ARK setups are available from the ARK team. If you are unfamiliar with the setup and adminisration of webservers along with the security risks to your system and data this entails, please consider contacting us to aquire a fully running ARK. For those of you who have already got a server and want to go though the installation proceedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional securuty to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  For details on how to install and configure live user, and the associated database tables required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE andDELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the server-specific DB settings in [[settings.php#Server Specific Settings|settings.php]].  &amp;#039;&amp;#039;&amp;#039;THE DATABASE WILL NOT WORK UNTIL THESE SETTINGS HAVE BEEN UPDATED&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
In browsing to the ARK directory you should now be able to see the login pages for the database.  If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=760</id>
		<title>Settings.php</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=760"/>
				<updated>2008-11-14T16:06:38Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Server Specific Information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the main settings file for each instance of ARK. The file is divide into sections as set out below&lt;br /&gt;
&lt;br /&gt;
===Server Setup===&lt;br /&gt;
The server setup being used.  Currently ARK is configured for Mapserver 4 Windows (ms4w), Mac, and Linux servers.  Set the server type and include the [[env_settings.php]] file using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$server=&amp;quot;ms4w&amp;quot;;&lt;br /&gt;
// Include settings related to your server environment (this also uses the server specified above)&lt;br /&gt;
include(&amp;#039;env_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Server Specific Information====&lt;br /&gt;
You will need to edit the following depending on your specific server information.  Edit the information under the type of server you are using.  &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;YOU MUST UPDATE THE SERVER SPECIFIC INFORMATION BEFORE YOUR ARK INSTALLATION WILL FUNCTION.  AS A FIRST STEP UPDATE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_dir&amp;#039;&amp;#039;&amp;#039; - your ark directory&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_db&amp;#039;&amp;#039;&amp;#039; - your ark database&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_server&amp;#039;&amp;#039;&amp;#039; - the MySQL server&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_user&amp;#039;&amp;#039;&amp;#039; - The MySQL user who will make db calls&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_pwd&amp;#039;&amp;#039;&amp;#039; - The mysql user password&lt;br /&gt;
&lt;br /&gt;
The rest of the basic settings for each server are included below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
switch($server){&lt;br /&gt;
	&lt;br /&gt;
	case ms4w:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;psw&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;C:/&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
	case mac:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;127.0.0.1&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pws&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	break;&lt;br /&gt;
	case linux:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pwd&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===General===&lt;br /&gt;
This contains general configuration for the ARK.&lt;br /&gt;
&lt;br /&gt;
====Minimiser====&lt;br /&gt;
Is the minimiser enabled?&lt;br /&gt;
To use the minimiser on specific data entry pages you need to go to the mod_settings files (ex. mod_cxt_settings.php) and make sure that &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, instead of single_col in the $conf_dat_materi and $conf_dat_detfrm settings. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Set to TRUE if you want to use the minimising right hand navigation bar&lt;br /&gt;
$minimiser = TRUE;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====ARK Name====&lt;br /&gt;
The name of this instance of ARK&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The Ark name&lt;br /&gt;
$ark_name = &amp;#039;Tutorial&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Live Search===&lt;br /&gt;
The controls for the live search function&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls &lt;br /&gt;
/*&lt;br /&gt;
* live = live search &lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the controls for live search for XMI&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls for xmi&lt;br /&gt;
/*&lt;br /&gt;
* live = live search - this should only be set to live if you are using the collapsing data entry&lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$xmi_mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modules===&lt;br /&gt;
Configure the modules to be used in this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// List the modules that need to be loaded in this ARK project&lt;br /&gt;
$loaded_modules = &lt;br /&gt;
    array(&lt;br /&gt;
	&amp;#039;abk&amp;#039;, // address book&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // contexts&lt;br /&gt;
        &amp;#039;pln&amp;#039;, // plans&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
        &amp;#039;spf&amp;#039;, // Special finds&lt;br /&gt;
        &amp;#039;sph&amp;#039;, // Site photos&lt;br /&gt;
        &lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the modules to load mapping data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Lists the modules to load maps for&lt;br /&gt;
$loaded_map_mods = &lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // context&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default item key for this ARK setup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default item key for this instance of Ark - format: mod_cd&lt;br /&gt;
$default_itemkey = &amp;#039;cxt_cd&amp;#039;; // context&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the DSN for this ARK (this should generally NOT need adjusting)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// DSN (this shouldn&amp;#039;t need adjusting)&lt;br /&gt;
$dsn = &amp;#039;mysql://&amp;#039;.$sql_user.&amp;#039;:&amp;#039;.$sql_pwd.&amp;#039;@&amp;#039;.$sql_server.&amp;#039;/&amp;#039;.$ark_db;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Security===&lt;br /&gt;
The security for ARK is handled by LiveUser.  The liveuser configuration is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Liveuser: &lt;br /&gt;
// These are the names of the liveuser objects. They should be unique per ARK &lt;br /&gt;
// (to prevent cross ark hacking). They need to be called in the code as&lt;br /&gt;
// $$liveuser and $$liveuser_admin&lt;br /&gt;
$liveuser = $ark_name . &amp;#039;usr&amp;#039;;&lt;br /&gt;
$liveuser_admin = $ark_name . &amp;#039;usr&amp;#039; . &amp;#039;_admin&amp;#039;;&lt;br /&gt;
// The path to the login script (relative to the document root)&lt;br /&gt;
$loginScript = &amp;#039;index.php&amp;#039;;&lt;br /&gt;
// Anonymous Logins&lt;br /&gt;
// If these variables are set then you are allowing anonymous logins&lt;br /&gt;
// This is a security risk! Its best to leave these statements commented out.&lt;br /&gt;
// Bear in mind that this does not need to be a real user.&lt;br /&gt;
$anonymous_login[&amp;#039;username&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
$anonymous_login[&amp;#039;password&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
// Method used in forms:&lt;br /&gt;
// get = form messages sent via get method - vissible in browser bar.&lt;br /&gt;
// post = form message sent via post method - invisible to the user.&lt;br /&gt;
$form_method = &amp;#039;get&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Skin===&lt;br /&gt;
Sets the skin name and skin path for this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Skin name&lt;br /&gt;
$skin = &amp;#039;arkologik&amp;#039;;&lt;br /&gt;
// Skin path&lt;br /&gt;
$skin_path = &amp;quot;$ark_dir/skins/$skin&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Thumbnails===&lt;br /&gt;
Sets thumbnail sizes for ARK (this will be used when uploading files)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Optional&lt;br /&gt;
$thumbnail_sizes =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;arkthumb_width&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;arkthumb_height&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;webthumb_width&amp;#039; =&amp;gt; 500,&lt;br /&gt;
        &amp;#039;webthumb_height&amp;#039; =&amp;gt; 500&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Forms===&lt;br /&gt;
Set default year and site code for data entry and viewing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Default year as a setting for form data entry&lt;br /&gt;
$default_year = &amp;#039;2008&amp;#039;;&lt;br /&gt;
//Default site code&lt;br /&gt;
$default_site_cd = &amp;#039;PCO06&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Viewers===&lt;br /&gt;
Configure the viewers to display a set number of rows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Number of rows to display on the data viewer&lt;br /&gt;
$conf_viewer_rows = 25;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the index pages for Micro View, Data View, and Search pages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default Micro viewer page (used by search result handlers)&lt;br /&gt;
$conf_micro_viewer = $ark_dir.&amp;quot;micro_view.php&amp;quot;;&lt;br /&gt;
// Default data viewer page&lt;br /&gt;
$conf_data_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
// Default search page - search funtions will send data thru to this page&lt;br /&gt;
$conf_search_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default for search results display:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default $output_mode for the data viewer&lt;br /&gt;
$default_output_mode = &amp;#039;tbl&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Mapping===&lt;br /&gt;
Set the basic configuration for mapping functions (map directory, temp directory, etc):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Path to temp directory (server)&lt;br /&gt;
$ark_maptemp_dir = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to temp directory (web)&lt;br /&gt;
$ark_web_maptemp_dir = &amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to WMS mapfile (server)&lt;br /&gt;
$ark_wms_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wms.map&amp;#039;;&lt;br /&gt;
// Path to WFS mapfile (server)&lt;br /&gt;
$ark_wfs_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wfs.map&amp;#039;;&lt;br /&gt;
// Map scales&lt;br /&gt;
$map_scales = &amp;#039;[1000,750,500,250,150,100,50,25,10]&amp;#039;;&lt;br /&gt;
// Tilecache_path - only set this if you have a tilecache setup on your server&lt;br /&gt;
//$tilecache_path = &amp;#039;/cgi-bin/tilecache.cgi?&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure the wms query layers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*$wms_qlayers = array (&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;cxt_schm&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pgn&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;sfi_points&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pt&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
);*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up the map projection and extents to suit the location of the ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Map projection (in form: &amp;quot;EPSG:4326&amp;quot;)&lt;br /&gt;
$map_projection = &amp;#039;EPSG:27700&amp;#039;;&lt;br /&gt;
// Map extents (in form: &amp;quot;1075,970,1115,1010&amp;quot;)&lt;br /&gt;
$map_extents = &amp;#039;533866, 180940,533963, 181000&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the layer from WMS to be used in map view&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Maplayers from the WMS layer used in the map view&lt;br /&gt;
$mapview_layers = array (&amp;#039;contexts&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Logging===&lt;br /&gt;
Cofigures logging levels to record logging into database and changes to data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Logging levels&lt;br /&gt;
$conf_log_add = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_edt = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_del = &amp;#039;on&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Search Engine===&lt;br /&gt;
Configures words to cut out of multi-string searches to streamline the search process and maximise results.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// words to cut out of multi string searches&lt;br /&gt;
$conf_non_search_words = array(&amp;#039;and&amp;#039;, &amp;#039;di&amp;#039;, &amp;#039;in&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Languages===&lt;br /&gt;
Configures the default language and other languages in use.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default lang&lt;br /&gt;
$default_lang = &amp;#039;en&amp;#039;;&lt;br /&gt;
// These are the languages in use (in order)&lt;br /&gt;
$conf_langs = array(&amp;#039;en&amp;#039;, &amp;#039;da&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fields===&lt;br /&gt;
Used to include the [[field_settings.php]] file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
include_once(&amp;#039;field_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Document Type===&lt;br /&gt;
Configures the document type to use for web output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$doctype = &amp;quot;html \n&lt;br /&gt;
     PUBLIC \&amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN\&amp;quot;\n&lt;br /&gt;
     \&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\&amp;quot;&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Navigation===&lt;br /&gt;
====Navigation Links====&lt;br /&gt;
Configure to state what links will appear in the end of the navigation bar.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_linklist =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;file&amp;#039; =&amp;gt; &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;vars&amp;#039; =&amp;gt; &amp;#039;logout=true&amp;#039;,&lt;br /&gt;
        &amp;#039;label&amp;#039; =&amp;gt; &amp;#039;logout&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Navigation Pages====&lt;br /&gt;
Unless listed in this array, all pages will appear in the main nav.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_hide_pages =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;record_view.php&amp;#039;,&lt;br /&gt;
        &amp;#039;contact.php&amp;#039;,&lt;br /&gt;
        &amp;#039;about.php&amp;#039;,&lt;br /&gt;
        &amp;#039;search.php&amp;#039;,&lt;br /&gt;
        &amp;#039;folder.php&amp;#039;,&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Left Panel Configuration===&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data Entry====&lt;br /&gt;
Configures the left panel in the data entry pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;view&amp;#039;&amp;#039;&amp;#039; - the view the link should point to (regist, detfrm, files or a custom view)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=abk_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regabk&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=materi&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;matsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=files&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;uplfile&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Micro View====&lt;br /&gt;
Configures the left panel in the micro view pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data View====&lt;br /&gt;
This configures the left panel for the data view pages and needs the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output ({$_SERVER[&amp;#039;PHP_SELF&amp;#039;]} is on same page, $ark_dir/export.php is on export page)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output_mode&amp;#039;&amp;#039;&amp;#039; - output format for internal links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output&amp;#039;&amp;#039;&amp;#039; - is output format for external links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=CSVExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expcsv&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=XMLExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expxml&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=tbl&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwtbl&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=chat&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwchat&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- User Home====&lt;br /&gt;
This configures the left-panel for the user home pages and needs the following fields:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$user_home_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;data_view.php?vtok=1&amp;amp;amp;nname=All_Contexts&amp;amp;amp;ftype=key&amp;amp;amp;key=1&amp;amp;amp;ktype=all&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=652</id>
		<title>Settings.php</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=652"/>
				<updated>2008-11-14T16:06:10Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Server Specific Information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the main settings file for each instance of ARK. The file is divide into sections as set out below&lt;br /&gt;
&lt;br /&gt;
===Server Setup===&lt;br /&gt;
The server setup being used.  Currently ARK is configured for Mapserver 4 Windows (ms4w), Mac, and Linux servers.  Set the server type and include the [[env_settings.php]] file using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$server=&amp;quot;ms4w&amp;quot;;&lt;br /&gt;
// Include settings related to your server environment (this also uses the server specified above)&lt;br /&gt;
include(&amp;#039;env_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Server Specific Information====&lt;br /&gt;
You will need to edit the following depending on your specific server information.  Edit the information under the type of server you are using.  &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;YOU MUST UPDATE THE SERVER SPECIFIC INFORMATION BEFORE YOUR ARK INSTALLATION WILL FUNCTION&amp;#039;&amp;#039;&amp;#039;.  &lt;br /&gt;
At the very least, please update:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_dir&amp;#039;&amp;#039;&amp;#039; - your ark directory&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_db&amp;#039;&amp;#039;&amp;#039; - your ark database&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_server&amp;#039;&amp;#039;&amp;#039; - the MySQL server&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_user&amp;#039;&amp;#039;&amp;#039; - The MySQL user who will make db calls&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_pwd&amp;#039;&amp;#039;&amp;#039; - The mysql user password&lt;br /&gt;
&lt;br /&gt;
The rest of the basic settings for each server are included below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
switch($server){&lt;br /&gt;
	&lt;br /&gt;
	case ms4w:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;psw&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;C:/&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
	case mac:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;127.0.0.1&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pws&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	break;&lt;br /&gt;
	case linux:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pwd&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===General===&lt;br /&gt;
This contains general configuration for the ARK.&lt;br /&gt;
&lt;br /&gt;
====Minimiser====&lt;br /&gt;
Is the minimiser enabled?&lt;br /&gt;
To use the minimiser on specific data entry pages you need to go to the mod_settings files (ex. mod_cxt_settings.php) and make sure that &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, instead of single_col in the $conf_dat_materi and $conf_dat_detfrm settings. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Set to TRUE if you want to use the minimising right hand navigation bar&lt;br /&gt;
$minimiser = TRUE;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====ARK Name====&lt;br /&gt;
The name of this instance of ARK&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The Ark name&lt;br /&gt;
$ark_name = &amp;#039;Tutorial&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Live Search===&lt;br /&gt;
The controls for the live search function&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls &lt;br /&gt;
/*&lt;br /&gt;
* live = live search &lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the controls for live search for XMI&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls for xmi&lt;br /&gt;
/*&lt;br /&gt;
* live = live search - this should only be set to live if you are using the collapsing data entry&lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$xmi_mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modules===&lt;br /&gt;
Configure the modules to be used in this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// List the modules that need to be loaded in this ARK project&lt;br /&gt;
$loaded_modules = &lt;br /&gt;
    array(&lt;br /&gt;
	&amp;#039;abk&amp;#039;, // address book&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // contexts&lt;br /&gt;
        &amp;#039;pln&amp;#039;, // plans&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
        &amp;#039;spf&amp;#039;, // Special finds&lt;br /&gt;
        &amp;#039;sph&amp;#039;, // Site photos&lt;br /&gt;
        &lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the modules to load mapping data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Lists the modules to load maps for&lt;br /&gt;
$loaded_map_mods = &lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // context&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default item key for this ARK setup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default item key for this instance of Ark - format: mod_cd&lt;br /&gt;
$default_itemkey = &amp;#039;cxt_cd&amp;#039;; // context&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the DSN for this ARK (this should generally NOT need adjusting)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// DSN (this shouldn&amp;#039;t need adjusting)&lt;br /&gt;
$dsn = &amp;#039;mysql://&amp;#039;.$sql_user.&amp;#039;:&amp;#039;.$sql_pwd.&amp;#039;@&amp;#039;.$sql_server.&amp;#039;/&amp;#039;.$ark_db;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Security===&lt;br /&gt;
The security for ARK is handled by LiveUser.  The liveuser configuration is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Liveuser: &lt;br /&gt;
// These are the names of the liveuser objects. They should be unique per ARK &lt;br /&gt;
// (to prevent cross ark hacking). They need to be called in the code as&lt;br /&gt;
// $$liveuser and $$liveuser_admin&lt;br /&gt;
$liveuser = $ark_name . &amp;#039;usr&amp;#039;;&lt;br /&gt;
$liveuser_admin = $ark_name . &amp;#039;usr&amp;#039; . &amp;#039;_admin&amp;#039;;&lt;br /&gt;
// The path to the login script (relative to the document root)&lt;br /&gt;
$loginScript = &amp;#039;index.php&amp;#039;;&lt;br /&gt;
// Anonymous Logins&lt;br /&gt;
// If these variables are set then you are allowing anonymous logins&lt;br /&gt;
// This is a security risk! Its best to leave these statements commented out.&lt;br /&gt;
// Bear in mind that this does not need to be a real user.&lt;br /&gt;
$anonymous_login[&amp;#039;username&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
$anonymous_login[&amp;#039;password&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
// Method used in forms:&lt;br /&gt;
// get = form messages sent via get method - vissible in browser bar.&lt;br /&gt;
// post = form message sent via post method - invisible to the user.&lt;br /&gt;
$form_method = &amp;#039;get&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Skin===&lt;br /&gt;
Sets the skin name and skin path for this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Skin name&lt;br /&gt;
$skin = &amp;#039;arkologik&amp;#039;;&lt;br /&gt;
// Skin path&lt;br /&gt;
$skin_path = &amp;quot;$ark_dir/skins/$skin&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Thumbnails===&lt;br /&gt;
Sets thumbnail sizes for ARK (this will be used when uploading files)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Optional&lt;br /&gt;
$thumbnail_sizes =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;arkthumb_width&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;arkthumb_height&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;webthumb_width&amp;#039; =&amp;gt; 500,&lt;br /&gt;
        &amp;#039;webthumb_height&amp;#039; =&amp;gt; 500&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Forms===&lt;br /&gt;
Set default year and site code for data entry and viewing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Default year as a setting for form data entry&lt;br /&gt;
$default_year = &amp;#039;2008&amp;#039;;&lt;br /&gt;
//Default site code&lt;br /&gt;
$default_site_cd = &amp;#039;PCO06&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Viewers===&lt;br /&gt;
Configure the viewers to display a set number of rows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Number of rows to display on the data viewer&lt;br /&gt;
$conf_viewer_rows = 25;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the index pages for Micro View, Data View, and Search pages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default Micro viewer page (used by search result handlers)&lt;br /&gt;
$conf_micro_viewer = $ark_dir.&amp;quot;micro_view.php&amp;quot;;&lt;br /&gt;
// Default data viewer page&lt;br /&gt;
$conf_data_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
// Default search page - search funtions will send data thru to this page&lt;br /&gt;
$conf_search_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default for search results display:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default $output_mode for the data viewer&lt;br /&gt;
$default_output_mode = &amp;#039;tbl&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Mapping===&lt;br /&gt;
Set the basic configuration for mapping functions (map directory, temp directory, etc):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Path to temp directory (server)&lt;br /&gt;
$ark_maptemp_dir = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to temp directory (web)&lt;br /&gt;
$ark_web_maptemp_dir = &amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to WMS mapfile (server)&lt;br /&gt;
$ark_wms_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wms.map&amp;#039;;&lt;br /&gt;
// Path to WFS mapfile (server)&lt;br /&gt;
$ark_wfs_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wfs.map&amp;#039;;&lt;br /&gt;
// Map scales&lt;br /&gt;
$map_scales = &amp;#039;[1000,750,500,250,150,100,50,25,10]&amp;#039;;&lt;br /&gt;
// Tilecache_path - only set this if you have a tilecache setup on your server&lt;br /&gt;
//$tilecache_path = &amp;#039;/cgi-bin/tilecache.cgi?&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure the wms query layers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*$wms_qlayers = array (&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;cxt_schm&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pgn&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;sfi_points&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pt&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
);*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up the map projection and extents to suit the location of the ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Map projection (in form: &amp;quot;EPSG:4326&amp;quot;)&lt;br /&gt;
$map_projection = &amp;#039;EPSG:27700&amp;#039;;&lt;br /&gt;
// Map extents (in form: &amp;quot;1075,970,1115,1010&amp;quot;)&lt;br /&gt;
$map_extents = &amp;#039;533866, 180940,533963, 181000&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the layer from WMS to be used in map view&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Maplayers from the WMS layer used in the map view&lt;br /&gt;
$mapview_layers = array (&amp;#039;contexts&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Logging===&lt;br /&gt;
Cofigures logging levels to record logging into database and changes to data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Logging levels&lt;br /&gt;
$conf_log_add = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_edt = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_del = &amp;#039;on&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Search Engine===&lt;br /&gt;
Configures words to cut out of multi-string searches to streamline the search process and maximise results.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// words to cut out of multi string searches&lt;br /&gt;
$conf_non_search_words = array(&amp;#039;and&amp;#039;, &amp;#039;di&amp;#039;, &amp;#039;in&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Languages===&lt;br /&gt;
Configures the default language and other languages in use.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default lang&lt;br /&gt;
$default_lang = &amp;#039;en&amp;#039;;&lt;br /&gt;
// These are the languages in use (in order)&lt;br /&gt;
$conf_langs = array(&amp;#039;en&amp;#039;, &amp;#039;da&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fields===&lt;br /&gt;
Used to include the [[field_settings.php]] file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
include_once(&amp;#039;field_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Document Type===&lt;br /&gt;
Configures the document type to use for web output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$doctype = &amp;quot;html \n&lt;br /&gt;
     PUBLIC \&amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN\&amp;quot;\n&lt;br /&gt;
     \&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\&amp;quot;&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Navigation===&lt;br /&gt;
====Navigation Links====&lt;br /&gt;
Configure to state what links will appear in the end of the navigation bar.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_linklist =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;file&amp;#039; =&amp;gt; &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;vars&amp;#039; =&amp;gt; &amp;#039;logout=true&amp;#039;,&lt;br /&gt;
        &amp;#039;label&amp;#039; =&amp;gt; &amp;#039;logout&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Navigation Pages====&lt;br /&gt;
Unless listed in this array, all pages will appear in the main nav.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_hide_pages =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;record_view.php&amp;#039;,&lt;br /&gt;
        &amp;#039;contact.php&amp;#039;,&lt;br /&gt;
        &amp;#039;about.php&amp;#039;,&lt;br /&gt;
        &amp;#039;search.php&amp;#039;,&lt;br /&gt;
        &amp;#039;folder.php&amp;#039;,&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Left Panel Configuration===&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data Entry====&lt;br /&gt;
Configures the left panel in the data entry pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;view&amp;#039;&amp;#039;&amp;#039; - the view the link should point to (regist, detfrm, files or a custom view)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=abk_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regabk&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=materi&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;matsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=files&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;uplfile&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Micro View====&lt;br /&gt;
Configures the left panel in the micro view pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data View====&lt;br /&gt;
This configures the left panel for the data view pages and needs the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output ({$_SERVER[&amp;#039;PHP_SELF&amp;#039;]} is on same page, $ark_dir/export.php is on export page)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output_mode&amp;#039;&amp;#039;&amp;#039; - output format for internal links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output&amp;#039;&amp;#039;&amp;#039; - is output format for external links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=CSVExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expcsv&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=XMLExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expxml&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=tbl&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwtbl&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=chat&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwchat&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- User Home====&lt;br /&gt;
This configures the left-panel for the user home pages and needs the following fields:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$user_home_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;data_view.php?vtok=1&amp;amp;amp;nname=All_Contexts&amp;amp;amp;ftype=key&amp;amp;amp;key=1&amp;amp;amp;ktype=all&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=651</id>
		<title>Settings.php</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Settings.php&amp;diff=651"/>
				<updated>2008-11-14T16:05:55Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Server Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the main settings file for each instance of ARK. The file is divide into sections as set out below&lt;br /&gt;
&lt;br /&gt;
===Server Setup===&lt;br /&gt;
The server setup being used.  Currently ARK is configured for Mapserver 4 Windows (ms4w), Mac, and Linux servers.  Set the server type and include the [[env_settings.php]] file using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$server=&amp;quot;ms4w&amp;quot;;&lt;br /&gt;
// Include settings related to your server environment (this also uses the server specified above)&lt;br /&gt;
include(&amp;#039;env_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Server Specific Information====&lt;br /&gt;
You will need to edit the following depending on your specific server information.  Edit the information under the type of server you are using.  &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;YOU MUST UPDATE THE SERVER SPECIFIC INFORMATION BEFORE YOUR ARK INSTALLATION WILL FUNCTION&amp;#039;&amp;#039;&amp;#039;.  At the very least, please update:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_dir&amp;#039;&amp;#039;&amp;#039; - your ark directory&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$ark_db&amp;#039;&amp;#039;&amp;#039; - your ark database&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_server&amp;#039;&amp;#039;&amp;#039; - the MySQL server&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_user&amp;#039;&amp;#039;&amp;#039; - The MySQL user who will make db calls&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;$sql_pwd&amp;#039;&amp;#039;&amp;#039; - The mysql user password&lt;br /&gt;
&lt;br /&gt;
The rest of the basic settings for each server are included below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
switch($server){&lt;br /&gt;
	&lt;br /&gt;
	case ms4w:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;psw&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;C:/&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
	case mac:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;127.0.0.1&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pws&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	break;&lt;br /&gt;
	case linux:&lt;br /&gt;
		// The folder name of THIS instance of Ark (relative to the document root of the host in which it is hosted)&lt;br /&gt;
		$ark_dir = &amp;#039;/ark/&amp;#039;;&lt;br /&gt;
		// The mysql db name of this instance of ark&lt;br /&gt;
		$ark_db = &amp;#039;ark&amp;#039;;&lt;br /&gt;
		// The mysqlserver&lt;br /&gt;
		$sql_server = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
		// The mysql user who will make all the db calls&lt;br /&gt;
		$sql_user = &amp;#039;usr&amp;#039;;&lt;br /&gt;
		// The mysql user&amp;#039;s password&lt;br /&gt;
		$sql_pwd = &amp;#039;pwd&amp;#039;;&lt;br /&gt;
		// EXPORT&lt;br /&gt;
 		$export_dir = $ark_dir.&amp;#039;data/tmp/&amp;#039;;&lt;br /&gt;
		// FILE specific&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		$registered_files_dir = $doc_root. $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Where the files are stored after they are registered (/ after last folder)&lt;br /&gt;
		// Browser option: default is $ark_dir . &amp;#039;data/files/&lt;br /&gt;
		// If the registered files directory is outside the main server directory then you need to setup an alias in httdp.conf&lt;br /&gt;
		$registered_files_host = $ark_dir . &amp;#039;data/files/&amp;#039;;&lt;br /&gt;
		// Top directory of the file browser - can only search relative to this directory. &lt;br /&gt;
		$default_upload_dir = &amp;#039;\srv&amp;#039;;&lt;br /&gt;
	break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===General===&lt;br /&gt;
This contains general configuration for the ARK.&lt;br /&gt;
&lt;br /&gt;
====Minimiser====&lt;br /&gt;
Is the minimiser enabled?&lt;br /&gt;
To use the minimiser on specific data entry pages you need to go to the mod_settings files (ex. mod_cxt_settings.php) and make sure that &amp;#039;col_type&amp;#039; =&amp;gt; &amp;#039;collaps_col&amp;#039;, instead of single_col in the $conf_dat_materi and $conf_dat_detfrm settings. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Set to TRUE if you want to use the minimising right hand navigation bar&lt;br /&gt;
$minimiser = TRUE;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====ARK Name====&lt;br /&gt;
The name of this instance of ARK&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The Ark name&lt;br /&gt;
$ark_name = &amp;#039;Tutorial&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Live Search===&lt;br /&gt;
The controls for the live search function&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls &lt;br /&gt;
/*&lt;br /&gt;
* live = live search &lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the controls for live search for XMI&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Live search controls for xmi&lt;br /&gt;
/*&lt;br /&gt;
* live = live search - this should only be set to live if you are using the collapsing data entry&lt;br /&gt;
* dd = drop down menu&lt;br /&gt;
* plain = plain text search&lt;br /&gt;
*/&lt;br /&gt;
$xmi_mode = &amp;quot;live&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modules===&lt;br /&gt;
Configure the modules to be used in this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// List the modules that need to be loaded in this ARK project&lt;br /&gt;
$loaded_modules = &lt;br /&gt;
    array(&lt;br /&gt;
	&amp;#039;abk&amp;#039;, // address book&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // contexts&lt;br /&gt;
        &amp;#039;pln&amp;#039;, // plans&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
        &amp;#039;spf&amp;#039;, // Special finds&lt;br /&gt;
        &amp;#039;sph&amp;#039;, // Site photos&lt;br /&gt;
        &lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the modules to load mapping data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Lists the modules to load maps for&lt;br /&gt;
$loaded_map_mods = &lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;cxt&amp;#039;, // context&lt;br /&gt;
	&amp;#039;smp&amp;#039;, // samples&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default item key for this ARK setup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default item key for this instance of Ark - format: mod_cd&lt;br /&gt;
$default_itemkey = &amp;#039;cxt_cd&amp;#039;; // context&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the DSN for this ARK (this should generally NOT need adjusting)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// DSN (this shouldn&amp;#039;t need adjusting)&lt;br /&gt;
$dsn = &amp;#039;mysql://&amp;#039;.$sql_user.&amp;#039;:&amp;#039;.$sql_pwd.&amp;#039;@&amp;#039;.$sql_server.&amp;#039;/&amp;#039;.$ark_db;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Security===&lt;br /&gt;
The security for ARK is handled by LiveUser.  The liveuser configuration is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Liveuser: &lt;br /&gt;
// These are the names of the liveuser objects. They should be unique per ARK &lt;br /&gt;
// (to prevent cross ark hacking). They need to be called in the code as&lt;br /&gt;
// $$liveuser and $$liveuser_admin&lt;br /&gt;
$liveuser = $ark_name . &amp;#039;usr&amp;#039;;&lt;br /&gt;
$liveuser_admin = $ark_name . &amp;#039;usr&amp;#039; . &amp;#039;_admin&amp;#039;;&lt;br /&gt;
// The path to the login script (relative to the document root)&lt;br /&gt;
$loginScript = &amp;#039;index.php&amp;#039;;&lt;br /&gt;
// Anonymous Logins&lt;br /&gt;
// If these variables are set then you are allowing anonymous logins&lt;br /&gt;
// This is a security risk! Its best to leave these statements commented out.&lt;br /&gt;
// Bear in mind that this does not need to be a real user.&lt;br /&gt;
$anonymous_login[&amp;#039;username&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
$anonymous_login[&amp;#039;password&amp;#039;] = &amp;#039;anon&amp;#039;;&lt;br /&gt;
// Method used in forms:&lt;br /&gt;
// get = form messages sent via get method - vissible in browser bar.&lt;br /&gt;
// post = form message sent via post method - invisible to the user.&lt;br /&gt;
$form_method = &amp;#039;get&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Skin===&lt;br /&gt;
Sets the skin name and skin path for this ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Skin name&lt;br /&gt;
$skin = &amp;#039;arkologik&amp;#039;;&lt;br /&gt;
// Skin path&lt;br /&gt;
$skin_path = &amp;quot;$ark_dir/skins/$skin&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Thumbnails===&lt;br /&gt;
Sets thumbnail sizes for ARK (this will be used when uploading files)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Optional&lt;br /&gt;
$thumbnail_sizes =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;arkthumb_width&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;arkthumb_height&amp;#039; =&amp;gt; 100,&lt;br /&gt;
        &amp;#039;webthumb_width&amp;#039; =&amp;gt; 500,&lt;br /&gt;
        &amp;#039;webthumb_height&amp;#039; =&amp;gt; 500&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Forms===&lt;br /&gt;
Set default year and site code for data entry and viewing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Default year as a setting for form data entry&lt;br /&gt;
$default_year = &amp;#039;2008&amp;#039;;&lt;br /&gt;
//Default site code&lt;br /&gt;
$default_site_cd = &amp;#039;PCO06&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Viewers===&lt;br /&gt;
Configure the viewers to display a set number of rows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Number of rows to display on the data viewer&lt;br /&gt;
$conf_viewer_rows = 25;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also configure the index pages for Micro View, Data View, and Search pages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default Micro viewer page (used by search result handlers)&lt;br /&gt;
$conf_micro_viewer = $ark_dir.&amp;quot;micro_view.php&amp;quot;;&lt;br /&gt;
// Default data viewer page&lt;br /&gt;
$conf_data_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
// Default search page - search funtions will send data thru to this page&lt;br /&gt;
$conf_search_viewer = $ark_dir.&amp;quot;data_view.php&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the default for search results display:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Default $output_mode for the data viewer&lt;br /&gt;
$default_output_mode = &amp;#039;tbl&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Mapping===&lt;br /&gt;
Set the basic configuration for mapping functions (map directory, temp directory, etc):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Path to temp directory (server)&lt;br /&gt;
$ark_maptemp_dir = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to temp directory (web)&lt;br /&gt;
$ark_web_maptemp_dir = &amp;#039;mapserver/tmp/&amp;#039;;&lt;br /&gt;
// Path to WMS mapfile (server)&lt;br /&gt;
$ark_wms_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wms.map&amp;#039;;&lt;br /&gt;
// Path to WFS mapfile (server)&lt;br /&gt;
$ark_wfs_map = &amp;#039;C:/ms4w/Apache/htdocs/&amp;#039;.$ark_dir.&amp;#039;mapserver/mapfiles/ark_wfs.map&amp;#039;;&lt;br /&gt;
// Map scales&lt;br /&gt;
$map_scales = &amp;#039;[1000,750,500,250,150,100,50,25,10]&amp;#039;;&lt;br /&gt;
// Tilecache_path - only set this if you have a tilecache setup on your server&lt;br /&gt;
//$tilecache_path = &amp;#039;/cgi-bin/tilecache.cgi?&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure the wms query layers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*$wms_qlayers = array (&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;cxt_schm&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pgn&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
	array(&lt;br /&gt;
		&amp;#039;name&amp;#039; =&amp;gt; &amp;#039;sfi_points&amp;#039;,&lt;br /&gt;
		&amp;#039;geom&amp;#039; =&amp;gt; &amp;#039;pt&amp;#039;&lt;br /&gt;
	),&lt;br /&gt;
);*/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set up the map projection and extents to suit the location of the ARK project:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Map projection (in form: &amp;quot;EPSG:4326&amp;quot;)&lt;br /&gt;
$map_projection = &amp;#039;EPSG:27700&amp;#039;;&lt;br /&gt;
// Map extents (in form: &amp;quot;1075,970,1115,1010&amp;quot;)&lt;br /&gt;
$map_extents = &amp;#039;533866, 180940,533963, 181000&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the layer from WMS to be used in map view&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Maplayers from the WMS layer used in the map view&lt;br /&gt;
$mapview_layers = array (&amp;#039;contexts&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Logging===&lt;br /&gt;
Cofigures logging levels to record logging into database and changes to data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//Logging levels&lt;br /&gt;
$conf_log_add = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_edt = &amp;#039;on&amp;#039;;&lt;br /&gt;
$conf_log_del = &amp;#039;on&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Search Engine===&lt;br /&gt;
Configures words to cut out of multi-string searches to streamline the search process and maximise results.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// words to cut out of multi string searches&lt;br /&gt;
$conf_non_search_words = array(&amp;#039;and&amp;#039;, &amp;#039;di&amp;#039;, &amp;#039;in&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Languages===&lt;br /&gt;
Configures the default language and other languages in use.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// The default lang&lt;br /&gt;
$default_lang = &amp;#039;en&amp;#039;;&lt;br /&gt;
// These are the languages in use (in order)&lt;br /&gt;
$conf_langs = array(&amp;#039;en&amp;#039;, &amp;#039;da&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fields===&lt;br /&gt;
Used to include the [[field_settings.php]] file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
include_once(&amp;#039;field_settings.php&amp;#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Document Type===&lt;br /&gt;
Configures the document type to use for web output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$doctype = &amp;quot;html \n&lt;br /&gt;
     PUBLIC \&amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN\&amp;quot;\n&lt;br /&gt;
     \&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\&amp;quot;&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Navigation===&lt;br /&gt;
====Navigation Links====&lt;br /&gt;
Configure to state what links will appear in the end of the navigation bar.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_linklist =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;file&amp;#039; =&amp;gt; &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;vars&amp;#039; =&amp;gt; &amp;#039;logout=true&amp;#039;,&lt;br /&gt;
        &amp;#039;label&amp;#039; =&amp;gt; &amp;#039;logout&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Navigation Pages====&lt;br /&gt;
Unless listed in this array, all pages will appear in the main nav.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf_hide_pages =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;index.php&amp;#039;,&lt;br /&gt;
        &amp;#039;record_view.php&amp;#039;,&lt;br /&gt;
        &amp;#039;contact.php&amp;#039;,&lt;br /&gt;
        &amp;#039;about.php&amp;#039;,&lt;br /&gt;
        &amp;#039;search.php&amp;#039;,&lt;br /&gt;
        &amp;#039;folder.php&amp;#039;,&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Left Panel Configuration===&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data Entry====&lt;br /&gt;
Configures the left panel in the data entry pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;view&amp;#039;&amp;#039;&amp;#039; - the view the link should point to (regist, detfrm, files or a custom view)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=abk_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regabk&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=detfrm&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;detsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=materi&amp;amp;amp;item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;matsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=regist&amp;amp;amp;item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;regspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$data_entry_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?view=files&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;uplfile&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Micro View====&lt;br /&gt;
Configures the left panel in the micro view pages, requires the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;item_key&amp;#039;&amp;#039;&amp;#039; - itemkey to point to if any (cxt_cd, smp_cd)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=cxt_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=pln_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwpln&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=smp_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsmp&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=spf_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwspf&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
$micro_view_left_panel[] = &lt;br /&gt;
array(&lt;br /&gt;
	&amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?item_key=sph_cd&amp;quot;, &lt;br /&gt;
	&amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwsph&amp;#039;&lt;br /&gt;
	);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- Data View====&lt;br /&gt;
This configures the left panel for the data view pages and needs the following:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output ({$_SERVER[&amp;#039;PHP_SELF&amp;#039;]} is on same page, $ark_dir/export.php is on export page)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output_mode&amp;#039;&amp;#039;&amp;#039; - output format for internal links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;output&amp;#039;&amp;#039;&amp;#039; - is output format for external links&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=CSVExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expcsv&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;$ark_dir/export.php?output=XMLExt&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;expxml&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=tbl&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwtbl&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
$data_view_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;{$_SERVER[&amp;#039;PHP_SELF&amp;#039;]}?output_mode=chat&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwchat&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Left Panel- User Home====&lt;br /&gt;
This configures the left-panel for the user home pages and needs the following fields:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;href&amp;#039;&amp;#039;&amp;#039; - link to the output &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;mknname&amp;#039;&amp;#039;&amp;#039; - mark-up nickname will search the markup table for this nickname and print the markup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$user_home_left_panel[] =&lt;br /&gt;
    array(&lt;br /&gt;
        &amp;#039;href&amp;#039; =&amp;gt; &amp;quot;data_view.php?vtok=1&amp;amp;amp;nname=All_Contexts&amp;amp;amp;ftype=key&amp;amp;amp;key=1&amp;amp;amp;ktype=all&amp;quot;,&lt;br /&gt;
        &amp;#039;mknname&amp;#039; =&amp;gt; &amp;#039;vwcxt&amp;#039;&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=653</id>
		<title>Basic Installation</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Basic_Installation&amp;diff=653"/>
				<updated>2008-11-14T16:01:38Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Preconfigured ARK setups are available from the ARK team. If you are unfamiliar with the setup and adminisration of webservers along with the security risks to your system and data this entails, please consider contacting us to aquire a fully running ARK. For those of you who have already got a server and want to go though the installation proceedure, we have provided the following notes:&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
ARK requires the following open source software packages to be installed on your server:&lt;br /&gt;
&lt;br /&gt;
#Apache 2&lt;br /&gt;
#PHP 5&lt;br /&gt;
#MySQL 5&lt;br /&gt;
#PEAR Liveuser&lt;br /&gt;
&lt;br /&gt;
In order to benefit from the spatial integration offered by ARK, you will also need the following packages:&lt;br /&gt;
&lt;br /&gt;
#PHP Mapscript&lt;br /&gt;
&lt;br /&gt;
====Apache PHP MySQL====&lt;br /&gt;
&lt;br /&gt;
On most Linux distributions these packages will be installed by default. ARK is not particularly fussy about the version numbers of these packages and should run ok on PHP4 and MySQL4, although this may require some minor modifications. It is important to ensure that you have the gd and dbase php extensions enabled.&lt;br /&gt;
&lt;br /&gt;
You will need to make sure that you set the short_open_tag option to On in your [http://uk2.php.net/ini.core php.ini].&lt;br /&gt;
&lt;br /&gt;
For Mac OSX and Windows, these packages are available as binary distributions. ARK is known to run on [http://www.mamp.info/en/index.php MAMP], the binary distribution for Mac and [http://www.wampserver.com/en/ WAMP] or [http://www.maptools.org/ms4w/index.phtml MS4W], the binary distributions for Windows.&lt;br /&gt;
&lt;br /&gt;
The MS4W distribution also contains Mapserver and if this is installed only MySQL needs to be added.&lt;br /&gt;
&lt;br /&gt;
ARK runs on top of these packages and does not provide any set up of them or additional securuty to them. If you are using your server exposed to the internet, it is essential that you follow good standard security practice for the configuration of your packages. This setup is outside of the scope of this documentation and you are advised to undertake your research carefully.&lt;br /&gt;
&lt;br /&gt;
====PEAR LiveUser====&lt;br /&gt;
&lt;br /&gt;
The PEAR Liveuser is used to ensure effective security for the ARK system.  For details on how to install and configure live user, and the associated database tables required, please see the [http://pear.php.net/package/LiveUser/ PEAR] website.&lt;br /&gt;
&lt;br /&gt;
====MS4W====&lt;br /&gt;
MS4W [http://www.maptools.org/ms4w/] is a no fuss installer for setting up MapServer on Microsoft Windows platforms. It includes a Apache HTTP version, PHP, Mapserver and loads of nice tools.&lt;br /&gt;
&lt;br /&gt;
MS4W is super simple to install on a server. Either download [http://www.maptools.org/ms4w/index.phtml?page=downloads.html] the base package which consists of a folder which unpacks to the C-drive of the server or try out the new installer. &lt;br /&gt;
&lt;br /&gt;
If you are using the base package you need to start the Apache server by running C:\ms4w\apache-install.bat. If the installation is succesful you should get the main page by pointing you browser to http://localhost/ or http://127.0.0.1/.&lt;br /&gt;
&lt;br /&gt;
If this does not work it is very likely that your port 80 is already in use. Go to C:\ms4w\Apache\conf\httpd.conf and on line 120 change LISTEN 80 to LISTEN 8080 or another port which is not in use.&lt;br /&gt;
&lt;br /&gt;
====Mapscript====&lt;br /&gt;
&lt;br /&gt;
Mapscript runs on all three major operating systems. The installation instructions vary depending on many factors. Detailed installation instructions are available on the [http://mapserver.gis.umn.edu/ Mapserver] website.&lt;br /&gt;
&lt;br /&gt;
===Installing ARK===&lt;br /&gt;
&lt;br /&gt;
Ark is installed by unpacking the source code into the document root of the webserver where you intend to host it. The second phase of installation is then the initial setup and creation of the empty database.&lt;br /&gt;
&lt;br /&gt;
====Download source====&lt;br /&gt;
&lt;br /&gt;
Download the latest source code from http://ark.lparchaeology.com/downloads and unpack it into the document root of your server. If you are unsure of the correct location of the document root, you could try reading the manual of your apache distribution.&lt;br /&gt;
&lt;br /&gt;
====Install a database====&lt;br /&gt;
&lt;br /&gt;
In order for ark to work, you need to install an ARK database on your MySQL server. Preconfigured sample databases are available for download from the download area of the ARK site. At present you must install the sql dump on the server manually using your tool of choice. We think that [http://www.phpmyadmin.net/home_page/index.php phpMyAdmin] is a good way to do this.&lt;br /&gt;
&lt;br /&gt;
#Download your chosen database dump file&lt;br /&gt;
#Point your browser at the phpMyAdmin installation on your web-server&lt;br /&gt;
#Make an empty database, by going to the Databases screen and filling in the Create new database box. Make the Collation utf8_unicode_ci and that should deal with most character sets.&lt;br /&gt;
#Once the database is created, switch to it and choose Import&lt;br /&gt;
#Using the Browse button, point it at the file that you have downloaded (it should be a tar.gz) - make the character set utf8&lt;br /&gt;
#Click Go and wait a little while, and the database structure should be loaded up fine.&lt;br /&gt;
#You will need to set up a user and give it at least SELECT, INSERT, UPDATE andDELETE privileges to the new db.&lt;br /&gt;
&lt;br /&gt;
===Update the DB Settings===&lt;br /&gt;
&lt;br /&gt;
You will now need to update the DB settings in [[settings.php]].  &lt;br /&gt;
&lt;br /&gt;
===Browse to ARK directory===&lt;br /&gt;
&lt;br /&gt;
In browsing to the ARK directory you should now be able to see the login pages for the database.  If there are any problems, please check your [[settings.php]] and [[env_settings.php]] files to ensure you are using the correct settings.&lt;br /&gt;
&lt;br /&gt;
[[category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	<entry>
		<id>https://ark.lparchaeology.com/wiki/index.php?title=Administrator_Manual&amp;diff=707</id>
		<title>Administrator Manual</title>
		<link rel="alternate" type="text/html" href="https://ark.lparchaeology.com/wiki/index.php?title=Administrator_Manual&amp;diff=707"/>
				<updated>2008-11-14T15:08:11Z</updated>
		
		<summary type="html">&lt;p&gt;Andydufton: /* Mapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
The administrator manual is aimed at people who are downloading and installing ARK. If you are struggling with installation or administration, you should consider contacting the ARK team to buy a preconfigured ARK. This would help support the project and make a contribution towards the ongoing development of the project.&lt;br /&gt;
&lt;br /&gt;
===Key Concepts===&lt;br /&gt;
&lt;br /&gt;
====[[Navigation]]====&lt;br /&gt;
&lt;br /&gt;
Information about the navigation tools used within ARK.&lt;br /&gt;
&lt;br /&gt;
=====[[Navigation#Basic Navigation|Basic Navigation]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Navigation#Subform Navigation|Subform Navigation]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Views]]====&lt;br /&gt;
&lt;br /&gt;
The different &amp;#039;Views&amp;#039; of ARK.&lt;br /&gt;
&lt;br /&gt;
====[[Key Administration Concepts]]====&lt;br /&gt;
&lt;br /&gt;
An overview of the key administration concepts.&lt;br /&gt;
&lt;br /&gt;
=====[[Key Administration Concepts#Settings Files|Settings Files]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Key Administration Concepts#Forms Overview|Forms Overview]]=====&lt;br /&gt;
&lt;br /&gt;
===Installation and Setup===&lt;br /&gt;
&lt;br /&gt;
====[[Basic Installation]]====&lt;br /&gt;
&lt;br /&gt;
A description of the ARK installation process.&lt;br /&gt;
&lt;br /&gt;
=====[[Basic Installation#Dependencies|Dependencies]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Basic Installation#Installing ARK|Installing ARK]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Basic Installation#Browse to ARK directory|Browse to ARK]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Initial setup]]====&lt;br /&gt;
&lt;br /&gt;
Some things to consider when completing the initial setup of your ARK.&lt;br /&gt;
&lt;br /&gt;
=====[[Initial setup#A Name|ARK Name]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Initial setup#What do you want to record?|What to record?]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Initial setup#What subforms do you want?|What Subforms?]]=====&lt;br /&gt;
&lt;br /&gt;
====[[Database Tables]]====&lt;br /&gt;
&lt;br /&gt;
A list of the standard ARK tables, with a basic explanation for each.&lt;br /&gt;
&lt;br /&gt;
===ARK Customisation===&lt;br /&gt;
&lt;br /&gt;
This chapter will help the new ARK administrator who is comfortable with editing PHP configuration files through the setup of an ARK project. For a general overview of settings please see [[Key Administration Concepts#Settings Files|Settings Files]].&lt;br /&gt;
&lt;br /&gt;
====[[env_settings.php]]====&lt;br /&gt;
&lt;br /&gt;
A description of the env_settings.php file for three different operating systems.&lt;br /&gt;
&lt;br /&gt;
=====[[env_settings.php#ms4w|Mapserver for Windows]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[env_settings.php#mac|Mac]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[env_settings.php#linux|Linux]]=====&lt;br /&gt;
&lt;br /&gt;
====[[field_settings.php]]====&lt;br /&gt;
&lt;br /&gt;
Instructions on how to configure the field_settings.php file.&lt;br /&gt;
&lt;br /&gt;
=====[[field_settings.php#Common/Obligatory Attributes|Obligatory Attributes]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[field_settings.php#Class Specific Settings|Class Specific Settings]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[field_settings.php#Event Fields|Event Fields]]=====&lt;br /&gt;
&lt;br /&gt;
====[[mod_settings.php]]====&lt;br /&gt;
&lt;br /&gt;
Instructions on how to configure module specific settings files.&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Display Options|Display Options]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Custom Fields|Custom Fields]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Subforms|Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Spatial Data|Spatial Data]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Data Entry Forms|Data Entry Forms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Micro View|Micro View]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Data View|Data View]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#XMI View|XMI View]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[mod_settings.php#Export|Export]]=====&lt;br /&gt;
&lt;br /&gt;
====[[settings.php]]====&lt;br /&gt;
&lt;br /&gt;
The general settings for ARK.&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Server Setup|Server Setup]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#General|General]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Live Search|Live Search]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Modules|Modules]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Security|Security]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Skin|Skin]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Thumbnails|Thumbnails]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Forms|Forms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Viewers|Viewers]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Mapping|Mapping]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Logging|Logging]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Search Engine|Search Engine]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Languages|Languages]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Fields|Fields]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Document Type|Document Type]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Navigation|Navigation]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[settings.php#Left Panel Configuration|Left Panel Configuration]]=====&lt;br /&gt;
&lt;br /&gt;
====[[vd_settings.php]]====&lt;br /&gt;
&lt;br /&gt;
A description of information found within the vd_settings.php file.&lt;br /&gt;
&lt;br /&gt;
===Subforms===&lt;br /&gt;
&lt;br /&gt;
====[[Subforms Overview]]====&lt;br /&gt;
&lt;br /&gt;
A general overview of ARK Subforms and their configuration.&lt;br /&gt;
&lt;br /&gt;
====[[Subform Requirements]]====&lt;br /&gt;
&lt;br /&gt;
The required fields for configuration of subforms.&lt;br /&gt;
&lt;br /&gt;
====[[Subform Options]]====&lt;br /&gt;
&lt;br /&gt;
Some optional subform fields generic to all modules and subform types.&lt;br /&gt;
&lt;br /&gt;
====[[Subform Reference]]====&lt;br /&gt;
&lt;br /&gt;
A list of all the current subforms with example configurations.&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Text Subforms|Text Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Number Subforms|Number Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Attribute Subforms|Attribute Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Spatial Subforms|Spatial Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Span Subforms|Span Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#File Subforms|File Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#XMI Subforms|XMI Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
=====[[Subform Reference#Complex Subforms|Complex Subforms]]=====&lt;br /&gt;
&lt;br /&gt;
===Mapping===&lt;br /&gt;
&lt;br /&gt;
====[[Mapping Overview]]====&lt;br /&gt;
Some general information about mapping in ARK.&lt;br /&gt;
&lt;br /&gt;
====[[Configuring the Mapfile]]====&lt;br /&gt;
Instructions on how to configure the mapfile.&lt;br /&gt;
&lt;br /&gt;
===Administration===&lt;br /&gt;
&lt;br /&gt;
====[[User Administration]]====&lt;br /&gt;
&lt;br /&gt;
Some tools for administering user accounts.&lt;br /&gt;
&lt;br /&gt;
====[[Address Book Administration]]====&lt;br /&gt;
&lt;br /&gt;
How to update the Address Book module.&lt;br /&gt;
&lt;br /&gt;
====[[Alias Administration]]====&lt;br /&gt;
&lt;br /&gt;
How to add aliases to the database.&lt;br /&gt;
&lt;br /&gt;
====[[Markup Administration]]====&lt;br /&gt;
&lt;br /&gt;
How to add markup to the database.&lt;br /&gt;
&lt;br /&gt;
====[[Exporting Data]]====&lt;br /&gt;
&lt;br /&gt;
Some basic tips for exporting data.&lt;br /&gt;
&lt;br /&gt;
====[[Importing Data]]====&lt;br /&gt;
&lt;br /&gt;
Information about the ongoing development of import tools.&lt;br /&gt;
&lt;br /&gt;
===Custom Configuration===&lt;br /&gt;
&lt;br /&gt;
The following are examples of custom configurations and may be specific to previous installations of ARK.  Only use these for reference if you are upgrading from development code prior to the v0.6 release.  Please contact the [http://ark.lparchaeology.com/contact ARK Development Team] for more information on any of the following. &lt;br /&gt;
&lt;br /&gt;
====[[Transcluding]]====&lt;br /&gt;
&lt;br /&gt;
====[[Configuring file registration]]====&lt;br /&gt;
&lt;br /&gt;
====[[Configuring the Mapping]]====&lt;br /&gt;
&lt;br /&gt;
[[category: Administrator]]&lt;/div&gt;</summary>
		<author><name>Andydufton</name></author>	</entry>

	</feed>