Sections
Home
Introduction
Features
Download
Installation
Security
Upgrade Notes
Support
Mailing List
Squishdot Versioning
Changes
Credits
License
|
Upgrading to Squishdot 1.0.0
For details of using Updaters, see the README.TXT file in the Updaters folder of the Squishdot 1.0.0 distribution.
Upgrading to Squishdot 0.7.x
There's a small change you need to make in the following DTML methods of each pre-0.7.0 Squishdot Site object:
posting_html
previewPosting
addPostingForm
Whenever the expression <dtml-var expr="thread[0]" > occurs, you need to replace it with <dtml-var expr="getThread(0)" >
If you start getting KeyErrors on thread_path, it might be worth clicking on Re-Catalog All Postings on the Options manage tab.
Upgrading to Squishdot 0.6.0
Assuming you are upgrading from 0.5.0, there's nothing you need to do to old Squishdot Sites!
Upgrading to Squishdot 0.5.0
Assuming you are upgrading from 0.4.1, you don't need to do anything...
However, if you want to use the new Plain Text and Structured Text stuff,
you'll need to change any exisiting Squishdot Sites you have as follows:
Replace all occurence of <dtml-if body><dtml-in body><dtml-var sequence-item></dtml-in body></dtml-if body>
(or similar such things)
with
<dtml-var showBody>
Replace all occurence of <dtml-if summary><dtml-in summary><dtml-var sequence-item></dtml-in summary></dtml-if summary>
(or similar such things)
with
<dtml-var showSummary>
Add the following in the appropriate places on your addPostingForm method:
<SELECT NAME="encoding">
<dtml-in "[['HTML','HTML'],['STX','Structured Text'],['Plain','Plain Text']]" >
<OPTION VALUE="sequence-item,0)[0]" html_quote>" <dtml-if "encoding==_.getitem(sequence-item ,0)[0]">SELECTED</dtml-if>>
<dtml-var "_.getitem(sequence-item ,0)[1]" html_quote>
</OPTION>
</dtml-in>
</SELECT>
<SELECT NAME="encoding">
<dtml-in "[['HTML','HTML'],['STX','Structured Text'],['Plain','Plain Text']]" >
<OPTION VALUE="<dtml-var "_.getitem(sequence-item ,0)[0]" html_quote>" <dtml-if "REQUEST.get(encoding ,'HTML')==_.getitem(sequence-item ,0)[0]">SELECTED</dtml-if>>
<dtml-var "_.getitem(sequence-item ,0)[1]" html_quote>
</OPTION>
</dtml-in>
</SELECT>
Finally, add the following to the form in the showError method:
<INPUT TYPE="HIDDEN" NAME="encoding" VALUE="<dtml-var "REQUEST['encoding']" html_quote missing>">
Upgrading to Squishdot 0.4.1
Assuming you are upgrading from 0.4.0, please do the following for each of your Squishdot objects:
change the two calls to showError in the previewPosting dtml method so they start start "showError(_ .None,_,title" instead of "showError(REQUEST=REQUEST,title".
you may also wish to create a new Plain demo site and copy mail_html and addPostingForm to replace those in any Squishdot objects created by a pre-0.4.1 version of Squishdot.
Upgrading to Squishdot 0.4.0
If you are upgrading from a previous version of Squishdot to 0.4.0, please do the following for each of your Squishdot objects:
Rename the searchResults dtml method to showSearchResults .
In the Postings management tab, click on
Update Indexing .
As an alternative to the above two steps, use the 0-3-x_0-4-x.py updater
Replace the contents of the mail_html dtml method with the contents of either of the following:
|