Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 244] New - Customized templates - changelog missing

cowiki
Discussion topic

Hide all messages in topic

All messages in topic

[Issue 244] New - Customized templates - changelog missing

Author ytjohn
Full name John Hogenmiller
Date 2005-09-21 20:45:25 PDT
Message http://cowiki.tigris​.org/issues/show_bug​.cgi?id=244
                 Issue #|244
                 Summary|Customized templates - changelog missing
               Component|cowiki
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|Template
             Assigned to|paulha
             Reported by|ytjohn






------- Additional comments from ytjohn at tigris dot org Wed Sep 21 20:45:25 -0700 2005 -------
For versions of coWiki beyond 0.3.4, a new field has been added to the document
editing page (plugin.front.doc.edit.tpl). If you have a customized template,
you may get the error message "change log is missing" whenever you go to edit a
page.

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

 tpl/default/plugin.f​ront.doc.edit.tpl

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

 {ifdefined %TPL_EDITING_EXISTIN​G_DOCUMENT%}
   {* Separator *}
   {include inc.window.tr.separa​tor.tuborg.tpl}

   <tr>
     <td style="padding: 0px 5px 0px 5px;">
       <table cellpadding="2" cellspacing="0" border="0">
         <tr>
           <td nowrap>{%I18N_DOC​_CHANGE_LOG%}:</t​d>
           <td width="100%">{%TP​L_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.
Messages per page: