Location: PHPKode > scripts > Particle Gallery > docs/upgrade.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Particle Gallery Upgrading Guide</title>
<link rel="stylesheet" type="text/css" href="../shared/backend.css" />
</head>
<body>
<a name="top"></a>
<table width="75%" cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF" align="center" style="border: #666666 1px solid;"><tr><td>
<table width="100%" cellpadding="5" cellspacing="0" border="5">
<tr>
	<td>
		<p class="sub1">Upgrading<p>
		<p>A guide to upgrading from a previous version. Read <strong>all that apply</strong>, eg, if you are upgrading from RC1, read the notes on RC2, RC3, etc all the way up to the latest version so you don't miss anything. You do not however have to run all the upgrade scripts, this is done automatically when you run the first one. Just check the other sections for template updates, config changes, etc.</p>
		
		<ul>
			<li><a href="#0.1.1">From version 0.1.1</a></li>
			<li><a href="#1.0.0">From version 1.0.0</a></li>
			<li><a href="#1.0.0">From version 1.0.1</a></li>
		</ul>
		
		<p><strong id="0.1.1">From version 0.1.1</strong><br />
		Backup your files and data then grab the changed files and upload them. Run install/upgrade/from_0.1.1.php which will make the required database changes then delete the installation directory.</p>
		
		<p>There are template changes to moderate_albums_album and viewimage so if you have customised these templates you need to revert them or make the changes listed below.</p>
		
		<p>In moderate_albums_album, find:</p>
		
		<p><div class="code">&lt;input type="submit" name="action" value="Delete Selected" /&gt;</div></p>
		
		<p>Replace with:</p>
		
		<p><div class="code">&lt;input type="submit" name="action" value="Delete Selected" onClick="return confirm('Are you sure you want to delete these images?');" /&gt;</div></p>
		
		<p>In viewimage, find:</p>
		
		<p><div class="code">Uploader: {IMAGE_UPLOADER}&lt;br /&gt;</div></p>
		
		<p>Replace with:</p>
		
		<p><div class="code">Uploader: &lt;a href="{IMAGE_UPLOADER_LINK}"&gt;{IMAGE_UPLOADER}&lt;/a&gt;&lt;br /&gt;</div></p>
		<p><a href="#top">Back to Top</a></p>
		
		<p><strong id="1.0.0">From version 1.0.0</strong><br />
		Backup your files and datathen grab the changed files and upload them. Run install/upgrade/from_1.0.0.php and then delete the installation directory.</p>
		<p><a href="#top">Back to Top</a></p>
		
		<p><strong id="1.0.0">From version 1.0.1</strong><br />
		Backup your files and datathen grab the changed files and upload them. Run install/upgrade/from_1.0.1.php and then delete the installation directory.</p>
		<p><a href="#top">Back to Top</a></p>
	</td>
</tr>
</table>
</td></tr></table>
<center>&nbsp;<br />&copy; <a href="http://www.particlesoft.net/">Particle Soft</a></center>
</body>
</html>
Return current item: Particle Gallery