Re: [cowiki-dev] My Migration

Vish Vishvanath <[email protected]> Wed, 21 Sep 2005 02:14:39 +0100
Newsgroups gmane.comp.php.cowiki.devel
Message-ID <[email protected]>
--Apple-Mail-1-781708270
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed
Content-Disposition: inline

Yes, I've fixed it all now. But the change log should be optional -  
quite frankly, if I really want to see the change, I use the DIFF...

Particularly when all my changes are simply encoding corrections for  
characters that got borked in the db transfer... :(

On 21 Sep 2005, at 01:51, Paul Hanchett wrote:

> So, when did "Change log" get added to coWiki, and why?  I  
> understand why a programmer familiar with CVS might want it, but in  
> my opinion *having* to make a change log entry is a pain.
>
> I also don't think this was part of 0.3.4 (Boron) but it is in  
> Fullerene for sure.  So it's probably part of the "interim release".
>
> Paul
>
>
> Daniel T. Gorski wrote:
>> On 20 Sep 23:42, Vish Vishvanath wrote:
>>
>>
>>> I'm migrating my old 3.3 - 4.0 - 3.4 cowiki on boredskaters.com to
>>> the newest version, but am having a few problems.
>>>
>>> It looks as though I'm missing some tables or some columns - I
>>> thought the installer took care of these issues - The DB is now all
>>> INNODB which is nice, but whenever I try to edit a page, it tells me
>>> the changelog is missing.
>>>
>>> Anyone suggest how to update the database or the install?
>>>
>> Then enter the changelog :) (which is the revision remark).
>>
>> Now, well, seriously, your changed template theme do not have the  
>> Change-log
>> field, hence the "change log" is not posted and this error occurs.
>>
>> Solution: go to the default template directory and take a look at  
>> this file:
>>
>>   tpl/default/plugin.front.doc.edit.tpl
>>
>> in about line 100 you'll see a markup block like this:
>>
>>   {ifdefined %TPL_EDITING_EXISTING_DOCUMENT%}
>>     {* Separator *}
>>     {include inc.window.tr.separator.tuborg.tpl}
>>
>>     <tr>
>>       <td style="padding: 0px 5px 0px 5px;">
>>         <table cellpadding="2" cellspacing="0" border="0">
>>           <tr>
>>             <td nowrap>{%I18N_DOC_CHANGE_LOG%}:</td>
>>             <td width="100%">{%TPL_ITEM_CHANGELOG%}</td>
>>           </tr>
>>         </table>
>>       </td>
>>     </tr>
>>   {/ifdefined}
>>
>> Copy that block to your template directory to your  
>> plugin.front.doc.edit.tpl
>> file at the right place.
>>
>> HTH dtg
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>


--Apple-Mail-1-781708270
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1
Content-Disposition: inline

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; -khtml=
-line-break: after-white-space; ">Yes, I've fixed it all now. But the chang=
e log should be optional - quite frankly, if I really want to see the chang=
e, I use the DIFF...<DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><=
DIV>Particularly when all my changes are simply encoding corrections for ch=
aracters that got borked in the db transfer... :(</DIV><DIV><BR><DIV><DIV>O=
n 21 Sep 2005, at 01:51, Paul Hanchett wrote:</DIV><BR class=3D"Apple-inter=
change-newline"><BLOCKQUOTE type=3D"cite">  So, when did "Change log" get a=
dded to coWiki, and why?=A0 I understand why a programmer familiar with CVS=
 might want it, but in my opinion *having* to make a change log entry is a =
pain.<BR> <BR> I also don't think this was part of 0.3.4 (Boron) but it is =
in Fullerene for sure.=A0 So it's probably part of the "interim release".<B=
R> <BR> Paul<BR> <BR> <BR> Daniel T. Gorski wrote: <BLOCKQUOTE cite=3D"mid2=
0050920225749.GC12122@bantha" type=3D"cite">  <PRE wrap=3D"">On 20 Sep 23:4=
2, Vish Vishvanath wrote:

  </PRE>  <BLOCKQUOTE type=3D"cite">    <PRE wrap=3D"">I'm migrating my old=
 3.3 - 4.0 - 3.4 cowiki on boredskaters.com to=20=20
the newest version, but am having a few problems.

It looks as though I'm missing some tables or some columns - I=20=20
thought the installer took care of these issues - The DB is now all=20=20
INNODB which is nice, but whenever I try to edit a page, it tells me=20=20
the changelog is missing.

Anyone suggest how to update the database or the install?
    </PRE>  </BLOCKQUOTE>  <PRE wrap=3D"">Then enter the changelog :) (whic=
h is the revision remark).

Now, well, seriously, your changed template theme do not have the Change-log
field, hence the "change log" is not posted and this error occurs.

Solution: go to the default template directory and take a look at this file:

  tpl/default/plugin.front.doc.edit.tpl=20

in about line 100 you'll see a markup block like this:

  {ifdefined %TPL_EDITING_EXISTING_DOCUMENT%}
    {* Separator *}
    {include inc.window.tr.separator.tuborg.tpl}
=20=20
    <tr>
      <td style=3D"padding: 0px 5px 0px 5px;">
        <table cellpadding=3D"2" cellspacing=3D"0" border=3D"0">
          <tr>
            <td nowrap>{%I18N_DOC_CHANGE_LOG%}:</td>
            <td width=3D"100%">{%TPL_ITEM_CHANGELOG%}</td>
          </tr>
        </table>
      </td>
    </tr>
  {/ifdefined}

Copy that block to your template directory to your plugin.front.doc.edit.tpl
file at the right place.

HTH dtg



---------------------------------------------------------------------
To unsubscribe, e-mail: <A class=3D"moz-txt-link-abbreviated" href=3D"mailt=
o:[email protected]">[email protected]</A>
For additional commands, e-mail: <A class=3D"moz-txt-link-abbreviated" href=
=3D"mailto:[email protected]">[email protected]</A>


  </PRE> </BLOCKQUOTE> <BR>  </BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HT=
ML>=

--Apple-Mail-1-781708270--