Re: [cowiki-dev] My Migration

Paul Hanchett <[email protected]> Tue, 20 Sep 2005 17:51:47 -0700
Newsgroups gmane.comp.php.cowiki.devel
Message-ID <[email protected]>
--------------030803080205090201030309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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]
>
>
>  
>


--------------030803080205090201030309
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
So, when did "Change log" get added to coWiki, and why?&nbsp; 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.&nbsp; So it's probably part of the "interim release".<br>
<br>
Paul<br>
<br>
<br>
Daniel T. Gorski wrote:
<blockquote cite="mid20050920225749.GC12122@bantha" type="cite">
  <pre wrap="">On 20 Sep 23:42, Vish Vishvanath wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">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?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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}
  
    &lt;tr&gt;
      &lt;td style="padding: 0px 5px 0px 5px;"&gt;
        &lt;table cellpadding="2" cellspacing="0" border="0"&gt;
          &lt;tr&gt;
            &lt;td nowrap&gt;{%I18N_DOC_CHANGE_LOG%}:&lt;/td&gt;
            &lt;td width="100%"&gt;{%TPL_ITEM_CHANGELOG%}&lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
  {/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="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>


  </pre>
</blockquote>
<br>
</body>
</html>

--------------030803080205090201030309--