Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-23567

Flexible way to customize cut method for site title in tabs.



    • Type: Feature Request
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: 10.0
    • Component/s: Portal
    • Labels:
    • Property addition/change required:


      The property site.title.maxlength allow long site titles fix the UI by cutting the end of the title in tabs.

      We've got many long site titles and very similar, for example, "This is the subject part I", "This is the subject part II". In these cases both cutted titles appears to be the same "This is the subj...".

      We want a more flexible way to do it. With 2 new properties:

      site.title.cut.method = customize the cut method. Default 100:0.
      site.title.cut.separator = separator string. Default ...

      The value has the format X:Y, wich means X percent of maxlength at the beginning and Y percent of maxlength at the end. Now if you choose 50:50 and [...], the above example, will get something like "This is[...]part I" and "This is[...]part II".

      1. Max length for site title display
      2. Default 25 characters
      1. Cut method for site title display
      2. Default 100:0 display the first site.title.maxlength characters and the separator string at the end
      3. Other values:
      4. 0:100 display the last site.title.maxlength characters and the separator string at the beginning
      5. 50:50 display first site.title.maxlength*50% characters the separator string and the last site.title.maxlength*50%
      1. Separator string used to separate characters in cut method
      2. Default ...
        #site.title.cut.separator= ...

        Gliffy Diagrams


          1. 50.50.jpg
            134 kB
          2. ###0.100.jpg
            136 kB
          3. 50.50 ....jpg
            50.50 ....jpg
            132 kB
          4. Default.jpg
            133 kB
          5. SAK-23567.patch
            6 kB
          6. SAK-23567.moresites.patch
            2 kB
          7. MoreSites View.jpg
            MoreSites View.jpg
            114 kB
          8. PDA View.jpg
            PDA View.jpg
            98 kB
          9. SAK-23567.pda.patch
            2 kB
          10. portal_SAK-23567.patch.txt
            8 kB

            Issue Links



                • Assignee:
                  aaronz Aaron Zeckoski (Inactive)
                  jjmerono@um.es Juan José Meroño Sánchez
                • Votes:
                  3 Vote for this issue
                  10 Start watching this issue


                  • Created:

                    Git Source Code