Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Russell McGinnis 48 posts 183 karma points
    Aug 25, 2014 @ 22:38
    Russell McGinnis
    0

    How to change columns in the Archive Listview...

    I would like to show the "PublishedDate" column instead of the "CreatedDate" column in the Listview of archived Articulate Posts... any ideas ?

    I can see the value coming back in the JSON item properties, however I have no clue where the view code is - I have tried changing /Umbraco/Views/PropertyEditors/listview/listview.html but to no avail!!

    Tearing whats left of my hair out.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Aug 26, 2014 @ 12:08
    Jeroen Breuer
    0

    Hello,

    Currently the listview is not configurable yet. See this issue: http://issues.umbraco.org/issue/U4-4972

    Jeroen

  • René Andersen 238 posts 684 karma points
    Feb 11, 2015 @ 10:52
    René Andersen
    0

    Hi,

    Now that it is possible to add and remove what is shown in the list view. Is it then possible to show text instead of id's on dropdowns, radio buttons and checkboxes?

    My listview looks like this:

    Name     Created by     Category
    Page 1    René             14

    What I want is:

    Name     Created by     Category
    Page 1    René             graphics

    // René

  • Orest Mykhaylovych 1 post 21 karma points
    Feb 14, 2015 @ 13:59
    Orest Mykhaylovych
    0

    Hi Rene,

    It is not the best solution but solved the same problem for me:

    I have changed following lines in the template file \umbraco\Views\propertyeditors\listview\listview.html

    <td ng-repeat="column in options.includeProperties">
      <span ng-show="column.alias != 'category'">{{result[column.alias]}}</span>
      <span ng-show="column.alias == 'category' && result[column.alias] == 6">Sport</span>
      <span ng-show="column.alias == 'category' && result[column.alias] == 7">Politic</span>
      <span ng-show="column.alias == 'category' && result[column.alias] == 8">Family</span>
      <span ng-show="column.alias == 'category' && result[column.alias] == 9">Culture</span>
    </td>
    

    Instead of initial version:

    <td ng-repeat="column in options.includeProperties">
      <span>{{result[column.alias]}}</span>
    </td>
    

    Best regards,

    Orest

Please Sign in or register to post replies

Write your reply to:

Draft