https://ark.lparchaeology.com/wiki/index.php?title=Configuration_Settings_for_Developers&feed=atom&action=historyConfiguration Settings for Developers - Revision history2024-03-29T00:56:27ZRevision history for this page on the wikiMediaWiki 1.27.1https://ark.lparchaeology.com/wiki/index.php?title=Configuration_Settings_for_Developers&diff=2167&oldid=prevGuy at 17:17, 26 February 20092009-02-26T17:17:58Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 17:17, 26 February 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l30" >Line 30:</td>
<td colspan="2" class="diff-lineno">Line 30:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The purpose of module specific settings is to allow very different things to be set up therefore there should be very few common values between these settings files. These notes should include a brief explanation of all settings added to the file.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The purpose of module specific settings is to allow very different things to be set up therefore there should be very few common values between these settings files. These notes should include a brief explanation of all settings added to the file.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category: Developer]]</ins></div></td></tr>
</table>Guyhttps://ark.lparchaeology.com/wiki/index.php?title=Configuration_Settings_for_Developers&diff=690&oldid=prevGuy at 17:10, 26 February 20092009-02-26T17:10:32Z<p></p>
<p><b>New page</b></p><div>These notes aim to give an overview of how settigns are made in ark for the benefit of the developer, they are not intended as detailed user configuration notes (although they will have to do for now).<br />
<br />
There are 3 types of settings for ark which follow the standard ark model of ark | page | module.<br />
<br />
*[[Global Settings]] /config/settings.php<br />
*[[Page Settings]] /php/inc_page_settings.php<br />
*Module Settings /php/mod_''foo''/mod_''foo''_settings.php<br />
<br />
The following text is a description of each settings type and what its approximate use is. Detailed setting by setting notes can be found on the linked pages.<br />
<br />
==Global Settings==<br />
<br />
/config/settings.php<br />
<br />
These are global settings for the entire instance of ark<br />
<br />
[[Global Settings]]<br />
<br />
==Page Settings==<br />
<br />
/php/inc_page_settings.php<br />
<br />
The setting fields for each page are going to be the same for each page although the values will be different, therefore it makes sense to hold these settings in a table of the database which is more easily edited than a text file.<br />
<br />
This script therefore is a universal script that pulls the settings data for the current page from the db. DO NOT put any manual settings in here which are specific to a particular page, these must go into the database.<br />
<br />
[[Page Settings]]<br />
<br />
==Module Specific Settings==<br />
<br />
The purpose of module specific settings is to allow very different things to be set up therefore there should be very few common values between these settings files. These notes should include a brief explanation of all settings added to the file.</div>Guy