Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change 
notification.

The following page has been changed by BobHarner:
http://wiki.apache.org/lenya/HowToDefaultPublicationUsefulChanges

The comment on the change is:
Minor wording additions

------------------------------------------------------------------------------
  
  === Unlock Interface 1: Button on Error Page ===
  
+ This will add an "Unlock Document" button on the error page users get when 
they try to edit a document that is locked by someone else.  This approach 
includes a warning message that appears on the error page as well as a 
javascript confirmation pop-up that repeats the warning.
+ 
- In webapp/lenya/resources/i18n/cmsui.xml, add these lines:
+ First, in webapp/lenya/resources/i18n/cmsui.xml, add these lines:
  
  {{{
  <message key="lenya.rc.checkedoutalready.overridewarning">
@@ -315, +317 @@

  
  Add a similar line in any other desired languages to cmsui_LL.xml, where LL 
is the language code.
  
- Modify lenya/lenya/xslt/rc/rco-exception.xsl as follows:
+ Next, modify lenya/lenya/xslt/rc/rco-exception.xsl as follows:
  
  a. After this line:
  
@@ -371, +373 @@

  
  === Unlock Interface 2: Menu Item on Site Tab ===
  
+ This adds a menu item on the drop-down menu available within the "Site" tab.  
This it more difficult for users to unlock documents, because they have to go 
over to the Site tab and find the menu item.
+ 
- This is done by inserting a new block into the file 
{{{lenya/pubs/<your-pub>/config/menus/generic.xsp}}}:
+ First, insert a new block into the file 
{{{lenya/pubs/<your-pub>/config/menus/generic.xsp}}}:
  
  {{{
        <block authoring="false">
@@ -396, +400 @@

  }}}
  
  
- This solution is based on the fact that the RevisionControler bypasses all 
checks if the user is "System". It might be better to introduce a parameter in 
the ReservedCheckinAction class that would enable setting the identity or to 
set an override flag.
+ This solution is based on the fact that the !RevisionControler bypasses all 
checks if the user is "System". It might be better to introduce a parameter in 
the !ReservedCheckinAction class that would enable setting the identity or to 
set an override flag.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to