Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1114

Show only part of Weblog entry on the overview page

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.11.0-M4
    • 2.11.0-M5, 2.11.0-M8
    • None
    • None

    Description

      Attached is an enhanced version of the WeblogPlugin.java. It adds a "preview" parameter that takes an integer value after how many characters the entry should be cut off on the overview page. It then adds a "More" link to the full entry. If the parameter is missing, no truncation is done, as it is now.

      Also needed is this in PluginResources.properties:

       

      weblogentryplugin.more = (more)

      and this in PluginResources_de.properties

       

       

      weblogentryplugin.postedby = Von {0}  
      weblogentryplugin.addcomment = <span class="icon-plus"></span> Kommentieren ({0})
      weblogentryplugin.more = (mehr)
      

      This addresses one of the questions asked on https://jspwiki-wiki.apache.org/Wiki.jsp?page=WeblogPlugin

      Attachments

        1. WeblogPlugin.java
          18 kB
          Ulf Dittmer

        Activity

          People

            Unassigned Unassigned
            udittmer Ulf Dittmer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: